Github User Fetcher 1.0.0
C Application with Server and GUI
|
Macros | |
#define | cr_assert_fail(FormatString, ...) internal |
#define | cr_skip_test(FormatString, ...) internal |
#define | cr_expect_fail(FormatString, ...) internal |
#define | cr_assert(Condition, FormatString, ...) internal |
#define | cr_expect(Condition, FormatString, ...) internal |
#define | cr_assert_not(Condition, FormatString, ...) internal |
#define | cr_expect_not(Condition, FormatString, ...) internal |
#define cr_assert | ( | Condition, | |
FormatString, | |||
... ) internal |
Passes if Condition is true
Evaluates the condition and passes if it is true. Otherwise the test is marked as failure and the execution of the function is aborted.
The optional string is printed on failure.
[in] | Condition | Condition to test |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_assert_fail | ( | FormatString, | |
... ) internal |
#define cr_assert_not | ( | Condition, | |
FormatString, | |||
... ) internal |
Passes if Condition is false
Evaluates the condition and passes if it is false. Otherwise the test is marked as failure and the execution of the function is aborted.
The optional string is printed on failure.
[in] | Condition | Condition to test |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_expect | ( | Condition, | |
FormatString, | |||
... ) internal |
Passes if Condition is true
Evaluates the condition and passes if it is true. Otherwise the test is marked as failure but the execution will continue.
The optional string is printed on failure.
[in] | Condition | Condition to test |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_expect_fail | ( | FormatString, | |
... ) internal |
#define cr_expect_not | ( | Condition, | |
FormatString, | |||
... ) internal |
Passes if Condition is false
Evaluates the condition and passes if it is false. Otherwise the test is marked as failure but the execution will continue.
The optional string is printed on failure.
[in] | Condition | Condition to test |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |