Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkTestMain.h File Reference

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 RegressionTestImage (const char *, const char *, int)
std::map< std::string, int > RegressionTestBaselines (char *)
void RegisterTests ()
void PrintAvailableTests ()
int main (int ac, char *av[])

Variables

std::map< std::string, MainFuncPointerStringToTestFunctionMap


Define Documentation

#define ITK_TEST_DIMENSION_MAX   6
 

Definition at line 44 of file itkTestMain.h.

Referenced by RegressionTestImage().

#define REGISTER_TEST test   ) 
 

Value:

extern int test(int, char* [] ); \ StringToTestFunctionMap[#test] = test
Definition at line 49 of file itkTestMain.h.


Typedef Documentation

typedef int(* MainFuncPointer)(int, char *[])
 

Definition at line 46 of file itkTestMain.h.

Referenced by main().


Function Documentation

int main int  ac,
char *  av[]
 

Definition at line 70 of file itkTestMain.h.

References MainFuncPointer, NULL, PrintAvailableTests(), RegisterTests(), RegressionTestBaselines(), RegressionTestImage(), itk::MultiThreader::SetGlobalDefaultNumberOfThreads(), and StringToTestFunctionMap.

void PrintAvailableTests  ) 
 

Definition at line 57 of file itkTestMain.h.

References StringToTestFunctionMap.

Referenced by main().

void RegisterTests  ) 
 

Referenced by main().

std::map< std::string, int > RegressionTestBaselines char *   ) 
 

Definition at line 377 of file itkTestMain.h.

Referenced by main().

int RegressionTestImage const char *  ,
const char *  ,
int 
 

Definition at line 191 of file itkTestMain.h.

References ITK_TEST_DIMENSION_MAX, and HardConnectedComponentImageFilter::New().

Referenced by main().


Variable Documentation

std::map<std::string, MainFuncPointer> StringToTestFunctionMap
 

Definition at line 47 of file itkTestMain.h.

Referenced by main(), and PrintAvailableTests().


Generated at Sun Apr 1 02:48:19 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000