VerifyingTestCaller 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 | |
| VerifyingTestCaller (const MOCKPP_STD_NS::string &name, TestCaseMethod test, VerifyingFixtureType &fixture) | |
| Constructor for VerifyingTestCaller. | |
| VerifyingTestCaller (const MOCKPP_STD_NS::string &name, TestCaseMethod test, VerifyingFixtureType *fixture) | |
| Constructor for VerifyingTestCaller. | |
| virtual void | runTest () |
| Runs the test method with mock object verification afterwards. | |
| std::string | toString () const |
| Returns the the callers string representation. | |
VerifyingTestCaller that verifies Verifiable fields and registered Verifiable objects after the test has run and before the fixture has been torn down.
Definition at line 55 of file VerifyingTestCaller.h.
| mockpp::VerifyingTestCaller< VerifyingFixtureType, DoTheVerify >::VerifyingTestCaller | ( | const MOCKPP_STD_NS::string & | name, | |
| TestCaseMethod | test, | |||
| VerifyingFixtureType & | fixture | |||
| ) | [inline] |
Constructor for VerifyingTestCaller.
This constructor does not create a new Fixture instance but accepts an existing one as parameter. The VerifyingTestCaller will not own the Fixture object.
| name | name of this VerifyingTestCaller | |
| test | the method this VerifyingTestCaller calls in runTest() | |
| fixture | the Fixture to invoke the test method on. |
Definition at line 69 of file VerifyingTestCaller.h.
| mockpp::VerifyingTestCaller< VerifyingFixtureType, DoTheVerify >::VerifyingTestCaller | ( | const MOCKPP_STD_NS::string & | name, | |
| TestCaseMethod | test, | |||
| VerifyingFixtureType * | fixture | |||
| ) | [inline] |
Constructor for VerifyingTestCaller.
This constructor does not create a new Fixture instance but accepts an existing one as parameter. The VerifyingTestCaller will own the Fixture object and delete it in its destructor.
| name | name of this VerifyingTestCaller | |
| test | the method this VerifyingTestCaller calls in runTest() | |
| fixture | the Fixture to invoke the test method on. |
Definition at line 85 of file VerifyingTestCaller.h.
1.6.1