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 |
---|---|
Request |
MaxCore.sortRequest(Request request) |
Modifier and Type | Method and Description |
---|---|
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 . |
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 . |
class |
SortingRequest |
Constructor and Description |
---|
FilterRequest(Request request,
Filter filter)
Creates a filtered Request
|
SortingRequest(Request request,
Comparator<Description> comparator) |
Modifier and Type | Method and Description |
---|---|
static Request |
Request.aClass(Class<?> clazz)
Create a
Request that, when processed, will run all the tests
in a class. |
static Request |
Request.classes(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,
Class<?>... classes)
Create a
Request that, when processed, will run all the tests
in a set of classes. |
static Request |
Request.classWithoutSuiteMethod(Class<?> clazz)
Create a
Request that, when processed, will run all the tests
in a class. |
static Request |
Request.errorReport(Class<?> klass,
Throwable cause)
Creates a
Request that, when processed, will report an error for the given
test class with the given cause. |
Request |
Request.filterWith(Description desiredDescription)
Returns a Request that only runs contains tests whose
Description
equals desiredDescription |
Request |
Request.filterWith(Filter filter)
Returns a Request that only contains those tests that should run when
filter is applied |
static Request |
Request.method(Class<?> clazz,
String methodName)
Create a
Request that, when processed, will run a single test. |
static Request |
Request.runner(Runner runner) |
Request |
Request.sortWith(Comparator<Description> comparator)
Returns a Request whose Tests can be run in a certain order, defined by
comparator |
Modifier and Type | Method and Description |
---|---|
Result |
JUnitCore.run(Request request)
Run all the tests contained in
request . |
Copyright © 2002-2017 JUnit. All Rights Reserved.