Definition in file Mocks.h.
#include "Imports.h" [code]
#include "BoundFunction.h" [code]
#include "CallDriver.h" [code]
#include "DelayedCallDriver.h" [code]
#include "ExpectationDriver.h" [code]
#include "ExpectationsList.h" [code]
#include "ExpectedFunction.h" [code]
Include dependency graph for Mocks.h:

Go to the source code of this file.
Namespaces | |
| namespace | Utils |
| namespace | Utils::CalitkoMocks |
Classes | |
| struct | Utils::CalitkoMocks::MockBase |
| struct | Utils::CalitkoMocks::SignalWaitHelper |
Defines | |
| #define | willReturn(expr) willReturnMsg (expr, std::string ("Expression: " #expr), CPPUNIT_SOURCELINE()) |
| Expand to willReturn() calls taking also the call context. | |
| #define | willCall(foo) willCallMsg (foo, std::string ("Function: " #foo), CPPUNIT_SOURCELINE()) |
| Expand to willCall() calls taking also the call context. | |
| #define | willEmit(foo) willEmitMsg (foo, std::string ("Function: " #foo), CPPUNIT_SOURCELINE()) |
| Expand to willEmit() calls taking also the call context. | |
| #define | call(foo) callMsg (foo, std::string ("Function: " #foo), CPPUNIT_SOURCELINE()) |
| Expand to call() calls taking also the call context. | |
| #define | calls(foo) callsMsg (foo, std::string ("Function: " #foo), CPPUNIT_SOURCELINE()) |
| Expand to calls() calls taking also the call context. | |
| #define | willBeEqual(a, b) |
| Expand to willBeEqual() calls taking also the call context. | |
Functions | |
| template<typename Host, typename Func> | |
| CallDriver< BoundFunction< Host, Func > > | Utils::CalitkoMocks::call (auto_ptr< BoundFunction< Host, Func > > f) |
| template<typename Host, typename Func> | |
| CallDriver< BoundFunction< Host, Func > > | Utils::CalitkoMocks::callMsg (auto_ptr< BoundFunction< Host, Func > > f, const std::string &expressionString, const SourceLine &sourceLine) |
| template<typename Checker> | |
| auto_ptr< ExpectedFunction< typename Checker::Function > > | Utils::CalitkoMocks::checker (const Checker &checker) |
| CallDriver< BoundFunction< SignalWaitHelper, void(int)> > | Utils::CalitkoMocks::waitFor (int maxTime) |
| Returns a CallDriver bound to SignalWaitHelper::processEvents(). | |
| template<typename T> | |
| void | Utils::CalitkoMocks::willBeEqual (T v1, T v2) |
| template<typename T> | |
| void | Utils::CalitkoMocks::willBeEqualMsg (T v1, T v2, const std::string &expectationString, const SourceLine &sourceLine) |
| void | Utils::CalitkoMocks::willFail (const std::string &reason) |
|
|
Expand to call() calls taking also the call context.
|
|
|
Expand to calls() calls taking also the call context.
|
|
|
Value: willBeEqualMsg ((a), (b), \ std::string (#a ", " #b), \ CPPUNIT_SOURCELINE())
|
|
|
Expand to willCall() calls taking also the call context.
|
|
|
Expand to willEmit() calls taking also the call context.
|
|
|
Expand to willReturn() calls taking also the call context.
|