29 class TestOperation :
public Operation
67 for (
int i = 0; i < 2; i++)
72 myUndoController->SetOperationEvent(operationEvent);
82 myUndoController->Undo();
85 for (
int i = 0; i < 2; i++)
90 myUndoController->SetOperationEvent(operationEvent);
100 myUndoController->Undo();
101 myUndoController->ClearRedoList();
107 myUndoController->Clear();
111 for (
int i = 0; i < 2; i++)
116 myUndoController->SetOperationEvent(operationEvent);
123 delete myUndoController;
#define MITK_TEST_CONDITION_REQUIRED(COND, MSG)
DataCollection - Class to facilitate loading/accessing structured data.
section GeneralTestsDeprecatedOldTestingStyle Deprecated macros All tests with MITK_TEST_BEGIN()
int mitkVerboseLimitedLinearUndoTest(int, char *[])
Test of the LimitedLinearUndo object.
Constants for most interaction classes, due to the generic StateMachines.
static void IncCurrObjectEventId()
Increases the current ObjectEventId For example if a button click generates operations the ObjectEven...
Represents a pair of operations: undo and the according redo.