38 undo (
short param,
int memento)
40 testVal += param-memento;
56 using LERR_(MISSING_MEMENTO);
101 short rr (rani (100));
void checkStateCapturingMechanism()
void OpSIG(short)
assumed signature of the Command "Operation"
MementoTie< OpSIG, int > MemHolder
A special binding used by Steam-Layer commands for capturing UNDO state information.
const size_t ALIGNMENT
maximum additional storage maybe wasted due to alignment of the memento value within MementoTie
void undo(short param, int memento)
Steam-Layer implementation namespace root.
Test runner and basic definitions for tests.
Simplistic test class runner.
#define LAUNCHER(_TEST_CLASS_, _GROUPS_)
A collection of frequently used helper functions to support unit testing.
#define VERIFY_ERROR(ERROR_ID, ERRONEOUS_STATEMENT)
Macro to verify that a statement indeed raises an exception.