Searched refs:TEST_ASSERT_EQUAL (Results 1 – 5 of 5) sorted by relevance
/linux/tools/perf/tests/ |
A D | expr.c | 21 TEST_ASSERT_EQUAL("union", (int)hashmap__size(ids1), 0); in test_ids_union() 27 TEST_ASSERT_EQUAL("ids__insert", ids__insert(ids1, strdup("foo")), 0); in test_ids_union() 28 TEST_ASSERT_EQUAL("ids__insert", ids__insert(ids1, strdup("bar")), 0); in test_ids_union() 31 TEST_ASSERT_EQUAL("union", (int)hashmap__size(ids1), 2); in test_ids_union() 36 TEST_ASSERT_EQUAL("ids__insert", ids__insert(ids2, strdup("foo")), 0); in test_ids_union() 39 TEST_ASSERT_EQUAL("union", (int)hashmap__size(ids1), 2); in test_ids_union() 44 TEST_ASSERT_EQUAL("ids__insert", ids__insert(ids2, strdup("bar")), 0); in test_ids_union() 45 TEST_ASSERT_EQUAL("ids__insert", ids__insert(ids2, strdup("baz")), 0); in test_ids_union() 48 TEST_ASSERT_EQUAL("union", (int)hashmap__size(ids1), 3); in test_ids_union() 73 TEST_ASSERT_EQUAL("ids_union", test_ids_union(), 0); in test__expr()
|
A 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()
|
A D | pfm.c | 75 TEST_ASSERT_EQUAL(table[i].events, in test__pfm_events() 78 TEST_ASSERT_EQUAL(table[i].events, in test__pfm_events() 160 TEST_ASSERT_EQUAL(table[i].events, in test__pfm_group() 163 TEST_ASSERT_EQUAL(table[i].events, in test__pfm_group()
|
A D | expand-cgroup.c | 230 TEST_ASSERT_EQUAL("failed to expand default events", ret, 0); in test__expand_cgroup_events() 233 TEST_ASSERT_EQUAL("failed to expand event group", ret, 0); in test__expand_cgroup_events() 236 TEST_ASSERT_EQUAL("failed to expand event group", ret, 0); in test__expand_cgroup_events() 239 TEST_ASSERT_EQUAL("failed to expand metric events", ret, 0); in test__expand_cgroup_events()
|
A D | tests.h | 15 #define TEST_ASSERT_EQUAL(text, val, expected) \ macro
|
Completed in 6 milliseconds