| |
|
| java.lang.Object org.quilt.framework.QuiltTest org.quilt.runner.Runner org.quilt.runner.BaseTestRunner
BaseTestRunner | public class BaseTestRunner extends Runner (Code) | | Stand-along Quilt test runner, fully compatible with Ant's JUnit
options. Accepts options from Ant via QuiltTask; can also be run
from the command line using TestRunner.
See Also: QuiltTask See Also: QuiltTest See Also: TestRunner |
BaseTestRunner | public BaseTestRunner(QuiltTest test)(Code) | | Constructor used by command line test runner. And so also
used when Ant forks the test runner. XXX No longer true.
Parameters: test - Data structure holding parameters for a singletest suite. |
BaseTestRunner | public BaseTestRunner(QuiltTest test, ClassLoader loader)(Code) | | Constructor used when not using Quilt class loader. XXX Not true.
Uses BaseTestRunner.retCode to signal whether construction
successful or not. If the operation fails, the exception
involved is passed back in BaseTestRunner.exception.
Parameters: test - Data structure holding parameters for a singletest suite. Parameters: loader - Class loader passed from parent. |
addError | public void addError(Test test, Throwable t)(Code) | | An unexpected error occurred.
|
addFailure | public void addFailure(Test test, Throwable t)(Code) | | A test failure (or error) has occurred.
|
addFailure | public void addFailure(Test test, AssertionFailedError t)(Code) | | A test failure (or error) has occurred.
|
addFormatter | public void addFormatter(Formatter f)(Code) | | Add a result formatter
|
endTest | public void endTest(Test test)(Code) | | Called at end of test suite.
|
getRetCode | public int getRetCode()(Code) | | Get status code from run.
Status codes from RunnerConst |
handleErrorFlush | public void handleErrorFlush(String line)(Code) | | Flush error output.
|
handleErrorOutput | public void handleErrorOutput(String line)(Code) | | Process an error message.
|
handleFlush | public void handleFlush(String line)(Code) | | Flush standard output.
|
handleOutput | public void handleOutput(String line)(Code) | | Handle a block of output.
|
startTest | public void startTest(Test t)(Code) | | Called at start of test run.
|
|
|
|