An interface for launching unit tests from XULRunner apps. More...
import"sbITestHarness.idl";
Public Member Functions | |
void | init (in AString aComponentList) |
Initialize the Test Harness object. More... | |
void | run () |
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.
Definition at line 40 of file sbITestHarness.idl.
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.
void sbITestHarness::run | ( | ) |
Run the tests.