Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/testsuite/ztest/include/zephyr/
Dztest_assert.h231 #define zassume(cond, default_msg, ...) \ macro
429 #define zassume_true(cond, ...) zassume(cond, #cond " is false", ##__VA_ARGS__)
439 #define zassume_false(cond, ...) zassume(!(cond), #cond " is true", ##__VA_ARGS__)
449 #define zassume_ok(cond, ...) zassume(!(cond), #cond " is non-zero", ##__VA_ARGS__)
459 #define zassume_not_ok(cond, ...) zassume(!!(cond), #cond " is zero", ##__VA_ARGS__)
469 #define zassume_is_null(ptr, ...) zassume((ptr) == NULL, #ptr " is not NULL", ##__VA_ARGS__)
479 #define zassume_not_null(ptr, ...) zassume((ptr) != NULL, #ptr " is NULL", ##__VA_ARGS__)
491 #define zassume_equal(a, b, ...) zassume((a) == (b), #a " not equal to " #b, ##__VA_ARGS__)
503 #define zassume_not_equal(a, b, ...) zassume((a) != (b), #a " equal to " #b, ##__VA_ARGS__)
516 zassume((void *)(a) == (void *)(b), #a " not equal to " #b, ##__VA_ARGS__)
[all …]
/Zephyr-latest/tests/ztest/fail/
DKconfig26 bool "Add a test which fails a zassume() call"
/Zephyr-latest/subsys/testsuite/ztest/
DKconfig213 that while tests will still be marked as skipped on failed zassume calls, the final test
/Zephyr-latest/doc/releases/
Drelease-notes-3.2.rst2106 * :github:`48665` - tests/usb/device: Add zassert to match zassume usage.