Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkPointSetWriterTest.cpp File Reference
#include "mitkPointSet.h"
#include "mitkFileWriterSelector.h"
#include "mitkTestingMacros.h"
#include <iostream>
#include <time.h>

Go to the source code of this file.

Functions

int mitkPointSetWriterTest (int, char *[])
 

Function Documentation

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 33 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().