Lines Matching refs:TEST_ASSERT_VAL
26 TEST_ASSERT_VAL("failed to set process name", in test__thread_map()
31 TEST_ASSERT_VAL("failed to alloc map", map); in test__thread_map()
35 TEST_ASSERT_VAL("wrong nr", map->nr == 1); in test__thread_map()
36 TEST_ASSERT_VAL("wrong pid", in test__thread_map()
38 TEST_ASSERT_VAL("wrong comm", in test__thread_map()
41 TEST_ASSERT_VAL("wrong refcnt", in test__thread_map()
47 TEST_ASSERT_VAL("failed to alloc map", map); in test__thread_map()
51 TEST_ASSERT_VAL("wrong nr", map->nr == 1); in test__thread_map()
52 TEST_ASSERT_VAL("wrong pid", perf_thread_map__pid(map, 0) == -1); in test__thread_map()
53 TEST_ASSERT_VAL("wrong comm", in test__thread_map()
56 TEST_ASSERT_VAL("wrong refcnt", in test__thread_map()
70 TEST_ASSERT_VAL("wrong nr", map->nr == 1); in process_event()
71 TEST_ASSERT_VAL("wrong pid", map->entries[0].pid == (u64) getpid()); in process_event()
72 TEST_ASSERT_VAL("wrong comm", !strcmp(map->entries[0].comm, NAME)); in process_event()
75 TEST_ASSERT_VAL("failed to alloc map", threads); in process_event()
77 TEST_ASSERT_VAL("wrong nr", threads->nr == 1); in process_event()
78 TEST_ASSERT_VAL("wrong pid", in process_event()
80 TEST_ASSERT_VAL("wrong comm", in process_event()
83 TEST_ASSERT_VAL("wrong refcnt", in process_event()
93 TEST_ASSERT_VAL("failed to set process name", in test__thread_map_synthesize()
98 TEST_ASSERT_VAL("failed to alloc map", threads); in test__thread_map_synthesize()
102 TEST_ASSERT_VAL("failed to synthesize map", in test__thread_map_synthesize()
114 TEST_ASSERT_VAL("failed to allocate map string", in test__thread_map_remove()
119 TEST_ASSERT_VAL("failed to allocate thread_map", in test__thread_map_remove()
125 TEST_ASSERT_VAL("failed to remove thread", in test__thread_map_remove()
128 TEST_ASSERT_VAL("thread_map count != 1", threads->nr == 1); in test__thread_map_remove()
133 TEST_ASSERT_VAL("failed to remove thread", in test__thread_map_remove()
136 TEST_ASSERT_VAL("thread_map count != 0", threads->nr == 0); in test__thread_map_remove()
141 TEST_ASSERT_VAL("failed to not remove thread", in test__thread_map_remove()