Package org.junit.internal.runners
Class MethodValidator
- java.lang.Object
-
- org.junit.internal.runners.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 useBlockJUnit4ClassRunner
in 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 void
assertValid()
Deprecated.void
validateInstanceMethods()
Deprecated.java.util.List<java.lang.Throwable>
validateMethodsForDefaultRunner()
Deprecated.void
validateNoArgConstructor()
Deprecated.void
validateStaticMethods()
Deprecated.private void
validateTestMethods(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 InitializationError
Deprecated.- Throws:
InitializationError
-
validateNoArgConstructor
public void validateNoArgConstructor()
Deprecated.
-
validateTestMethods
private void validateTestMethods(java.lang.Class<? extends java.lang.annotation.Annotation> annotation, boolean isStatic)
Deprecated.
-
-