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 |
#define REGISTER_TEST | ( | test | ) |
Value:
extern int test(int, char* [] ); \ StringToTestFunctionMap[#test] = test
Definition at line 50 of file itkTestMain.h.
typedef int(*) MainFuncPointer(int, char *[]) |
Definition at line 47 of file itkTestMain.h.
int main | ( | int | ac, | |
char * | av[] | |||
) |
Definition at line 77 of file itkTestMain.h.
References NULL, PrintAvailableTests(), RegisterTests(), RegressionTestBaselines(), RegressionTestImage(), itk::MultiThreader::SetGlobalDefaultNumberOfThreads(), and StringToTestFunctionMap.
void PrintAvailableTests | ( | ) |
Definition at line 64 of file itkTestMain.h.
References StringToTestFunctionMap.
Referenced by main().
void RegisterTests | ( | ) |
Referenced by main().
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 | |||
) |
Definition at line 233 of file itkTestMain.h.
References ITK_TEST_DIMENSION_MAX.
Referenced by main().
std::map<std::string, MainFuncPointer> StringToTestFunctionMap |