Computer Assisted Medical Intervention Tool Kit  version 5.2
applications/testcomponents/main.cpp File Reference
#include <Application.h>
#include <MainWindow.h>
#include <Core.h>
#include <ExtensionManager.h>
#include <Log.h>
#include "CommandLineOptions.hxx"
+ Include dependency graph for applications/testcomponents/main.cpp:

Functions

int main (int argc, char *argv[])
 Testing tool to check component extension validity. More...
 
void testFailed ()
 
void testInit (std::string msg)
 
void testPassed ()
 
void usage (std::string msg="")
 

Variables

const char * description
 
const int LEVEL1 = 1
 
const int LEVEL2 = 2
 

Function Documentation

◆ main()

◆ testFailed()

void testFailed ( )

Referenced by main().

+ Here is the caller graph for this function:

◆ testInit()

void testInit ( std::string  msg)

Referenced by main().

+ Here is the caller graph for this function:

◆ testPassed()

void testPassed ( )

Referenced by main().

+ Here is the caller graph for this function:

◆ usage()

void usage ( std::string  msg = "")

References description, and camitk::Core::version.

Referenced by main().

+ Here is the caller graph for this function:

Variable Documentation

◆ description

const char* description
Initial value:
= "camitk-testcomponents aims at testing a component extension\n" "individually. There are two possible levels of test:\n"
"- level 1 will create a CamiTK application, load the extension\n"
"and then open the provided component file. It verifies that the\n"
"extension can be loaded without error and that the managed file (of\n" "corresponding extension) can be opened without error.\n"
"- level 2 will do the same as level 1 plus save the component to\n"
"a new file and then close the component. It verifies that saving\n"
"the file and closing the file can be done without error.\n\n"
"Please visit http://camitk.imag.fr for more information.\n"
"(c) Univ. Grenoble Alpes, CNRS, TIMC-IMAG UMR 5525"

Referenced by usage().

◆ LEVEL1

const int LEVEL1 = 1

Referenced by main().

◆ LEVEL2

const int LEVEL2 = 2

Referenced by main().