Define here the tools used by more test programs.
◆ _clipm_testlib_call_testfunction()
void _clipm_testlib_call_testfunction |
( |
void(*)(void) | testfunc, |
|
|
const char * | name ) |
◆ clipm_testlib_end()
int clipm_testlib_end |
( |
void | | ) |
|
Shuts down CPL and logging etc.
- Returns
- Error code, 0 for NONE
◆ clipm_testlib_init()
void clipm_testlib_init |
( |
int | argc, |
|
|
char ** | argv ) |
Initializes CPL and message levels.
- Parameters
-
- Returns
- void
◆ clipm_testlib_is_verbose()
int clipm_testlib_is_verbose |
( |
void | | ) |
|
Return whether verbose mode is set.
- Returns
- 1 or 0.
◆ clipm_testlib_msg_debug()
void clipm_testlib_msg_debug |
( |
const char * | format, |
|
|
| ... ) |
Display a debug message.
- Returns
- Nothing.
- Parameters
-
format | Format string. |
... | Variable argument list associated to the format string. |
See the description of the function cpl_msg_error()
.
◆ clipm_testlib_msg_error()
void clipm_testlib_msg_error |
( |
const char * | format, |
|
|
| ... ) |
Display an error message.
- Returns
- Nothing.
- Parameters
-
format | Format string. |
... | Variable argument list associated to the format string. |
See the description of the function cpl_msg_error()
.
◆ clipm_testlib_msg_info()
void clipm_testlib_msg_info |
( |
const char * | format, |
|
|
| ... ) |
Display an information message.
- Returns
- Nothing.
- Parameters
-
format | Format string. |
... | Variable argument list associated to the format string. |
See the description of the function cpl_msg_error()
.
◆ clipm_testlib_msg_warning()
void clipm_testlib_msg_warning |
( |
const char * | format, |
|
|
| ... ) |
Display a warning message.
- Returns
- Nothing.
- Parameters
-
format | Format string. |
... | Variable argument list associated to the format string. |
See the description of the function cpl_msg_error()
.