Common stuff to set up chainable mock method expectations with 1 parameters. More...
Public Types | |
typedef Invocation1< P1 > | InvocationType |
internal shorthand | |
typedef CoreMock< RT, InvocationType > | CoreMockType |
internal shorthand | |
typedef RT | ReturnType |
internal shorthand | |
typedef ChainingMockBuilder < ArgumentsMatchBuilder1 < ReturnType, InvocationType > > | Builder |
internal shorthand | |
Public Member Functions | |
ChainableMockMethod1Common (const String &name, ChainableMockObject *parent) | |
Constructs the mock object. | |
virtual void | reset () |
Clears all internal states. | |
virtual void | verify () |
Verify that the expected value is within the allowed bounds. | |
Protected Member Functions | |
CoreMockType & | getCoreMock () const |
Returns the underlying coremock. |
Common stuff to set up chainable mock method expectations with 1 parameters.
Definition at line 48 of file ChainableMockMethod1.h.
mockpp::ChainableMockMethod1Common< RT, P1 >::ChainableMockMethod1Common | ( | const String & | name, | |
ChainableMockObject * | parent | |||
) | [inline] |
Constructs the mock object.
name | human readable description about the expectation | |
parent | parent chainable mock object |
Definition at line 65 of file ChainableMockMethod1.h.
CoreMockType& mockpp::ChainableMockMethod1Common< RT, P1 >::getCoreMock | ( | ) | const [inline, protected] |
Returns the underlying coremock.
Definition at line 87 of file ChainableMockMethod1.h.
virtual void mockpp::ChainableMockMethod1Common< RT, P1 >::verify | ( | ) | [inline, virtual] |
Verify that the expected value is within the allowed bounds.
If it fails, an AssertionFailedError is thrown
Reimplemented from mockpp::ChainingMockBuilder< ArgumentsMatchBuilder1< RT, Invocation1< P1 > > >.
Definition at line 77 of file ChainableMockMethod1.h.