|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.quilt.framework.QuiltTest | +--org.quilt.runner.Runner
Abstract class extended by Quilt test runners.
Field Summary |
Fields inherited from interface org.quilt.runner.RunnerConst |
DEFAULT_TRACE_FILTERS, ERRORS, FAILURES, SUCCESS |
Constructor Summary | |
Runner()
|
Method Summary | |
abstract void |
addError(junit.framework.Test test,
java.lang.Throwable t)
An unexpected error has occurred. |
abstract void |
addFailure(junit.framework.Test test,
junit.framework.AssertionFailedError t)
A failure (or error) has occurred. |
abstract void |
addFailure(junit.framework.Test test,
java.lang.Throwable t)
A failure (or error) has occurred. |
abstract void |
addFormatter(Formatter f)
Add a result formatter. |
abstract void |
endTest(junit.framework.Test test)
Method called at end of individual test run. |
static java.lang.String |
filterStack(java.lang.String stack,
boolean filtertrace)
Filters stack traces from Ant, Quilt, and JUnit classes. |
static java.lang.String |
getFilteredTrace(java.lang.Throwable t,
boolean filtertrace)
|
abstract int |
getRetCode()
|
abstract void |
handleErrorFlush(java.lang.String line)
Flush the error output stream. |
abstract void |
handleErrorOutput(java.lang.String line)
Process an error message |
abstract void |
handleFlush(java.lang.String line)
Flush standard output. |
abstract void |
handleOutput(java.lang.String line)
Process a block of output. |
abstract void |
run()
|
abstract void |
startTest(junit.framework.Test t)
Method called at start of individual test suite. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Runner()
Method Detail |
public abstract void run()
public abstract int getRetCode()
public static java.lang.String getFilteredTrace(java.lang.Throwable t, boolean filtertrace)
public static java.lang.String filterStack(java.lang.String stack, boolean filtertrace)
public abstract void addFormatter(Formatter f)
public abstract void addFailure(junit.framework.Test test, java.lang.Throwable t)
public abstract void addFailure(junit.framework.Test test, junit.framework.AssertionFailedError t)
addFailure
in interface junit.framework.TestListener
public abstract void addError(junit.framework.Test test, java.lang.Throwable t)
addError
in interface junit.framework.TestListener
public abstract void startTest(junit.framework.Test t)
startTest
in interface junit.framework.TestListener
public abstract void endTest(junit.framework.Test test)
endTest
in interface junit.framework.TestListener
public abstract void handleOutput(java.lang.String line)
public abstract void handleErrorOutput(java.lang.String line)
public abstract void handleFlush(java.lang.String line)
public abstract void handleErrorFlush(java.lang.String line)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |