CppUnit project page FAQ CppUnit home page

ProtectorContext.h
Go to the documentation of this file.
1#ifndef CPPUNIT_PROTECTORCONTEXT_H
2#define CPPUNIT_PROTECTORCONTEXT_H
3
5#include <string>
6
8
9class Test;
10class TestResult;
11
12
18{
19public:
21 TestResult *result,
22 const std::string &shortDescription )
23 : m_test( test )
24 , m_result( result )
25 , m_shortDescription( shortDescription )
26 {
27 }
28
31 std::string m_shortDescription;
32};
33
34
36
37#endif // CPPUNIT_PROTECTORCONTEXT_H
38
#define CPPUNIT_API
Definition CppUnitApi.h:27
#define CPPUNIT_NS_END
Definition Portability.h:120
#define CPPUNIT_NS_BEGIN
Definition Portability.h:119
ProtectorContext(Test *test, TestResult *result, const std::string &shortDescription)
Definition ProtectorContext.h:20
std::string m_shortDescription
Definition ProtectorContext.h:31
Test * m_test
Definition ProtectorContext.h:29
TestResult * m_result
Definition ProtectorContext.h:30
Base class for all test objects.
Definition Test.h:26
Manages TestListener.
Definition TestResult.h:52

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