public class MondrianTestRunner
extends BaseTestRunner
Modifier and Type | Field and Description |
---|---|
static int |
EXCEPTION_EXIT |
static int |
FAILURE_EXIT |
static int |
SUCCESS_EXIT |
Constructor and Description |
---|
MondrianTestRunner()
Constructs a TestRunner.
|
MondrianTestRunner(MondrianResultPrinter printer)
Constructs a TestRunner using the given ResultPrinter all the output
|
MondrianTestRunner(PrintStream writer)
Constructs a TestRunner using the given stream for all the output
|
Modifier and Type | Method and Description |
---|---|
protected TestResult |
createTestResult()
Creates the TestResult to be used for the test run.
|
TestResult |
doRun(Test suite) |
int |
getIterations() |
TestSuiteLoader |
getLoader()
Always use the StandardTestSuiteLoader.
|
int |
getTimeLimit() |
int |
getVUsers() |
protected void |
runFailed(String message) |
void |
setIterations(int fIterations) |
void |
setPrinter(MondrianResultPrinter printer) |
void |
setTimeLimit(int fTimeLimit) |
void |
setVUsers(int fVUsers) |
void |
testEnded(String testName) |
void |
testFailed(int status,
Test test,
Throwable t) |
void |
testStarted(String testName) |
public static final int SUCCESS_EXIT
public static final int FAILURE_EXIT
public static final int EXCEPTION_EXIT
public MondrianTestRunner()
public MondrianTestRunner(PrintStream writer)
public MondrianTestRunner(MondrianResultPrinter printer)
public TestSuiteLoader getLoader()
public void testFailed(int status, Test test, Throwable t)
public void testStarted(String testName)
public void testEnded(String testName)
protected TestResult createTestResult()
public TestResult doRun(Test suite)
protected void runFailed(String message)
public void setPrinter(MondrianResultPrinter printer)
public void setIterations(int fIterations)
public int getIterations()
public void setVUsers(int fVUsers)
public int getVUsers()
public void setTimeLimit(int fTimeLimit)
public int getTimeLimit()