Package org.junit.internal.runners
Class JUnit4ClassRunner
java.lang.Object
org.junit.runner.Runner
org.junit.internal.runners.JUnit4ClassRunner
- All Implemented Interfaces:
Describable,Filterable,Sortable
Deprecated.
-
Field Summary
Fields -
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 usingsorterprivate voidtestAborted(RunNotifier notifier, Description description, Throwable e) Deprecated.protected Annotation[]testAnnotations(Method method) Deprecated.protected StringDeprecated.protected voidvalidate()Deprecated.protected TestMethodwrapMethod(Method method) Deprecated.
-
Field Details
-
testMethods
Deprecated. -
testClass
Deprecated.
-
-
Constructor Details
-
JUnit4ClassRunner
Deprecated.- Throws:
InitializationError
-
-
Method Details
-
getTestMethods
Deprecated. -
validate
Deprecated.- Throws:
InitializationError
-
run
Deprecated.Description copied from class:RunnerRun the tests for this runner. -
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
Deprecated.- Throws:
Exception
-
invokeTestMethod
Deprecated. -
testAborted
Deprecated. -
wrapMethod
Deprecated. -
testName
Deprecated. -
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
Deprecated.Description copied from interface:SortableSorts the tests usingsorter -
getTestClass
Deprecated.
-
BlockJUnit4ClassRunnerin place ofJUnit4ClassRunner.