Github User Fetcher 1.0.0
C Application with Server and GUI
|
Macros | |
#define | cr_assert_null(Value, FormatString, ...) internal |
#define | cr_expect_null(Value, FormatString, ...) internal |
#define | cr_assert_not_null(Value, FormatString, ...) internal |
#define | cr_expect_not_null(Value, FormatString, ...) internal |
#define cr_assert_not_null | ( | Value, | |
FormatString, | |||
... ) internal |
Passes if Value is not NULL
Passes if Value is not NULL. Otherwise the test is marked as failure and the execution of the function is aborted.
The optional string is printed on failure.
#define cr_assert_null | ( | Value, | |
FormatString, | |||
... ) internal |
Passes if Value is NULL
Passes if Value is NULL. Otherwise the test is marked as failure and the execution of the function is aborted.
The optional string is printed on failure.
[in] | Actual | Value to test |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_expect_not_null | ( | Value, | |
FormatString, | |||
... ) internal |
Passes if Value is not NULL
Passes if Value is not NULL. Otherwise the test is marked as failure but the execution will continue.
The optional string is printed on failure.
#define cr_expect_null | ( | Value, | |
FormatString, | |||
... ) internal |