Package org.junit.internal.runners
Class MethodValidator
- java.lang.Object
-
- org.junit.internal.runners.MethodValidator
-
@Deprecated public class MethodValidator extends java.lang.ObjectDeprecated.Included for backwards compatibility with JUnit 4.4. Will be removed in the next major release. Please useBlockJUnit4ClassRunnerin place ofJUnit4ClassRunner.
-
-
Constructor Summary
Constructors Constructor Description MethodValidator(TestClass testClass)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidassertValid()Deprecated.voidvalidateInstanceMethods()Deprecated.java.util.List<java.lang.Throwable>validateMethodsForDefaultRunner()Deprecated.voidvalidateNoArgConstructor()Deprecated.voidvalidateStaticMethods()Deprecated.private voidvalidateTestMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotation, boolean isStatic)Deprecated.
-
-
-
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.
-
assertValid
public void assertValid() throws InitializationErrorDeprecated.- Throws:
InitializationError
-
validateNoArgConstructor
public void validateNoArgConstructor()
Deprecated.
-
validateTestMethods
private void validateTestMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotation, boolean isStatic)Deprecated.
-
-