Define here the tools used by more test programs.
void _clipm_testlib_call_testfunction |
( |
void(*)(void) |
testfunc, |
|
|
const char * |
name |
|
) |
| |
int clipm_testlib_end |
( |
void |
| ) |
|
Shuts down CPL and logging etc.
- Returns
- Error code, 0 for NONE
void clipm_testlib_init |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Initializes CPL and message levels.
- Parameters
-
- Returns
- void
int clipm_testlib_is_verbose |
( |
void |
| ) |
|
Return whether verbose mode is set.
- Returns
- 1 or 0.
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()
.
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()
.
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()
.
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()
.