CppUnit project page | FAQ | CppUnit home page |
#include <Protector.h>
Collaboration diagram for ProtectorGuard:
Public Member Functions | |
ProtectorGuard (TestResult *result, Protector *protector) | |
Pushes the specified protector. | |
~ProtectorGuard () | |
Pops the protector. | |
Private Attributes | |
TestResult * | m_result |
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 |