JsUnit |
Class for an application running test suites with a test based status report. More...
Public Member Functions | |
void | TextTestRunner (Object outdev) |
The constructor. More... | |
Public Member Functions inherited from BaseTestRunner | |
void | BaseTestRunner () |
void | testEnded (void test) |
void | clearStatus () |
void | runFailed (void msg) |
void | testFailed (void test) |
void | testStarted (void test) |
Static Public Attributes | |
static Number | SUCCESS_EXIT |
Exit code, when all tests succeed. More... | |
static Number | EXCEPTION_EXIT |
Exit code, when at least one test fails with an error. More... | |
static Number | FAILURE_EXIT |
Exit code, when at least one test fails with a failure. More... | |
Static Public Attributes inherited from BaseTestRunner | |
static int | mPreferences |
Additional Inherited Members | |
Public Attributes inherited from BaseTestRunner | |
int | mElapsedTime |
Protected Member Functions inherited from TestListener | |
virtual void | TestListener () |
virtual void | startTest (Test test) |
A test started. More... | |
virtual void | endTest (Test test) |
A test ended. More... | |
virtual void | addFailure (Test test, AssertionFailedError afe) |
An occured failure was added. More... | |
virtual void | addError (Test test, Error except) |
An occurred error was added. More... | |
Class for an application running test suites with a test based status report.
void TextTestRunner::TextTestRunner | ( | Object | outdev | ) |
The constructor.
outdev | Output device The TestRunner is initialized with the given output device. This may be an instance of a ResultPrinter, a PrinterWriter or undefined. For a PrinterWriter the constructor creates a new instance of a standard ResultPrinter with this PrinterWriter. If outdev is undefined it creates a ResultPrinter with the SystemWriter. |
|
static |
Exit code, when at least one test fails with an error.
|
static |
Exit code, when at least one test fails with a failure.
|
static |
Exit code, when all tests succeed.
JsUnit © 1999, 2000, 2001, 2002, 2003, 2006, 2007 by Jörg Schaible
|
Generated on Wed Apr 15 2015 02:33:07 for JsUnit by doxygen 1.8.5
|