Searched refs:TEST_ASSERT_EQUAL (Results 1 – 5 of 5) sorted by relevance
/kernel/liteos_m/testsuites/unittest/posix/src/ |
D | posix_test.h | 51 #define TEST_ASSERT_EQUAL(expected, actual) ICUNIT_ASSERT_EQUAL(expected, actual, actual) macro 52 #define TEST_ASSERT_EQUAL_INT(expected, actual) TEST_ASSERT_EQUAL(expected, actual) 53 #define TEST_ASSERT_EQUAL_INT32(expected, actual) TEST_ASSERT_EQUAL(expected, actual) 54 #define TEST_ASSERT_EQUAL_INT64(expected, actual) TEST_ASSERT_EQUAL(expected, actual) 55 #define TEST_ASSERT_EQUAL_UINT32(expected, actual) TEST_ASSERT_EQUAL(expected, actual) 56 #define TEST_ASSERT_EQUAL_UINT64(expected, actual) TEST_ASSERT_EQUAL(expected, actual) 57 #define TEST_ASSERT_NULL(ptr) TEST_ASSERT_EQUAL(NULL, ptr) 58 #define TEST_ASSERT_EQUAL_PTR(expected, actual) TEST_ASSERT_EQUAL(expected, actual)
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
D | thread-maps-share.c | 46 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(&maps->refcnt), 4); in test__thread_maps_share() 74 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(&other_maps->refcnt), 2); in test__thread_maps_share() 80 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(&maps->refcnt), 3); in test__thread_maps_share() 83 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(&maps->refcnt), 2); in test__thread_maps_share() 86 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(&maps->refcnt), 1); in test__thread_maps_share() 92 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(&other_maps->refcnt), 1); in test__thread_maps_share()
|
D | pfm.c | 95 TEST_ASSERT_EQUAL(table[i].events, in test__pfm_events() 98 TEST_ASSERT_EQUAL(table[i].events, in test__pfm_events() 169 TEST_ASSERT_EQUAL(table[i].events, in test__pfm_group() 172 TEST_ASSERT_EQUAL(table[i].events, in test__pfm_group()
|
D | expand-cgroup.c | 229 TEST_ASSERT_EQUAL("failed to expand default events", ret, 0); in test__expand_cgroup_events() 232 TEST_ASSERT_EQUAL("failed to expand event group", ret, 0); in test__expand_cgroup_events() 235 TEST_ASSERT_EQUAL("failed to expand event group", ret, 0); in test__expand_cgroup_events() 238 TEST_ASSERT_EQUAL("failed to expand metric events", ret, 0); in test__expand_cgroup_events()
|
D | tests.h | 15 #define TEST_ASSERT_EQUAL(text, val, expected) \ macro
|