Uses of Class
org.junit.runner.Request
-
Packages that use Request Package Description org.junit.experimental.max org.junit.experimental.results org.junit.internal.requests Provides implementations ofRequest
.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 Modifier and Type Method Description private Request
MaxCore. constructLeafRequest(java.util.List<Description> leaves)
Request
MaxCore. sortRequest(Request request)
Methods in org.junit.experimental.max with parameters of type Request Modifier and Type Method Description private java.util.List<Description>
MaxCore. findLeaves(Request request)
Result
MaxCore. run(Request request)
Run all the tests contained inrequest
.Result
MaxCore. run(Request request, JUnitCore core)
Run all the tests contained inrequest
.java.util.List<Description>
MaxCore. sortedLeavesForTest(Request request)
Request
MaxCore. sortRequest(Request request)
-
Uses of Request in org.junit.experimental.results
Methods in org.junit.experimental.results with parameters of type Request Modifier and Type Method Description static PrintableResult
PrintableResult. testResult(Request request)
The result of running JUnit on Requestrequest
-
Uses of Request in org.junit.internal.requests
Subclasses of Request in org.junit.internal.requests Modifier and Type Class Description class
ClassRequest
class
FilterRequest
A filteredRequest
.class
SortingRequest
Fields in org.junit.internal.requests declared as Request Modifier and Type Field Description private Request
FilterRequest. request
private Request
SortingRequest. request
Constructors in org.junit.internal.requests with parameters of type Request Constructor Description FilterRequest(Request request, Filter filter)
Creates a filtered RequestSortingRequest(Request request, java.util.Comparator<Description> comparator)
-
Uses of Request in org.junit.runner
Methods in org.junit.runner that return Request Modifier and Type Method Description static Request
Request. aClass(java.lang.Class<?> clazz)
Create aRequest
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 aRequest
that, when processed, will run all the tests in a set of classes with the defaultComputer
.static Request
Request. classes(Computer computer, java.lang.Class<?>... classes)
Create aRequest
that, when processed, will run all the tests in a set of classes.static Request
Request. classWithoutSuiteMethod(java.lang.Class<?> clazz)
Create aRequest
that, when processed, will run all the tests in a class.Request
JUnitCommandLineParseResult. createRequest(Computer computer)
Creates aRequest
.private Request
JUnitCommandLineParseResult. errorReport(java.lang.Throwable cause)
static Request
Request. errorReport(java.lang.Class<?> klass, java.lang.Throwable cause)
Creates aRequest
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 whoseDescription
equalsdesiredDescription
Request
Request. filterWith(Filter filter)
Returns a Request that only contains those tests that should run whenfilter
is appliedstatic Request
Request. method(java.lang.Class<?> clazz, java.lang.String methodName)
Create aRequest
that, when processed, will run a single test.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 bycomparator
Methods in org.junit.runner with parameters of type Request Modifier and Type Method Description private Request
JUnitCommandLineParseResult. applyFilterSpecs(Request request)
static Filter
FilterFactories. createFilterFromFilterSpec(Request request, java.lang.String filterSpec)
Creates aFilter
.Result
JUnitCore. run(Request request)
Run all the tests contained inrequest
.
-