CppUnit project page FAQ CppUnit home page

TestCaseDecorator.h
Go to the documentation of this file.
1#ifndef CPPUNIT_EXTENSIONS_TESTCASEDECORATOR_H
2#define CPPUNIT_EXTENSIONS_TESTCASEDECORATOR_H
3
5#include <cppunit/TestCase.h>
6
8
9
19{
20public:
23
24 std::string getName() const;
25
26 void setUp();
27
28 void tearDown();
29
30 void runTest();
31
32protected:
34};
35
36
38
39#endif
40
#define CPPUNIT_API
Definition CppUnitApi.h:27
#define CPPUNIT_NS_END
Definition Portability.h:120
#define CPPUNIT_NS_BEGIN
Definition Portability.h:119
TestCaseDecorator(TestCase *test)
Definition TestCaseDecorator.cpp:6
TestCase * m_test
Definition TestCaseDecorator.h:33
std::string getName() const
Returns the name of the test case.
Definition TestCase.cpp:131
virtual void runTest()
FIXME: this should probably be pure virtual.
Definition TestCase.cpp:105
TestCase(const std::string &name)
Constructs a test case.
Definition TestCase.cpp:45
virtual void setUp()
Set up context before running a test.
Definition TestFixture.h:89
virtual void tearDown()
Clean up after the test run.
Definition TestFixture.h:92

SourceForge Logo hosts this site. Send comments to:
CppUnit Developers