Lumiera
0.pre.03
»edit your freedom«
|
MockJob objects are backed by this closure.
Invocations of this job functor are recorded in a hashtable
Definition at line 83 of file mock-dispatcher.cpp.
Public Member Functions | |
void | clearLog () |
Invocation const & | queryInvocation (JobParameter param) const |
Public Member Functions inherited from JobClosure | |
virtual | ~JobClosure () |
this is an interface More... | |
lib::HashVal | hash_value (JobParameter) const |
virtual void | invokeJobOperation (JobParameter parameter)=0 |
Public Member Functions inherited from JobFunctor | |
virtual | ~JobFunctor () |
this is an interface More... | |
virtual std::string | diagnostic () const |
operator std::string () const | |
Classes | |
struct | Invocation |
Private Member Functions | |
InvocationInstanceID | buildInstanceID (HashVal seed) const override |
Generate a specifically marked invocationKey for use in unit-tests. More... | |
JobKind | getJobKind () const override |
size_t | hashOfInstance (InvocationInstanceID invoKey) const override |
void | invokeJobOperation (JobParameter parameter) override |
Private Attributes | |
unordered_map< HashVal, Invocation > | invocationLog_ |
recording MockJob invocations | |
|
inlineoverrideprivatevirtual |
Generate a specifically marked invocationKey for use in unit-tests.
Implements JobClosure.
Definition at line 109 of file mock-dispatcher.cpp.