Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <exception>
#include <iostream>
#include <string>
#include <itkMacro.h>
#include <mitkException.h>
#include <mitkTestCaller.h>
#include <mitkTestManager.h>
#include <cppunit/extensions/HelperMacros.h>
#include <cppunit/ui/text/TestRunner.h>
Go to the source code of this file.
Classes | |
class | mitk::TestFailedException |
Indicate a failed test. More... | |
Namespaces | |
mitk | |
DataCollection - Class to facilitate loading/accessing structured data. | |
Macros | |
#define | MITK_TEST_OUTPUT_NO_ENDL(x) |
Output some text without generating a terminating newline. Include. More... | |
#define | MITK_TEST_OUTPUT(x) |
Output some text. More... | |
#define | MITK_TEST_BEGIN(testName) |
Do some general test preparations. Must be called first in the main test function. More... | |
#define | MITK_TEST_FAILED_MSG(MSG) |
Fail and finish test with message MSG. More... | |
#define | MITK_TEST_END() |
Must be called last in the main test function. More... | |
#define | MITK_TEST_CONDITION(COND, MSG) |
#define | MITK_TEST_CONDITION_REQUIRED(COND, MSG) |
#define | MITK_TEST_FOR_EXCEPTION_BEGIN(EXCEPTIONCLASS) |
Begin block which should be checked for exceptions. More... | |
#define | MITK_TEST_FOR_EXCEPTION_END(EXCEPTIONCLASS) |
#define | MITK_TEST_FOR_EXCEPTION(EXCEPTIONCLASS, STATEMENT) |
Simplified version of MITK_TEST_FOR_EXCEPTION_BEGIN / END for a single statement. More... | |
#define | MITK_TEST_EQUAL(OBJ1, OBJ2, MSG) |
Testing macro to test if two objects are equal. More... | |
#define | MITK_ASSERT_EQUAL(EXPECTED, ACTUAL, MSG) |
Testing macro to test if two objects are equal. More... | |
#define | MITK_TEST_NOT_EQUAL(OBJ1, OBJ2, MSG) |
Testing macro to test if two objects are not equal. More... | |
#define | MITK_ASSERT_NOT_EQUAL(OBJ1, OBJ2, MSG) |
Testing macro to test if two objects are not equal. More... | |
#define | MITK_TEST_SUITE_REGISTRATION(TESTSUITE_NAME) |
Registers the given test suite. More... | |
#define | MITK_TEST(TESTMETHOD) |
Adds a test to the current test suite. More... | |
#define | MITK_PARAMETERIZED_TEST(TESTMETHOD, ARGS) |
Adds a parameterized test to the current test suite. More... | |
#define | MITK_PARAMETERIZED_CMD_LINE_TEST(TESTMETHOD) |
Adds a parameterized test to the current test suite. More... | |
#define | MITK_PARAMETERIZED_TEST_1(TESTMETHOD, arg1) |
Adds a parameterized test to the current test suite. More... | |
#define | MITK_PARAMETERIZED_TEST_2(TESTMETHOD, arg1, arg2) |
Adds a parameterized test to the current test suite. More... | |
#define MITK_TEST_CONDITION | ( | COND, | |
MSG | |||
) |
Definition at line 114 of file mitkTestingMacros.h.
Referenced by Assert_ImageMetaData_AreEqual(), Assert_ItkImageImportRandomValuesSucceded_ReturnsTrue(), Assert_ItkImageImportSucceded_ReturnsTrue(), Assert_ItkImportWithinAccessByItkSucceded_ReturnsTrue(), Assert_ItkVectorImageImportAndCast_ReturnsTrue(), CheckAllPropertiesAreInOtherList(), CheckIntersectionPointsOfTwoGeometry3D(), CheckIntersectionWithPointCloud(), CheckIntersectionWithRotatedGeometry(), CheckIntersectionWithRotatedGeometry90(), CheckPlanesInsideBoundingBox(), CheckPlanesInsideBoundingBoxOnlyOnOneSlice(), CheckPlanesOutsideOfBoundingBox(), CheckRWSize(), mitkBaseDataTest(), mitkCoreObjectFactoryTest(), mitkDCMPreloadedVolumeTest(), mitkDCMTestingSanityTest(), mitkDICOMPreloadedVolumeTest(), mitkDICOMReaderConfiguratorTest(), mitkDicomSeriesReaderTest(), mitkDICOMTestingSanityTest(), mitkImageTest(), mitkImageVtkMapper2DColorTest(), mitkImageVtkMapper2DLevelWindowTest(), mitkImageVtkMapper2DLookupTableTest(), mitkImageVtkMapper2DOpacityTest(), mitkImageVtkMapper2DOpacityTransferFunctionTest(), mitkImageVtkMapper2DResliceInterpolationPropertyTest(), mitkImageVtkMapper2DSwivelTest(), mitkImageVtkMapper2DTest(), mitkImageVtkMapper2DTransferFunctionTest(), mitkMessageTest(), mitkPixelTypeTest(), mitkPlaneGeometryDataMapper2DTest(), mitkPointSetFileIOTest(), mitkPointSetVtkMapper2DGlyphTypeTest(), mitkPointSetVtkMapper2DImageTest(), mitkPointSetVtkMapper2DTest(), mitkPointSetVtkMapper2DTransformedPointsTest(), mitkPropertyAliasesTest(), mitkPropertyDescriptionsTest(), mitkPropertyExtensionsTest(), mitkPropertyFiltersTest(), mitkSceneIOCompatibilityTest(), mitkShaderRepositoryTest(), mitkSurfaceDepthPeelingTest(), mitkSurfaceDepthSortingTest(), mitkSurfaceToSurfaceFilterTest(), mitkSurfaceVtkMapper3DTest(), mitkSurfaceVtkMapper3DTexturedSphereTest(), mitkTrackingDeviceSourceTest(), mitkVectorTest(), mitkViewportRenderingTest(), mitkVtkWidgetRenderingTest(), multipleUIDsFromSameGeneratorTest(), newGeneratorInstancesHeapTest(), newGeneratorInstancesTest(), severalGeneratorInstancesTest(), testAddPlanePosition(), TestAllProperties(), TestDataStorage(), testGeometry3D(), testGetPlanePosition(), testIfBothTransformationsProduceSameResults(), testIfPointIsTransformedAsExpected(), mitk::DICOMFileReaderTestHelper::TestInputFilenames(), mitk::DICOMFileReaderTestHelper::TestMitkImagesAreLoaded(), mitk::DICOMFileReaderTestHelper::TestOutputsContainInputs(), TestRandomPixelAccess(), testRemoveAll(), testRemovePlanePosition(), testTransferItkTransformToVtkMatrix(), and VerifyPropertyListsEquality().
#define MITK_TEST_CONDITION_REQUIRED | ( | COND, | |
MSG | |||
) |
Definition at line 135 of file mitkTestingMacros.h.
Referenced by CheckAllPropertiesAreInOtherList(), DirectOverlayTest(), ImageVtkDataReferenceCheck(), mitkBaseDataTest(), mitkCoreObjectFactoryTest(), mitkDataNodeTest(), mitkDataStorageTest(), mitkDCMPreloadedVolumeTest(), mitkDCMTestingSanityTest(), mitkDICOMFileReaderTest(), mitkDICOMITKSeriesGDCMReaderBasicsTest(), mitkDICOMLocaleTest(), mitkDICOMLocaleTestWithReferenceImage(), mitkDICOMPreloadedVolumeTest(), mitkDICOMReaderConfiguratorTest(), mitkDicomSeriesReaderTest(), mitkDICOMTestingSanityTest(), mitkDispatcherTest(), mitkEventConfigTest(), mitkFileWriterRegistryTest(), mitkGeometry3DTest(), mitkImageAccessorTest(), mitkImageDimensionConverterTest(), mitkImageGeneratorTest(), mitkImageTest(), mitkImageVtkMapper2DLevelWindowTest(), mitkInteractionEventTest(), mitkLevelWindowManagerTest(), mitkMessageTest(), mitkMultiComponentImageDataComparisonFilterTest(), mitkNodePredicateSourceTest(), mitkPixelTypeTest(), mitkPlanarArrowTest(), mitkPlanarCrossTest(), mitkPlanarPolygonTest(), mitkPlanarSubdivisionPolygonTest(), mitkPlanePositionManagerTest(), mitkPointSetReaderTest(), mitkPointSetWriterTest(), mitkPropertyAliasesTest(), mitkPropertyDescriptionsTest(), mitkPropertyExtensionsTest(), mitkPropertyFiltersTest(), mitkPropertySerializationTest(), mitkRenderingManagerTest(), mitkRotatedSlice4DTest(), mitkSceneIOTest(), mitkShaderRepositoryTest(), mitkSimpleHistogramTest(), mitkSlicedGeometry3D_ChangeImageGeometryConsideringOriginOffset_Test(), mitkSlicedGeometry3DTest(), mitkStateMachineContainerTest(), mitkStepperTest(), mitkSurfaceTest(), mitkSurfaceVtkWriterTest(), mitkTrackingDeviceSourceTest(), mitkTransferFunctionTest(), mitkUndoControllerTest(), mitkUnstructuredGridTest(), mitkVerboseLimitedLinearUndoTest(), mitkVolumeCalculatorTest(), mitkVtkWidgetRenderingTest(), mitkWeakPointerTest(), ReaderLocaleTest(), readValueFromSetupDocument(), Test_DoubleValueWriteOut(), Test_DoubleValueWriteOut_manyDecimalPlaces(), Test_ReadOutValue_works(), Test_Setup_works(), TestAnnotationProperty(), TestClippingProperty(), TestDataStorage(), TestGenericPropertyForDataType(), testGeometry3D(), testGeometryAfterCasting(), testIndexAndWorldConsistency(), testIndexAndWorldConsistencyForIndex(), testIndexAndWorldConsistencyForVectors(), testItkImageIsCenterBased(), mitk::DICOMFileReaderTestHelper::TestOutputsContainInputs(), TestPropAssignment(), TestPropCloning(), TestProperty(), TestPropInequality(), TestPropPolymorphicAssignment(), TestStreamMethods(), TestThreadSaveLog(), Valid_AllInputTimesteps_ReturnsTrue(), Valid_ImageExpandedByTimestep_ReturnsTrue(), and WriterLocaleTest().
#define MITK_TEST_FOR_EXCEPTION_END | ( | EXCEPTIONCLASS | ) |
Definition at line 178 of file mitkTestingMacros.h.
Referenced by mitkImageAccessorTest(), TestDataStorage(), and TestRandomPixelAccess().