Inheritance diagram for Utils::CalitkoMocks::Testing::DelayedCallDriverTest:


Definition at line 39 of file DelayedCallDriverTest.cpp.
Public Types | |
| typedef BoundFunction< DelayedCallDriverTest, int(int)> | fooType |
| typedef CallDriver< fooType > | CallDriverFoo |
| typedef ExpectedFunction< bool()> | ExpectedFoo |
| typedef ExpectationDriver< CallDriverFoo, ExpectedFoo > | ExpectationDriverFoo |
Public Member Functions | |
| int | foo (int a) |
| void | testWillReturnOk () |
| willReturn() should not invoke the BoundFunction. | |
| void | testBoundFooWillCallNotCheckedFail () |
| BoundFunctions should verify the registered ExpectedFunctions. | |
| void | testWillCallOk () |
| willCall() should return an ExpectationDriver (compile-time check). | |
Public Attributes | |
| bool | fooOk |
Private Member Functions | |
| CPPUNIT_TEST_SUITE (DelayedCallDriverTest) | |
| CPPUNIT_TEST (testWillReturnOk) | |
| CPPUNIT_TEST_FAIL (testBoundFooWillCallNotCheckedFail) | |
| CPPUNIT_TEST (testWillCallOk) | |
| CPPUNIT_TEST_SUITE_END () | |
|
|
Definition at line 51 of file DelayedCallDriverTest.cpp. |
|
|
Definition at line 53 of file DelayedCallDriverTest.cpp. |
|
|
Definition at line 52 of file DelayedCallDriverTest.cpp. |
|
|
Definition at line 50 of file DelayedCallDriverTest.cpp. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 49 of file DelayedCallDriverTest.cpp. |
|
|
BoundFunctions should verify the registered ExpectedFunctions. Since the attached expectation is not check()'ed, the test should fail if its verifyChecked() is called by the underlying BoundFunction. Definition at line 73 of file DelayedCallDriverTest.cpp. |
|
|
willCall() should return an ExpectationDriver (compile-time check).
Definition at line 94 of file DelayedCallDriverTest.cpp. |
|
|
willReturn() should not invoke the BoundFunction.
Definition at line 56 of file DelayedCallDriverTest.cpp. |
|
|
Definition at line 48 of file DelayedCallDriverTest.cpp. |