| CppUnit project page | FAQ | CppUnit home page |
Scoped protector push to TestResult. More...
#include <Protector.h>

Public Member Functions | |
| ProtectorGuard (TestResult *result, Protector *protector) | |
| Pushes the specified protector. | |
| ~ProtectorGuard () | |
| Pops the protector. | |
Private Attributes | |
| TestResult * | m_result |
Scoped protector push to TestResult.
Adds the specified Protector to the specified TestResult for the object life-time.
| ProtectorGuard::ProtectorGuard | ( | TestResult * | result, |
| Protector * | protector | ||
| ) |
Pushes the specified protector.
| ProtectorGuard::~ProtectorGuard | ( | ) |
Pops the protector.
TestResult* ProtectorGuard::m_result [private] |
|
|
hosts this site. |
Send comments to: CppUnit Developers |