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) voidRemove tests that don't pass the parameterfilter.voidOrders the tests usingorderervoidrun(RunNotifier notifier) Run the tests for this runner.voidSorts the tests usingsorter
-
Constructor Details
-
JUnit38ClassRunner
-
JUnit38ClassRunner
-
-
Method Details
-
run
Description copied from class:RunnerRun the tests for this runner. -
createAdaptingListener
-
getDescription
- Specified by:
getDescriptionin interfaceDescribable- Specified by:
getDescriptionin classRunner- Returns:
- a
Descriptionshowing the tests to be run by the receiver
-
filter
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
-
order
Orders the tests usingorderer- Specified by:
orderin interfaceOrderable- Throws:
InvalidOrderingException- if orderer does something invalid (like remove or add children)- Since:
- 4.13
-