An interface for launching unit tests from XULRunner apps. More...
|void||init (in AString aComponentList)|
|Initialize the Test Harness object. More...|
|Run the tests. More...|
|void||logFailure (in AString aComponentName)|
|Called by the test harness code when a test fails. More...|
An interface for launching unit tests from XULRunner apps.
|void sbITestHarness::init||(||in AString||aComponentList||)|
Initialize the Test Harness object.
Set the location or file to run the tests on. The testharness expects to recieve a string containing a comma seperated list of subdirectories within the testharness directory to test.
|aPath||A comma seperated list of components to test. If this variable is null, all tests will be run.|
|void sbITestHarness::logFailure||(||in AString||aComponentName||)|
Called by the test harness code when a test fails.
This allows all tests to run and the the testharness to return failure when complete.
Run the tests.