Medical Imaging Interaction Toolkit  2018.4.99-93926fb8
Medical Imaging Interaction Toolkit
mitkPointSetWriterTest.cpp File Reference
#include "mitkPointSet.h"
#include "mitkFileWriterSelector.h"
#include "mitkTestingMacros.h"
#include <iostream>
#include <ctime>

Go to the source code of this file.


int mitkPointSetWriterTest (int, char *[])

Function Documentation

◆ mitkPointSetWriterTest()

int mitkPointSetWriterTest ( int  ,
char *  [] 

Test for the class "mitkPointSetFileWriter".

argc and argv are the command line parameters which were passed to the ADD_TEST command in the CMakeLists.txt file. For the automatic tests, argv is either empty for the simple tests or contains the filename of a test image for the image tests (see CMakeLists.txt).

Definition at line 29 of file mitkPointSetWriterTest.cpp.

References mitk::FileWriterSelector::Get(), MITK_TEST_BEGIN(), MITK_TEST_CONDITION_REQUIRED, MITK_TEST_END(), MITK_TEST_FAILED_MSG, mitk::PointSet::New(), mitk::IFileWriter::SetInput(), and mitk::IFileWriter::SetOutputLocation().