Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkCoreObjectFactoryTest.cpp
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #include "mitkCoreObjectFactory.h"
14 #include "mitkTestingMacros.h"
15 
16 int mitkCoreObjectFactoryTest(int /*argc*/, char * /*argv*/ [])
17 {
18  MITK_TEST_BEGIN("CoreObjectFactory")
19 
21  MITK_TEST_CONDITION_REQUIRED(instance.IsNotNull(), "Testing instantiation");
22  MITK_TEST_CONDITION(strcmp(instance->GetNameOfClass(), "CoreObjectFactory") == 0, "Is this a CoreObjectFactory?");
23 
25 }
#define MITK_TEST_CONDITION_REQUIRED(COND, MSG)
section GeneralTestsDeprecatedOldTestingStyle Deprecated macros All tests with MITK_TEST_BEGIN()
#define MITK_TEST_CONDITION(COND, MSG)
and MITK_TEST_END()
int mitkCoreObjectFactoryTest(int, char *[])