CppUnit project page FAQ

TestSetUp.h
Go to the documentation of this file.
1#ifndef CPPUNIT_EXTENSIONS_TESTSETUP_H
2#define CPPUNIT_EXTENSIONS_TESTSETUP_H
3
5
7
8
9class Test;
10class TestResult;
11
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
32
33#endif // CPPUNIT_EXTENSIONS_TESTSETUP_H
34
#define CPPUNIT_API
Definition: CppUnitApi.h:27
#define CPPUNIT_NS_END
Definition: Portability.h:106
#define CPPUNIT_NS_BEGIN
Definition: Portability.h:105
Decorator for Tests.
Definition: TestDecorator.h:22
void operator=(const TestDecorator &)
void run(TestResult *result)
Run the test, collecting results.
Definition: TestDecorator.cpp:26
Base class for all test objects.
Definition: Test.h:26
Manages TestListener.
Definition: TestResult.h:48
Decorates a test by providing a specific setUp() and tearDown().
Definition: TestSetUp.h:15
TestSetUp(const TestSetUp &)

Send comments to:
CppUnit Developers