1 #ifndef CPPUNIT_EXTENSIONS_TESTCASEDECORATOR_H
2 #define CPPUNIT_EXTENSIONS_TESTCASEDECORATOR_H
4 #include <cppunit/Portability.h>
5 #include <cppunit/TestCase.h>
10 /*! \brief Decorator for Test cases.
12 * TestCaseDecorator provides an alternate means to extend functionality
13 * of a test class without subclassing the test. Instead, one can
14 * subclass the decorater and use it to wrap the test class.
16 * Does not assume ownership of the test it decorates
18 class CPPUNIT_API TestCaseDecorator : public TestCase
21 TestCaseDecorator( TestCase *test );
24 std::string getName() const;