Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkDICOMFileReaderTest.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 
15 
16 #include "mitkTestingMacros.h"
17 
18 int mitkDICOMFileReaderTest(int argc, char* argv[])
19 {
20  MITK_TEST_BEGIN("mitkDICOMFileReaderTest");
21 
22  mitk::DICOMNullFileReader::Pointer simpleReader = mitk::DICOMNullFileReader::New();
23  MITK_TEST_CONDITION_REQUIRED(simpleReader.IsNotNull(), "DICOMNullFileReader can be instantiated.");
24 
26 
29 
30  MITK_TEST_END();
31 }
#define MITK_TEST_CONDITION_REQUIRED(COND, MSG)
static Pointer New()
section GeneralTestsDeprecatedOldTestingStyle Deprecated macros All tests with MITK_TEST_BEGIN()
int mitkDICOMFileReaderTest(int argc, char *argv[])
static void TestOutputsContainInputs(DICOMFileReader *reader)
static void SetTestInputFilenames(int argc, char *argv[])
and MITK_TEST_END()
static void TestInputFilenames(DICOMFileReader *reader)