CppUnit project page | FAQ | CppUnit home page

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# ProtectorContext.h

Go to the documentation of this file.

    00001 #ifndef CPPUNIT_PROTECTORCONTEXT_H
    00002 #define CPPUNIT_PROTECTORCONTEXT_H
    00003
    00004 #include <cppunit/Portability.h>
    00005 #include <string>
    00006
    00007 CPPUNIT_NS_BEGIN
    00008
    00009 class Test;
    00010 class TestResult;
    00011
    00012
    00017 class CPPUNIT_API ProtectorContext
    00018 {
    00019 public:
    00020   ProtectorContext( Test *test,
    00021                     TestResult *result,
    00022                     const std::string &shortDescription )
    00023       : m_test( test )
    00024       , m_result( result )
    00025       , m_shortDescription( shortDescription )
    00026   {
    00027   }
    00028
    00029   Test *m_test;
    00030   TestResult *m_result;
    00031   std::string m_shortDescription;
    00032 };
    00033
    00034
    00035 CPPUNIT_NS_END
    00036
    00037 #endif // CPPUNIT_PROTECTORCONTEXT_H
    00038

| hosts this site. |  | Send comments to: CppUnit Developers