1#ifndef CPPUNIT_EXTENSIONS_TESTSETUP_H 2#define CPPUNIT_EXTENSIONS_TESTSETUP_H 3 4#include <cppunit/extensions/TestDecorator.h> 5 6namespace CppUnit { 7 8class Test; 9class TestResult; 10 11 12class CPPUNIT_API TestSetUp : public TestDecorator 13{ 14public: 15 TestSetUp( Test *test ); 16 17 void run( TestResult *result ); 18 19protected: 20 virtual void setUp(); 21 virtual void tearDown(); 22 23private: 24 TestSetUp( const TestSetUp & ); 25 void operator =( const TestSetUp & ); 26}; 27 28 29} // namespace CppUnit 30 31#endif // CPPUNIT_EXTENSIONS_TESTSETUP_H 32 33