Lines Matching refs:TEST_MODEL
30 #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()
592 zassert_is_null(DT_NODE_MODEL_BY_IDX_OR(TEST_MODEL, 3, NULL), ""); in ZTEST()
595 zassert_true(!strcmp(DT_NODE_MODEL_OR(TEST_MODEL, NULL), VND_MODEL), ""); in ZTEST()