#include <cpl.h>
#include <clipm_priv_error.h>
#include <clipm_compatibility_cpl.h>
#include <string.h>
Go to the source code of this file.
#define __file__ __FILE__ |
#define clipm_testlib_expected_message |
( |
|
EXPECTED, |
|
|
|
GOT_CODE |
|
) |
| |
Value:
"-> expected error %d,", \
" got error %d,", \
" in %s: line %d", \
__func__, \
__LINE__); \
} while (0)
void clipm_testlib_msg_error(const char *format,...)
Display an error message.
Definition: clipm_testlib_base.c:294
#define clipm_testlib_image_save_if_verbose |
( |
|
image, |
|
|
|
descriptor |
|
) |
| |
Value:
__func__, \
descriptor, \
-1); \
} while (0)
#define clipm_testlib_image_save_if_verbose_nr |
( |
|
image, |
|
|
|
descriptor, |
|
|
|
nr |
|
) |
| |
Value:
__func__, \
descriptor, \
nr); \
} while (0)
#define CLIPM_TRY_TESTLIB_ASSERT |
( |
|
CONDITION | ) |
|
Value:do { \
if (!(CONDITION)) \
"Not fulfilling condition \"%s\"", #CONDITION);
\
} \
else \
{ \
cpl_msg_indent_less(); \
} \
} while (0)
void clipm_testlib_msg_debug(const char *format,...)
Display a debug message.
Definition: clipm_testlib_base.c:360
#define CLIPM_TRY_EXIT_WITH_ERROR(code)
Set a new CPL error, and exit the try-block.
Definition: clipm_priv_error.h:423
void clipm_testlib_msg_error(const char *format,...)
Display an error message.
Definition: clipm_testlib_base.c:294
#define CLIPM_TRY_TESTLIB_ASSERT_ZERO |
( |
|
VALUE, |
|
|
|
TOLERANCE |
|
) |
| |
#define CLIPM_TRY_TESTLIB_CHECK_RETURN_ERROR_AND_RECOVER |
( |
|
FUNC, |
|
|
|
CODE, |
|
|
|
OTHER_CONDITION |
|
) |
| |
#define CLIPM_TRY_TESTLIB_DONT_CHECK |
( |
|
CODE | ) |
|
Value:
"Note: check for error code %d not implemented/possible", \
(CODE));
void clipm_testlib_msg_info(const char *format,...)
Display an information message.
Definition: clipm_testlib_base.c:338