JsUnit |
![]() |
![]() |
A Decorator for Tests. More...


Public Member Functions | |
| void | TestDecorator (Test test) |
| Constructor. More... | |
Public Member Functions inherited from Assert | |
| void | Assert () |
Public Attributes | |
| int | mTest |
Additional Inherited Members | |
Protected Member Functions inherited from Test | |
| virtual void | Test () |
| virtual String | getName () |
| Retrieves the name of the test. More... | |
| virtual Test | findTest (String testName) |
| Search a test by name. More... | |
| virtual void | setName (String testName) |
| Sets the name of the test. More... | |
| virtual Number | countTestCases () |
| Counts the number of test cases that will be run by this test. More... | |
| virtual TestResult | run (TestResult result) |
| Runs the test. More... | |
A Decorator for Tests.
Use TestDecorator as the base class for defining new test decorators. Test decorator subclasses can be introduced to add behavior before or after a test is run.
| void TestDecorator::TestDecorator | ( | Test | test | ) |
Constructor.
The constructor saves the test.
| test | The test to decorate. |
| int TestDecorator::mTest |
|
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
|