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{
19public:
20 bool protect( const Functor &functor,
21 const ProtectorContext &context );
22};
23
24 CPPUNIT_NS_END
25
26#endif // CPPUNIT_DEFAULTPROTECTOR_H
27
CPPUNIT_NS_END
#define CPPUNIT_NS_END
Definition: Portability.h:106
CPPUNIT_NS_BEGIN
#define CPPUNIT_NS_BEGIN
Definition: Portability.h:105
Protector.h
DefaultProtector
Default protector that catch all exceptions (Implementation).
Definition: DefaultProtector.h:18
DefaultProtector::protect
bool protect(const Functor &functor, const ProtectorContext &context)
Definition: DefaultProtector.cpp:10
Functor
Definition: Protector.h:15
ProtectorContext
Protector context (Implementation). Implementation detail.
Definition: ProtectorContext.h:18
Protector
Protects one or more test case run.
Definition: Protector.h:48

| Send comments to: CppUnit Developers