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 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 REGISTER_TEST test   ) 
 

Value:

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


Typedef Documentation

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

Definition at line 44 of file itkTestMain.h.

Referenced by main().


Function Documentation

int main int  ac,
char *  av[]
 

Definition at line 68 of file itkTestMain.h.

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

void PrintAvailableTests  ) 
 

Definition at line 55 of file itkTestMain.h.

References StringToTestFunctionMap.

Referenced by main().

void RegisterTests  ) 
 

Referenced by main().

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

Definition at line 375 of file itkTestMain.h.

Referenced by main().

int RegressionTestImage const char *  ,
const char *  ,
int 
 

Definition at line 189 of file itkTestMain.h.

References HardConnectedComponentImageFilter::New().

Referenced by main().


Variable Documentation

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

Definition at line 45 of file itkTestMain.h.

Referenced by main(), and PrintAvailableTests().


Generated at Sat Mar 31 02:35:42 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000