Lines Matching refs:TEST_ASSERT_VAL
27 TEST_ASSERT_VAL("failed to set process name",
32 TEST_ASSERT_VAL("failed to alloc map", map);
36 TEST_ASSERT_VAL("wrong nr", map->nr == 1);
37 TEST_ASSERT_VAL("wrong pid",
39 TEST_ASSERT_VAL("wrong comm",
42 TEST_ASSERT_VAL("wrong refcnt",
48 TEST_ASSERT_VAL("failed to alloc map", map);
52 TEST_ASSERT_VAL("wrong nr", map->nr == 1);
53 TEST_ASSERT_VAL("wrong pid", perf_thread_map__pid(map, 0) == -1);
54 TEST_ASSERT_VAL("wrong comm",
57 TEST_ASSERT_VAL("wrong refcnt",
71 TEST_ASSERT_VAL("wrong nr", map->nr == 1);
72 TEST_ASSERT_VAL("wrong pid", map->entries[0].pid == (u64) getpid());
73 TEST_ASSERT_VAL("wrong comm", !strcmp(map->entries[0].comm, NAME));
76 TEST_ASSERT_VAL("failed to alloc map", threads);
78 TEST_ASSERT_VAL("wrong nr", threads->nr == 1);
79 TEST_ASSERT_VAL("wrong pid",
81 TEST_ASSERT_VAL("wrong comm",
84 TEST_ASSERT_VAL("wrong refcnt",
94 TEST_ASSERT_VAL("failed to set process name",
99 TEST_ASSERT_VAL("failed to alloc map", threads);
103 TEST_ASSERT_VAL("failed to synthesize map",
115 TEST_ASSERT_VAL("failed to allocate map string",
121 TEST_ASSERT_VAL("failed to allocate thread_map",
127 TEST_ASSERT_VAL("failed to remove thread",
130 TEST_ASSERT_VAL("thread_map count != 1", threads->nr == 1);
135 TEST_ASSERT_VAL("failed to remove thread",
138 TEST_ASSERT_VAL("thread_map count != 0", threads->nr == 0);
143 TEST_ASSERT_VAL("failed to not remove thread",