Utils::CalitkoMocks::Testing::ExpectationDriverTest Class Reference

Inherits TestFixture.

Inheritance diagram for Utils::CalitkoMocks::Testing::ExpectationDriverTest:

Inheritance graph
[legend]
Collaboration diagram for Utils::CalitkoMocks::Testing::ExpectationDriverTest:

Collaboration graph
[legend]
List of all members.

Detailed Description

Tests for class ExpectationDriver.

Definition at line 38 of file ExpectationDriverTest.cpp.

Public Types

typedef BoundFunction< ExpectationDriverTest,
void()> 
BoundFoo
typedef CallDriver< BoundFooCallDriverFoo

Public Member Functions

void foo ()
void testWillReturnOk ()
 willReturn() should stub the return value and return the call driver.
void testWillCallOk ()
 willCall() should return a DelayedCallDriver (compile-time check).

Private Member Functions

 CPPUNIT_TEST_SUITE (ExpectationDriverTest)
 CPPUNIT_TEST (testWillReturnOk)
 CPPUNIT_TEST (testWillCallOk)
 CPPUNIT_TEST_SUITE_END ()


Member Typedef Documentation

typedef BoundFunction<ExpectationDriverTest, void ()> Utils::CalitkoMocks::Testing::ExpectationDriverTest::BoundFoo
 

Definition at line 47 of file ExpectationDriverTest.cpp.

typedef CallDriver<BoundFoo> Utils::CalitkoMocks::Testing::ExpectationDriverTest::CallDriverFoo
 

Definition at line 48 of file ExpectationDriverTest.cpp.


Member Function Documentation

Utils::CalitkoMocks::Testing::ExpectationDriverTest::CPPUNIT_TEST testWillCallOk   )  [private]
 

Utils::CalitkoMocks::Testing::ExpectationDriverTest::CPPUNIT_TEST testWillReturnOk   )  [private]
 

Utils::CalitkoMocks::Testing::ExpectationDriverTest::CPPUNIT_TEST_SUITE ExpectationDriverTest   )  [private]
 

Utils::CalitkoMocks::Testing::ExpectationDriverTest::CPPUNIT_TEST_SUITE_END  )  [private]
 

void Utils::CalitkoMocks::Testing::ExpectationDriverTest::foo  )  [inline]
 

Definition at line 46 of file ExpectationDriverTest.cpp.

void Utils::CalitkoMocks::Testing::ExpectationDriverTest::testWillCallOk  )  [inline]
 

willCall() should return a DelayedCallDriver (compile-time check).

Definition at line 64 of file ExpectationDriverTest.cpp.

void Utils::CalitkoMocks::Testing::ExpectationDriverTest::testWillReturnOk  )  [inline]
 

willReturn() should stub the return value and return the call driver.

Definition at line 51 of file ExpectationDriverTest.cpp.


The documentation for this class was generated from the following file: