TestCase that verifies Verifiable fields and registered Verifiable objects after the test has run and before the fixture has been torn down. More...
Public Member Functions | |
VerifyingTestCase () | |
Constructs the test case. | |
VerifyingTestCase (const MOCKPP_STD_NS::string &name) | |
Constructs the test case. | |
virtual | ~VerifyingTestCase () |
Constructs the test case. | |
virtual void | verify () |
Verifies the object and the mock objects it contains. | |
virtual void | unregisterVerifiables () |
Removes all verifiable fields from the list. | |
Protected Member Functions | |
void | registerVerifiable (AutoPointer< Verifiable > verifiable) |
Registers another verifiable object to the list. |
TestCase that verifies Verifiable fields and registered Verifiable objects after the test has run and before the fixture has been torn down.
Definition at line 58 of file VerifyingTestCase.h.
mockpp::VerifyingTestCase::VerifyingTestCase | ( | const MOCKPP_STD_NS::string & | name | ) |
Constructs the test case.
name | test case name |
Definition at line 61 of file VerifyingTestCase.cpp.
void mockpp::VerifyingTestCase::registerVerifiable | ( | AutoPointer< Verifiable > | verifiable | ) | [protected] |
Registers another verifiable object to the list.
verifiable | pointer to the verifiable object |
Definition at line 92 of file VerifyingTestCase.cpp.
void mockpp::VerifyingTestCase::verify | ( | ) | [virtual] |
Verifies the object and the mock objects it contains.
Reimplemented from mockpp::MockObject.
Definition at line 78 of file VerifyingTestCase.cpp.