Github User Fetcher 1.0.0
C Application with Server and GUI
|
Report hooks. More...
#include "internal/hooks.h"
Go to the source code of this file.
Macros | |
#define | ReportHook(Kind) CR_REPORT_HOOK_IMPL(Kind) |
Typedefs | |
typedef void(* | f_report_hook) (void *) |
Enumerations | |
enum | e_report_status { PRE_ALL , PRE_SUITE , PRE_INIT , PRE_TEST , ASSERT , THEORY_FAIL , TEST_CRASH , POST_TEST , POST_FINI , POST_SUITE , POST_ALL } |
Report hooks.
Definition in file hooks.h.
#define ReportHook | ( | Kind | ) | CR_REPORT_HOOK_IMPL(Kind) |
ReportHook(Kind)(Type *param) { Function Body }
Defines a report hook for the phase defined by Kind.
The type of the parameter depends on the phase:
Kind | The report phase to hook the function onto. |
enum e_report_status |
This enum lists all the phases of the runner lifecycle.
Enumerator | |
---|---|
PRE_ALL | |
PRE_SUITE | |
PRE_INIT | |
PRE_TEST | |
ASSERT | |
THEORY_FAIL | |
TEST_CRASH | |
POST_TEST | |
POST_FINI | |
POST_SUITE | |
POST_ALL |
Definition at line 36 of file hooks.h.