Go to the source code of this file.
Defines | |
#define | ITK_TEST_DIMENSION_MAX 6 |
#define | REGISTER_TEST(test) |
Typedefs | |
typedef int(* | MainFuncPointer )(int, char *[]) |
Functions | |
int | main (int ac, char *av[]) |
void | PrintAvailableTests () |
void | RegisterTests () |
std::map< std::string, int > | RegressionTestBaselines (char *) |
int | RegressionTestImage (const char *testImageFilename, const char *baselineImageFilename, int reportErrors, double intensityTolerance=2.0, unsigned int numberOfPixelsTolerance=0, unsigned int radiusTolerance=0) |
Variables | |
std::map< std::string, MainFuncPointer > | StringToTestFunctionMap |
#define ITK_TEST_DIMENSION_MAX 6 |
Definition at line 46 of file itkTestMain.h.
#define REGISTER_TEST | ( | test | ) |
extern int test(int, char* [] ); \ StringToTestFunctionMap[#test] = test
Definition at line 51 of file itkTestMain.h.
typedef int(* MainFuncPointer)(int, char *[]) |
Definition at line 48 of file itkTestMain.h.
int main | ( | int | ac, | |
char * | av[] | |||
) |
Definition at line 78 of file itkTestMain.h.
References PrintAvailableTests(), RegisterTests(), RegressionTestBaselines(), RegressionTestImage(), itk::MultiThreader::SetGlobalDefaultNumberOfThreads(), and StringToTestFunctionMap.
void PrintAvailableTests | ( | ) |
Definition at line 65 of file itkTestMain.h.
References StringToTestFunctionMap.
Referenced by main().
void RegisterTests | ( | ) |
Referenced by main().
std::map< std::string, int > RegressionTestBaselines | ( | char * | baselineFilename | ) |
Definition at line 465 of file itkTestMain.h.
Referenced by main().
int RegressionTestImage | ( | const char * | testImageFilename, | |
const char * | baselineImageFilename, | |||
int | reportErrors, | |||
double | intensityTolerance = 2.0 , |
|||
unsigned int | numberOfPixelsTolerance = 0 , |
|||
unsigned int | radiusTolerance = 0 | |||
) |
Definition at line 239 of file itkTestMain.h.
References HardConnectedComponentImageFilter::New().
Referenced by main().
std::map<std::string, MainFuncPointer> StringToTestFunctionMap |
Definition at line 49 of file itkTestMain.h.
Referenced by main(), and PrintAvailableTests().