Github User Fetcher 1.0.0
C Application with Server and GUI
|
Functions to abort and continue tests. More...
#include "internal/common.h"
Go to the source code of this file.
Functions | |
CR_BEGIN_C_API CR_API CR_NORETURN void | criterion_abort_test (void) |
CR_API CR_NORETURN void | criterion_skip_test (const char *format,...) |
CR_API void | criterion_continue_test (void) |
CR_API void | criterion_test_die (const char *msg,...) |
Functions to abort and continue tests.
Definition in file abort.h.
CR_BEGIN_C_API CR_API CR_NORETURN void criterion_abort_test | ( | void | ) |
Aborts the current test, marking it as failed.
This function does not return.
CR_API void criterion_continue_test | ( | void | ) |
Continues the current test.
Used as a counterpart to criterion_abort_test.
CR_API CR_NORETURN void criterion_skip_test | ( | const char * | format, |
... ) |
Aborts the current test, marking it as skipped.
This function does not return.
CR_API void criterion_test_die | ( | const char * | msg, |
... ) |
Kills the current test, marking it as failed.
[in] | msg | printf like format string |
[in] | ... | Additional arguments depending on msg |