public class MaxCore extends Object
Modifier and Type | Method and Description |
---|---|
static MaxCore |
forFolder(String folderName)
Deprecated.
use storedLocally()
|
Result |
run(Class<?> testClass)
Run all the tests in
class . |
Result |
run(Request request)
Run all the tests contained in
request . |
Result |
run(Request request,
JUnitCore core)
Run all the tests contained in
request . |
List<Description> |
sortedLeavesForTest(Request request) |
Request |
sortRequest(Request request) |
static MaxCore |
storedLocally(File storedResults)
Create a new MaxCore from a serialized file stored at storedResults
|
@Deprecated public static MaxCore forFolder(String folderName)
public static MaxCore storedLocally(File storedResults)
public Result run(Class<?> testClass)
class
.Result
describing the details of the test run and the failed tests.public Result run(Request request)
request
.request
- the request describing testsResult
describing the details of the test run and the failed tests.public Result run(Request request, JUnitCore core)
request
.
This variant should be used if core
has attached listeners that this
run should notify.request
- the request describing testscore
- a JUnitCore to delegate to.Result
describing the details of the test run and the failed tests.public Request sortRequest(Request request)
public List<Description> sortedLeavesForTest(Request request)
request
- a request to run