| CppUnit project page | FAQ | CppUnit home page | 
#include <TestCaseDecorator.h>
Inheritance diagram for TestCaseDecorator:

| Public Member Functions | |
| TestCaseDecorator (TestCase *test) | |
| ~TestCaseDecorator () | |
| std::string | getName () const | 
| Returns the name of the test case. | |
| void | setUp () | 
| Set up context before running a test. | |
| void | tearDown () | 
| Clean up after the test run. | |
| void | runTest () | 
| FIXME: this should probably be pure virtual. | |
| Protected Attributes | |
| TestCase * | m_test | 
TestCaseDecorator provides an alternate means to extend functionality of a test class without subclassing the test. Instead, one can subclass the decorater and use it to wrap the test class.
Does not assume ownership of the test it decorates
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| Returns the name of the test case. 
 Reimplemented from TestCase. | 
| 
 | 
| FIXME: this should probably be pure virtual. 
 Reimplemented from TestCase. Reimplemented in ExceptionTestCaseDecorator< ExpectedException >. | 
| 
 | 
| Set up context before running a test. 
 Reimplemented from TestFixture. | 
| 
 | 
| Clean up after the test run. 
 Reimplemented from TestFixture. | 
| 
 | 
| 
 | 
|  | hosts this site. | Send comments to: CppUnit Developers |