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 45 of file itkTestMain.h.

Referenced by RegressionTestImage().

#define REGISTER_TEST test   ) 
 

Value:

extern int test(int, char* [] ); \
StringToTestFunctionMap[#test] = test

Definition at line 50 of file itkTestMain.h.


Typedef Documentation

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

Definition at line 47 of file itkTestMain.h.

Referenced by main().


Function Documentation

int main int  ac,
char *  av[]
 

Definition at line 71 of file itkTestMain.h.

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

void PrintAvailableTests  ) 
 

Definition at line 58 of file itkTestMain.h.

References StringToTestFunctionMap.

Referenced by main().

void RegisterTests  ) 
 

Referenced by main().

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

Definition at line 384 of file itkTestMain.h.

Referenced by main().

int RegressionTestImage const char *  ,
const char *  ,
int 
 

Definition at line 198 of file itkTestMain.h.

References ITK_TEST_DIMENSION_MAX.

Referenced by main().


Variable Documentation

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

Definition at line 48 of file itkTestMain.h.

Referenced by main(), and PrintAvailableTests().


Generated at Thu May 25 00:19:24 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000