|
CppUTest
|
Public Member Functions | |
| MockActualFunctionCall (int callOrder, MockFailureReporter *reporter, const MockExpectedFunctionsList &expectations) | |
| virtual MockFunctionCall & | withName (const SimpleString &name) |
| virtual MockFunctionCall & | withCallOrder (int) |
| virtual MockFunctionCall & | withParameter (const SimpleString &name, int value) |
| virtual MockFunctionCall & | withParameter (const SimpleString &name, double value) |
| virtual MockFunctionCall & | withParameter (const SimpleString &name, const char *value) |
| virtual MockFunctionCall & | withParameter (const SimpleString &name, void *value) |
| virtual MockFunctionCall & | withParameterOfType (const SimpleString &type, const SimpleString &name, void *value) |
| virtual MockFunctionCall & | andReturnValue (int value) |
| virtual MockFunctionCall & | andReturnValue (double value) |
| virtual MockFunctionCall & | andReturnValue (const char *value) |
| virtual MockFunctionCall & | andReturnValue (void *value) |
| virtual bool | hasReturnValue () |
| virtual MockNamedValue | returnValue () |
| virtual MockFunctionCall & | onObject (void *objectPtr) |
| virtual bool | isFulfilled () const |
| virtual bool | hasFailed () const |
| virtual void | checkExpectations () |
| virtual void | setMockFailureReporter (MockFailureReporter *reporter) |
Public Member Functions inherited from MockFunctionCall | |
| virtual MockFunctionCall & | ignoreOtherParameters () |
| virtual void | setComparatorRepository (MockNamedValueComparatorRepository *repository) |
Protected Types | |
| enum | ActualCallState { CALL_IN_PROGESS, CALL_FAILED, CALL_SUCCEED } |
Protected Member Functions | |
| virtual UtestShell * | getTest () const |
| virtual void | callHasSucceeded () |
| virtual void | finnalizeCallWhenFulfilled () |
| virtual void | failTest (const MockFailure &failure) |
| virtual void | checkActualParameter (const MockNamedValue &actualParameter) |
| virtual const char * | stringFromState (ActualCallState state) |
| virtual void | setState (ActualCallState state) |
| virtual void | checkStateConsistency (ActualCallState oldState, ActualCallState newState) |
Protected Member Functions inherited from MockFunctionCall | |
| void | setName (const SimpleString &name) |
| SimpleString | getName () const |
| MockNamedValueComparator * | getComparatorForType (const SimpleString &type) const |
1.8.8