Searched refs:TEST_ABCD1234 (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/lib/devicetree/api/src/ |
D | main.c | 18 #define TEST_ABCD1234 DT_PATH(test, gpio_abcd1234) macro 131 zassert_true(DT_SAME_NODE(TEST_ABCD1234, TEST_GPIO_2), ""); in ZTEST() 132 zassert_equal(DT_NUM_REGS(TEST_ABCD1234), 2, ""); in ZTEST() 133 zassert_equal(DT_PROP(TEST_ABCD1234, gpio_controller), 1, ""); in ZTEST() 134 zassert_equal(DT_PROP(TEST_ABCD1234, ngpios), 200, ""); in ZTEST() 135 zassert_true(!strcmp(DT_PROP(TEST_ABCD1234, status), "okay"), ""); in ZTEST() 136 zassert_equal(DT_PROP_LEN(TEST_ABCD1234, compatible), 1, ""); in ZTEST() 137 zassert_equal(DT_PROP_LEN_OR(TEST_ABCD1234, compatible, 4), 1, ""); in ZTEST() 138 zassert_equal(DT_PROP_LEN_OR(TEST_ABCD1234, invalid_property, 0), 0, ""); in ZTEST() 139 zassert_true(!strcmp(DT_PROP_BY_IDX(TEST_ABCD1234, compatible, 0), in ZTEST() [all …]
|