|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Request | |
|---|---|
| org.junit.experimental.max | |
| org.junit.internal.requests | Provides implementations of Request. |
| org.junit.runner | Provides classes used to describe, collect, run and analyze multiple tests. |
| Uses of Request in org.junit.experimental.max |
|---|
| Methods in org.junit.experimental.max that return Request | |
|---|---|
Request |
MaxCore.sortRequest(Request request)
|
| Methods in org.junit.experimental.max with parameters of type 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. |
List<Description> |
MaxCore.sortedLeavesForTest(Request request)
|
Request |
MaxCore.sortRequest(Request request)
|
| Uses of Request in org.junit.internal.requests |
|---|
| Subclasses of Request in org.junit.internal.requests | |
|---|---|
class |
ClassRequest
|
class |
FilterRequest
A filtered Request. |
class |
SortingRequest
|
| Constructors in org.junit.internal.requests with parameters of type Request | |
|---|---|
FilterRequest(Request classRequest,
Filter filter)
Creates a filtered Request |
|
SortingRequest(Request request,
Comparator<Description> comparator)
|
|
| Uses of Request in org.junit.runner |
|---|
| Methods in org.junit.runner that return Request | |
|---|---|
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)
Deprecated. |
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
For example, here is code to run a test suite in alphabetical order: |
| Methods in org.junit.runner with parameters of type Request | |
|---|---|
Result |
JUnitCore.run(Request request)
Run all the tests contained in request. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||