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 Object
Deprecated.void
Deprecated.Remove tests that don't pass the parameterfilter
.Deprecated.protected String
getName()
Deprecated.protected TestClass
Deprecated.Deprecated.protected void
invokeTestMethod
(Method method, RunNotifier notifier) Deprecated.protected Description
methodDescription
(Method method) Deprecated.void
run
(RunNotifier notifier) Deprecated.Run the tests for this runner.protected void
runMethods
(RunNotifier notifier) Deprecated.void
Deprecated.Sorts the tests usingsorter
private void
testAborted
(RunNotifier notifier, Description description, Throwable e) Deprecated.protected Annotation[]
testAnnotations
(Method method) Deprecated.protected String
Deprecated.protected void
validate()
Deprecated.protected TestMethod
wrapMethod
(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:Runner
Run the tests for this runner. -
runMethods
Deprecated. -
getDescription
Deprecated.- Specified by:
getDescription
in interfaceDescribable
- Specified by:
getDescription
in classRunner
- Returns:
- a
Description
showing 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:Filterable
Remove tests that don't pass the parameterfilter
.- Specified by:
filter
in interfaceFilterable
- Parameters:
filter
- theFilter
to apply- Throws:
NoTestsRemainException
- if all tests are filtered out
-
sort
Deprecated.Description copied from interface:Sortable
Sorts the tests usingsorter
-
getTestClass
Deprecated.
-
BlockJUnit4ClassRunner
in place ofJUnit4ClassRunner
.