CppUnit project page
FAQ
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
include
cppunit
extensions
TestCaseDecorator.h
Go to the documentation of this file.
1
#ifndef CPPUNIT_EXTENSIONS_TESTCASEDECORATOR_H
2
#define CPPUNIT_EXTENSIONS_TESTCASEDECORATOR_H
3
4
#include <
cppunit/Portability.h
>
5
#include <
cppunit/TestCase.h
>
6
7
CPPUNIT_NS_BEGIN
8
9
18
class
CPPUNIT_API
TestCaseDecorator
:
public
TestCase
19
{
20
public
:
21
TestCaseDecorator
(
TestCase
*test );
22
~
TestCaseDecorator
();
23
24
std::string
getName
()
const
;
25
26
void
setUp
();
27
28
void
tearDown
();
29
30
void
runTest
();
31
32
protected
:
33
TestCase
*
m_test
;
34
35
private
:
36
37
//prevent the creation of copy c'tor and operator=
38
TestCaseDecorator
(
const
TestCaseDecorator
& );
39
TestCaseDecorator
&
operator=
(
const
TestCaseDecorator
& );
40
41
};
42
43
44
CPPUNIT_NS_END
45
46
#endif
47
Send comments to:
CppUnit Developers