Class JUnit4ClassRunner
java.lang.Object
org.junit.runner.Runner
org.junit.internal.runners.JUnit4ClassRunner
- All Implemented Interfaces:
Describable, Filterable, Sortable
Deprecated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Annotation[]Deprecated.protected ObjectDeprecated.voidDeprecated.Remove tests that don't pass the parameterfilter.Deprecated.protected StringgetName()Deprecated.protected TestClassDeprecated.Deprecated.protected voidinvokeTestMethod(Method method, RunNotifier notifier) Deprecated.protected DescriptionmethodDescription(Method method) Deprecated.voidrun(RunNotifier notifier) Deprecated.Run the tests for this runner.protected voidrunMethods(RunNotifier notifier) Deprecated.voidDeprecated.Sorts the tests usingsorterprotected Annotation[]testAnnotations(Method method) Deprecated.protected StringDeprecated.protected voidvalidate()Deprecated.protected TestMethodwrapMethod(Method method) Deprecated.
-
Constructor Details
-
JUnit4ClassRunner
Deprecated.- Throws:
InitializationError
-
-
Method Details
-
getTestMethods
-
validate
-
run
-
runMethods
Deprecated. -
getDescription
Deprecated.- Specified by:
getDescriptionin interfaceDescribable- Specified by:
getDescriptionin classRunner- Returns:
- a
Descriptionshowing the tests to be run by the receiver
-
classAnnotations
Deprecated. -
getName
Deprecated. -
createTest
-
invokeTestMethod
Deprecated. -
wrapMethod
Deprecated. -
testName
-
methodDescription
Deprecated. -
testAnnotations
Deprecated. -
filter
Deprecated.Description copied from interface:FilterableRemove tests that don't pass the parameterfilter.- Specified by:
filterin interfaceFilterable- Parameters:
filter- theFilterto apply- Throws:
NoTestsRemainException- if all tests are filtered out
-
sort
-
getTestClass
Deprecated.
-
BlockJUnit4ClassRunnerin place ofJUnit4ClassRunner.