Home
last modified time | relevance | path

Searched refs:zexpect (Results 1 – 1 of 1) sorted by relevance

/Zephyr-Core-3.6.0/subsys/testsuite/ztest/include/zephyr/
Dztest_assert.h255 #define zexpect(cond, default_msg, ...) \ macro
579 #define zexpect_true(cond, ...) zexpect(cond, #cond " is false", ##__VA_ARGS__)
587 #define zexpect_false(cond, ...) zexpect(!(cond), #cond " is true", ##__VA_ARGS__)
596 #define zexpect_ok(cond, ...) zexpect(!(cond), #cond " is non-zero", ##__VA_ARGS__)
605 #define zexpect_not_ok(cond, ...) zexpect(!!(cond), #cond " is zero", ##__VA_ARGS__)
613 #define zexpect_is_null(ptr, ...) zexpect((ptr) == NULL, #ptr " is not NULL", ##__VA_ARGS__)
621 #define zexpect_not_null(ptr, ...) zexpect((ptr) != NULL, #ptr " is NULL", ##__VA_ARGS__)
631 #define zexpect_equal(a, b, ...) zexpect((a) == (b), #a " not equal to " #b, ##__VA_ARGS__)
643 #define zexpect_not_equal(a, b, ...) zexpect((a) != (b), #a " equal to " #b, ##__VA_ARGS__)
655 zexpect((void *)(a) == (void *)(b), #a " not equal to " #b, ##__VA_ARGS__)
[all …]