Home
last modified time | relevance | path

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

/Zephyr-latest/tests/lib/devicetree/api/src/
Dmain.c30 #define TEST_MODEL DT_NODELABEL(test_vendor) macro
579 zassert_true(DT_NODE_MODEL_HAS_IDX(TEST_MODEL, 0), ""); in ZTEST()
580 zassert_false(DT_NODE_MODEL_HAS_IDX(TEST_MODEL, 1), ""); in ZTEST()
581 zassert_true(DT_NODE_MODEL_HAS_IDX(TEST_MODEL, 2), ""); in ZTEST()
582 zassert_false(DT_NODE_MODEL_HAS_IDX(TEST_MODEL, 3), ""); in ZTEST()
585 zassert_true(!strcmp(DT_NODE_MODEL_BY_IDX(TEST_MODEL, 0), VND_MODEL), ""); in ZTEST()
586 zassert_true(!strcmp(DT_NODE_MODEL_BY_IDX(TEST_MODEL, 2), ZEP_MODEL), ""); in ZTEST()
589 zassert_true(!strcmp(DT_NODE_MODEL_BY_IDX_OR(TEST_MODEL, 0, NULL), VND_MODEL), ""); in ZTEST()
590 zassert_is_null(DT_NODE_MODEL_BY_IDX_OR(TEST_MODEL, 1, NULL), ""); in ZTEST()
591 zassert_true(!strcmp(DT_NODE_MODEL_BY_IDX_OR(TEST_MODEL, 2, NULL), ZEP_MODEL), ""); in ZTEST()
[all …]