Lumiera
0.pre.03
»edit your freedom«
|
Mock object to receive change notifications.
A copy of the most recently received value is memorised within an embedded buffer, to be verified by the actual tests.
Definition at line 83 of file time-control-test.cpp.
Public Member Functions | |
TestListener (TI const &initialValue) | |
void | operator() (TI const &changeValue) const |
TI const & | receivedValue () const |
Private Attributes | |
ScopedHolder< TI > | received_ |
Additional Inherited Members | |
Private Member Functions inherited from NonCopyable | |
NonCopyable (NonCopyable const &)=delete | |
NonCopyable & | operator= (NonCopyable const &)=delete |