Searched refs:TEST_VENDOR (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/lib/devicetree/api/src/ |
D | main.c | 29 #define TEST_VENDOR DT_NODELABEL(test_vendor) macro 554 zassert_true(DT_NODE_VENDOR_HAS_IDX(TEST_VENDOR, 0), ""); in ZTEST() 555 zassert_false(DT_NODE_VENDOR_HAS_IDX(TEST_VENDOR, 1), ""); in ZTEST() 556 zassert_true(DT_NODE_VENDOR_HAS_IDX(TEST_VENDOR, 2), ""); in ZTEST() 557 zassert_false(DT_NODE_VENDOR_HAS_IDX(TEST_VENDOR, 3), ""); in ZTEST() 560 zassert_true(!strcmp(DT_NODE_VENDOR_BY_IDX(TEST_VENDOR, 0), VND_VENDOR), ""); in ZTEST() 561 zassert_true(!strcmp(DT_NODE_VENDOR_BY_IDX(TEST_VENDOR, 2), ZEP_VENDOR), ""); in ZTEST() 564 zassert_true(!strcmp(DT_NODE_VENDOR_BY_IDX_OR(TEST_VENDOR, 0, NULL), VND_VENDOR), ""); in ZTEST() 565 zassert_is_null(DT_NODE_VENDOR_BY_IDX_OR(TEST_VENDOR, 1, NULL), ""); in ZTEST() 566 zassert_true(!strcmp(DT_NODE_VENDOR_BY_IDX_OR(TEST_VENDOR, 2, NULL), ZEP_VENDOR), ""); in ZTEST() [all …]
|