public class MondrianTestRunner
extends junit.runner.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 junit.framework.TestResult |
createTestResult()
Creates the TestResult to be used for the test run.
|
junit.framework.TestResult |
doRun(junit.framework.Test suite) |
int |
getIterations() |
junit.runner.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,
junit.framework.Test test,
Throwable t) |
void |
testStarted(String testName) |
addError, addFailure, clearStatus, elapsedTimeAsString, endTest, extractClassName, getFilteredTrace, getFilteredTrace, getPreference, getPreference, getPreferences, getTest, inVAJava, loadSuiteClass, processArguments, savePreferences, setLoading, setPreference, setPreferences, showStackRaw, startTest, truncate, useReloadingTestSuiteLoader
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 junit.runner.TestSuiteLoader getLoader()
getLoader
in class junit.runner.BaseTestRunner
public void testFailed(int status, junit.framework.Test test, Throwable t)
testFailed
in class junit.runner.BaseTestRunner
public void testStarted(String testName)
testStarted
in class junit.runner.BaseTestRunner
public void testEnded(String testName)
testEnded
in class junit.runner.BaseTestRunner
protected junit.framework.TestResult createTestResult()
public junit.framework.TestResult doRun(junit.framework.Test suite)
protected void runFailed(String message)
runFailed
in class junit.runner.BaseTestRunner
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()