Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include "mitkUndoController.h"
#include "mitkVerboseLimitedLinearUndo.h"
#include "mitkTestingMacros.h"
#include <iostream>
Go to the source code of this file.
Functions | |
int | mitkUndoControllerTest (int, char *[]) |
int mitkUndoControllerTest | ( | int | , |
char * | [] | ||
) |
Simple example for a test for the (non-existent) class "UndoController".
argc and argv are the command line parameters which were passed to the ADD_TEST command in the CMakeLists.txt file. For the automatic tests, argv is either empty for the simple tests or contains the filename of a test image for the image tests (see CMakeLists.txt).
Definition at line 32 of file mitkUndoControllerTest.cpp.
References mitk::UndoController::LIMITEDLINEARUNDO, MITK_TEST_BEGIN(), MITK_TEST_CONDITION_REQUIRED, MITK_TEST_END(), and mitk::UndoController::VERBOSE_LIMITEDLINEARUNDO.