Class MethodValidator


  • @Deprecated
    public class MethodValidator
    extends java.lang.Object
    Deprecated.
    Included for backwards compatibility with JUnit 4.4. Will be removed in the next major release. Please use BlockJUnit4ClassRunner in place of JUnit4ClassRunner.
    • Field Detail

      • errors

        private final java.util.List<java.lang.Throwable> errors
        Deprecated.
      • testClass

        private TestClass testClass
        Deprecated.
    • Constructor Detail

      • MethodValidator

        public MethodValidator​(TestClass testClass)
        Deprecated.
    • Method Detail

      • validateInstanceMethods

        public void validateInstanceMethods()
        Deprecated.
      • validateStaticMethods

        public void validateStaticMethods()
        Deprecated.
      • validateMethodsForDefaultRunner

        public java.util.List<java.lang.Throwable> validateMethodsForDefaultRunner()
        Deprecated.
      • validateNoArgConstructor

        public void validateNoArgConstructor()
        Deprecated.
      • validateTestMethods

        private void validateTestMethods​(java.lang.Class<? extends java.lang.annotation.Annotation> annotation,
                                         boolean isStatic)
        Deprecated.