Computer Assited Medical Intervention Tool Kit  version 4.1
Functions | Variables
applications/testcomponents/main.cpp File Reference
#include <Application.h>
#include <MainWindow.h>
#include <Core.h>
#include <ExtensionManager.h>
#include <Log.h>
#include "CommandLineOptions.hxx"

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()

int main ( int  argc,
char *  argv[] 
)

◆ testFailed()

void testFailed ( )

Referenced by main().

◆ testInit()

void testInit ( std::string  msg)

Referenced by main().

◆ testPassed()

void testPassed ( )

Referenced by main().

◆ usage()

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

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

Referenced by main().

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().