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