35 "Testing if CheckModelFitUID fails of null pointer is passed.");
38 "Testing if CheckModelFitUID fails of null pointer is passed.");
43 "Testing if CheckModelFitUID fails of wrong UID is passed.");
45 "Testing if CheckModelFitUID succeeds if correct UID is passed.");
50 "Testing if EnsureModelFitUID does not create new UIDs on multiple calls.");
55 "Testing if EnsureModelFitUID does create different UIDs for different nodes.");
62 "Testing if GetNodeByModelFitUID finds node 1.");
65 "Testing if GetNodeByModelFitUID finds node 2.");
68 "Testing if GetNodeByModelFitUID returns NULL for unkown UID.");
bool MITKMODELFIT_EXPORT CheckModelFitUID(const mitk::BaseData *data, const NodeUIDType &uid)
Base of all data objects.
DataNode::Pointer MITKMODELFIT_EXPORT GetNodeByModelFitUID(const mitk::DataStorage *storage, const NodeUIDType &uid)
#define MITK_TEST_CONDITION_REQUIRED(COND, MSG)
section GeneralTestsDeprecatedOldTestingStyle Deprecated macros All tests with MITK_TEST_BEGIN()
#define MITK_TEST_FOR_EXCEPTION(EXCEPTIONCLASS, STATEMENT)
Simplified version of MITK_TEST_FOR_EXCEPTION_BEGIN / END for a single statement. ...
An object of this class represents an exception of MITK. Please don't instantiate exceptions manually...
NodeUIDType MITKMODELFIT_EXPORT EnsureModelFitUID(mitk::BaseData *data)
int mitkModelFitUIDHelperTest(int, char *[])
Class for nodes of the DataTree.