Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include "mitkTestingMacros.h"
#include <mitkAnnotationProperty.h>
#include <mitkClippingProperty.h>
#include <mitkColorProperty.h>
#include <mitkLevelWindowProperty.h>
#include <mitkLookupTableProperty.h>
#include <mitkLookupTables.h>
#include <mitkProperties.h>
#include <mitkSmartPointerProperty.h>
#include <mitkStringProperty.h>
#include <mitkTransferFunctionProperty.h>
#include <mitkWeakPointerProperty.h>
#include <itkCommand.h>
Go to the source code of this file.
Functions | |
template<class T > | |
void | TestPropInequality (T prop, T prop2) |
template<class T > | |
void | TestPropAssignment (T prop, T prop2, const std::string &strProp) |
template<class T > | |
void | TestPropPolymorphicAssignment (T prop, T prop2, const std::string &strProp) |
template<class T > | |
void | TestPropCloning (T prop) |
template<class T > | |
void | TestProperty (const typename T::ValueType &v1, const typename T::ValueType &v2, const std::string &strV1, const std::string &strV2) |
void | TestGenericProperties () |
void | TestAnnotationProperty () |
void | TestClippingProperty () |
int | mitkPropertyTest (int, char *[]) |
int mitkPropertyTest | ( | int | , |
char * | [] | ||
) |
Definition at line 360 of file mitkPropertyTest.cpp.
References MITK_TEST_BEGIN(), MITK_TEST_END(), mitk::SmartPointerProperty::New(), mitk::New(), mitk::LookupTable::New(), mitk::TransferFunction::New(), TestAnnotationProperty(), TestClippingProperty(), and TestGenericProperties().
void TestAnnotationProperty | ( | ) |
Definition at line 248 of file mitkPropertyTest.cpp.
References MITK_TEST_CONDITION_REQUIRED, MITK_TEST_OUTPUT, mitk::AnnotationProperty::New(), TestPropAssignment(), TestPropInequality(), and TestPropPolymorphicAssignment().
Referenced by mitkPropertyTest().
void TestClippingProperty | ( | ) |
Definition at line 295 of file mitkPropertyTest.cpp.
References MITK_TEST_CONDITION_REQUIRED, MITK_TEST_OUTPUT, mitk::ClippingProperty::New(), TestPropAssignment(), TestPropInequality(), and TestPropPolymorphicAssignment().
Referenced by mitkPropertyTest().
void TestGenericProperties | ( | ) |
Definition at line 143 of file mitkPropertyTest.cpp.
References mitk::GenericLookupTable< T >::SetTableValue().
Referenced by mitkPropertyTest().
void TestPropAssignment | ( | T | prop, |
T | prop2, | ||
const std::string & | strProp | ||
) |
Definition at line 64 of file mitkPropertyTest.cpp.
References MITK_TEST_CONDITION_REQUIRED.
Referenced by TestAnnotationProperty(), TestClippingProperty(), and TestProperty().
void TestPropCloning | ( | T | prop | ) |
Definition at line 102 of file mitkPropertyTest.cpp.
References MITK_TEST_CONDITION_REQUIRED.
Referenced by TestProperty().
void TestProperty | ( | const typename T::ValueType & | v1, |
const typename T::ValueType & | v2, | ||
const std::string & | strV1, | ||
const std::string & | strV2 | ||
) |
Definition at line 110 of file mitkPropertyTest.cpp.
References MITK_TEST_CONDITION_REQUIRED, MITK_TEST_OUTPUT, mitk::New(), TestPropAssignment(), TestPropCloning(), TestPropInequality(), and TestPropPolymorphicAssignment().
void TestPropInequality | ( | T | prop, |
T | prop2 | ||
) |
Definition at line 55 of file mitkPropertyTest.cpp.
References MITK_TEST_CONDITION_REQUIRED.
Referenced by TestAnnotationProperty(), TestClippingProperty(), and TestProperty().
void TestPropPolymorphicAssignment | ( | T | prop, |
T | prop2, | ||
const std::string & | strProp | ||
) |
Definition at line 82 of file mitkPropertyTest.cpp.
References MITK_TEST_CONDITION_REQUIRED.
Referenced by TestAnnotationProperty(), TestClippingProperty(), and TestProperty().