Package org.junit.internal.runners
Class JUnit38ClassRunner
java.lang.Object
org.junit.runner.Runner
org.junit.internal.runners.JUnit38ClassRunner
- All Implemented Interfaces:
Describable
,Filterable
,Orderable
,Sortable
- Direct Known Subclasses:
SuiteMethod
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAdaptingListener
(RunNotifier notifier) void
Remove tests that don't pass the parameterfilter
.void
Orders the tests usingorderer
void
run
(RunNotifier notifier) Run the tests for this runner.void
Sorts the tests usingsorter
-
Constructor Details
-
JUnit38ClassRunner
-
JUnit38ClassRunner
-
-
Method Details
-
run
Description copied from class:Runner
Run the tests for this runner. -
createAdaptingListener
-
getDescription
- Specified by:
getDescription
in interfaceDescribable
- Specified by:
getDescription
in classRunner
- Returns:
- a
Description
showing the tests to be run by the receiver
-
filter
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
Description copied from interface:Sortable
Sorts the tests usingsorter
-
order
Orders the tests usingorderer
- Specified by:
order
in interfaceOrderable
- Throws:
InvalidOrderingException
- if orderer does something invalid (like remove or add children)- Since:
- 4.13
-