Package | Description |
---|---|
org.junit.experimental.max | |
org.junit.experimental.results | |
org.junit.internal.requests |
Provides implementations of
Request . |
org.junit.runner |
Provides classes used to describe, collect, run and analyze multiple tests.
|
Modifier and Type | Method and Description |
---|---|
private Request |
MaxCore.constructLeafRequest(java.util.List<Description> leaves) |
Request |
MaxCore.sortRequest(Request request) |
Modifier and Type | Method and Description |
---|---|
private java.util.List<Description> |
MaxCore.findLeaves(Request request) |
Result |
MaxCore.run(Request request)
Run all the tests contained in
request . |
Result |
MaxCore.run(Request request,
JUnitCore core)
Run all the tests contained in
request . |
java.util.List<Description> |
MaxCore.sortedLeavesForTest(Request request) |
Request |
MaxCore.sortRequest(Request request) |
Modifier and Type | Method and Description |
---|---|
static PrintableResult |
PrintableResult.testResult(Request request)
The result of running JUnit on Request
request |
Modifier and Type | Class and Description |
---|---|
class |
ClassRequest |
class |
FilterRequest
A filtered
Request . |
(package private) class |
MemoizingRequest |
class |
OrderingRequest |
class |
SortingRequest |
Modifier and Type | Field and Description |
---|---|
private Request |
SortingRequest.request |
private Request |
FilterRequest.request |
private Request |
OrderingRequest.request |
Constructor and Description |
---|
FilterRequest(Request request,
Filter filter)
Creates a filtered Request
|
OrderingRequest(Request request,
Ordering ordering) |
SortingRequest(Request request,
java.util.Comparator<Description> comparator) |
Modifier and Type | Method and Description |
---|---|
static Request |
Request.aClass(java.lang.Class<?> clazz)
Create a
Request that, when processed, will run all the tests
in a class. |
private Request |
JUnitCommandLineParseResult.applyFilterSpecs(Request request) |
static Request |
Request.classes(java.lang.Class<?>... classes)
Create a
Request that, when processed, will run all the tests
in a set of classes with the default Computer . |
static Request |
Request.classes(Computer computer,
java.lang.Class<?>... classes)
Create a
Request that, when processed, will run all the tests
in a set of classes. |
static Request |
Request.classWithoutSuiteMethod(java.lang.Class<?> clazz)
Create a
Request that, when processed, will run all the tests
in a class. |
Request |
JUnitCommandLineParseResult.createRequest(Computer computer)
Creates a
Request . |
static Request |
Request.errorReport(java.lang.Class<?> klass,
java.lang.Throwable cause)
Creates a
Request that, when processed, will report an error for the given
test class with the given cause. |
private Request |
JUnitCommandLineParseResult.errorReport(java.lang.Throwable cause) |
Request |
Request.filterWith(Description desiredDescription)
Returns a Request that only runs tests whose
Description
matches the given description. |
Request |
Request.filterWith(Filter filter)
Returns a Request that only contains those tests that should run when
filter is applied |
static Request |
Request.method(java.lang.Class<?> clazz,
java.lang.String methodName)
Create a
Request that, when processed, will run a single test. |
Request |
Request.orderWith(Ordering ordering)
Returns a Request whose Tests can be run in a certain order, defined by
ordering |
static Request |
Request.runner(Runner runner) |
Request |
Request.sortWith(java.util.Comparator<Description> comparator)
Returns a Request whose Tests can be run in a certain order, defined by
comparator |
Modifier and Type | Method and Description |
---|---|
private Request |
JUnitCommandLineParseResult.applyFilterSpecs(Request request) |
static Filter |
FilterFactories.createFilterFromFilterSpec(Request request,
java.lang.String filterSpec)
Creates a
Filter . |
Result |
JUnitCore.run(Request request)
Run all the tests contained in
request . |