JsUnit
Project Developer Home doxygen

Public Member Functions | List of all members
NSServerTestRunner Class Reference

Class for an application running test suites with a Netscape Server. More...

Inheritance diagram for NSServerTestRunner:
Inheritance graph
Collaboration diagram for NSServerTestRunner:
Collaboration graph

Public Member Functions

void NSServerTestRunner ()
 
void writeLn (String str)
 Write a line of text to the console to the browser window. More...
 
void printHeader ()
 Write a header starting the application. More...
 
void printFooter (TestResult result)
 Write a footer at application end with a summary of the tests. More...
 
- Public Member Functions inherited from TextTestRunner
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)
 

Additional Inherited Members

- Public Attributes inherited from BaseTestRunner
int mElapsedTime
 
- Static Public Attributes inherited from TextTestRunner
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
 
- 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...
 

Detailed Description

Class for an application running test suites with a Netscape Server.

See Also
TextTestRunner
NSServerWriter
Deprecated:
since 1.2 in favour of TextTestRunner in combination with a NSServerWriter.

Constructor & Destructor Documentation

void NSServerTestRunner::NSServerTestRunner ( )

Member Function Documentation

void NSServerTestRunner::printFooter ( TestResult  result)

Write a footer at application end with a summary of the tests.

Parameters
resultThe result of the test run.
Deprecated:
since 1.2
void NSServerTestRunner::printHeader ( )

Write a header starting the application.

Deprecated:
since 1.2
void NSServerTestRunner::writeLn ( String  str)

Write a line of text to the console to the browser window.

Parameters
strThe text to print on the line.
Deprecated:
since 1.2

The documentation for this class was generated from the following file:

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