CppUnit project page | FAQ |
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.
|
private |
Send comments to: CppUnit Developers |