source: trunk/contrib/cppunit-1.12.2/include/cppunit/extensions/TestSetUp.h @ 876

Last change on this file since 876 was 876, checked in by sam, 9 years ago

contrib: add a precompiled Win32 version of CppUnit and update build system
accordingly.

File size: 590 bytes
Line 
1#ifndef CPPUNIT_EXTENSIONS_TESTSETUP_H
2#define CPPUNIT_EXTENSIONS_TESTSETUP_H
3
4#include <cppunit/extensions/TestDecorator.h>
5
6CPPUNIT_NS_BEGIN
7
8
9class Test;
10class TestResult;
11
12/*! \brief Decorates a test by providing a specific setUp() and tearDown().
13 */
14class CPPUNIT_API TestSetUp : public TestDecorator
15{
16public:
17  TestSetUp( Test *test );
18
19  void run( TestResult *result );
20
21protected:
22  virtual void setUp();
23  virtual void tearDown();
24
25private:
26  TestSetUp( const TestSetUp & );
27  void operator =( const TestSetUp & );
28};
29
30
31CPPUNIT_NS_END
32
33#endif // CPPUNIT_EXTENSIONS_TESTSETUP_H
34
Note: See TracBrowser for help on using the repository browser.