25 CPPUNIT_TEST_SUITE(mitkAnnotationTestSuite);
27 CPPUNIT_TEST_SUITE_END();
31 void setUp()
override {}
32 void AnnotationUtilsTest()
35 CPPUNIT_ASSERT_MESSAGE(
"Testing availability of ManualPlacementAnnotationRenderer service", ap1_test1);
37 CPPUNIT_ASSERT_MESSAGE(
"Testing if ManualPlacementAnnotationRenderer of same kind stays avaliable", ap1_test1 == ap2_test1);
39 CPPUNIT_ASSERT_MESSAGE(
"Testing if new instance can be created by using different ID", ap1_test2 != ap1_test1);
42 CPPUNIT_ASSERT_MESSAGE(
"Testing availability of LayoutAnnotationRenderer service", ol1_test1);
44 CPPUNIT_ASSERT_MESSAGE(
"Testing if LayoutAnnotationRenderer of same kind stays avaliable", ol2_test1 == ol1_test1);
46 CPPUNIT_ASSERT_MESSAGE(
"Testing if new instance can be created by using different ID", ol1_test2 != ol1_test1);
48 CPPUNIT_ASSERT_MESSAGE(
49 "Testing if LayoutAnnotationRenderer and ManualPlacementAnnotationRenderer services are different",
53 void AnnotationTest() {}
MITK_TEST_SUITE_REGISTRATION(mitkImageToItk)
The LayoutAnnotationRenderer is used for the layouted placement of mitk::Annotation Objects...
The ManualPlacementAnnotationRenderer is used for the simple placement of mitk::Annotation Objects...
#define MITK_TEST(TESTMETHOD)
Adds a test to the current test suite.
Test fixture for parameterized tests.
static ManualPlacementAnnotationRenderer * GetAnnotationRenderer(const std::string &rendererID)
Baseclass of Annotation layouters An AbstractAnnotationRenderer can be implemented to control a set o...
static LayoutAnnotationRenderer * GetAnnotationRenderer(const std::string &rendererID)