Computer Assited Medical Intervention Tool Kit  version 4.1
Functions

Functions

 camitk_parse_test_add ()
 
 camitk_parse_test_add_separator ()
 
 camitk_parse_test_init ()
 
 camitk_parse_test_validate ()
 

Detailed Description

CamiTK CMake macros used generating the mediawiki tab containing the list of all functionnal tests, classified by CamiTK extensions with their given LEVEL.

See also
https://forge.imag.fr/plugins/mediawiki/wiki/camitk/index.php/Testing_level_in_CamiTK

Function Documentation

◆ camitk_parse_test_add()

camitk_parse_test_add ( )

macro camitk_parse_test_add adds an extension (action or component) automatic test level information Typically recursively call this function accross all actions and components to generate CamiTKTestsLevel.txt file.

Usage:

LEVEL
DESCRIPTION
)
Parameters
NAMEThe name of the test for the extension
LEVELThe level of automatic test (between 0, 1, 2, 3)
DESCRIPTIONThe description of the automatic test

◆ camitk_parse_test_add_separator()

camitk_parse_test_add_separator ( )

macro camitk_parse_test_add_separator adds an extension (action or component) separator entry. Typically call this macro before calling any instance of camitk_parse_test_add()

Usage:

camitk_parse_test_add(EXTENSION_TYPE
EXTENSION_NAME
)
Parameters
EXTENSION_TYPEThe type extension (action or component)
EXTENSION_NAMEThe name the extension

◆ camitk_parse_test_init()

camitk_parse_test_init ( )

MACRO camitk_parse_test_init create a CMake variable to store all the automatically generated tests for action & component level information.

usage:

◆ camitk_parse_test_validate()

camitk_parse_test_validate ( )

macro camitk_parse_test_validate generate the CamiTKTestsLevel.txt file which contains the CamiTK wiki entries (store in a tab) which describes for all CamiTK actions & components the different level of tests

Usage:

References set().

camitk_parse_test_init
camitk_parse_test_init()
Definition: CamiTKParseTestInit.h:10
camitk_parse_test_add
camitk_parse_test_add()
Definition: CamiTKParseTestAdd.h:18