CppUnit - The Unit Testing Library

CppUnit project page | FAQ

DefaultProtector.h
Go to the documentation of this file.
1 #ifndef CPPUNIT_DEFAULTPROTECTOR_H
2 #define CPPUNIT_DEFAULTPROTECTOR_H
3
4 #include <cppunit/Protector.h>
5
6 CPPUNIT_NS_BEGIN
7
17 class DefaultProtector : public Protector
18 {
19 public:
20 bool protect( const Functor &functor,
21 const ProtectorContext &context );
22 };
23
24 CPPUNIT_NS_END
25
26 #endif // CPPUNIT_DEFAULTPROTECTOR_H
27
Protector
Protects one or more test case run.
Definition: Protector.h:47
DefaultProtector::protect
bool protect(const Functor &functor, const ProtectorContext &context)
Definition: DefaultProtector.cpp:10
ProtectorContext
Protector context (Implementation). Implementation detail.
Definition: ProtectorContext.h:17
CPPUNIT_NS_BEGIN
#define CPPUNIT_NS_BEGIN
Definition: Portability.h:105
CPPUNIT_NS_END
#define CPPUNIT_NS_END
Definition: Portability.h:106
Functor
Definition: Protector.h:14
DefaultProtector
Default protector that catch all exceptions (Implementation).
Definition: DefaultProtector.h:17
Protector.h

| Send comments to: CppUnit Developers