Lines Matching refs:expected
190 static int do_test(struct hists *hists, struct result *expected, size_t nr_expected,
223 TEST_ASSERT_VAL(buf, he->stat.period == expected[i].self &&
224 !strcmp(COMM(he), expected[i].comm) &&
225 !strcmp(DSO(he), expected[i].dso) &&
226 !strcmp(SYM(he), expected[i].sym));
229 TEST_ASSERT_VAL(buf, he->stat_acc->period == expected[i].children);
237 TEST_ASSERT_VAL("callchains expected", !RB_EMPTY_ROOT(root));
268 * expected output:
282 struct result expected[] = {
305 err = do_test(hists, expected, ARRAY_SIZE(expected), NULL, 0);
319 * expected output:
380 struct result expected[] = {
452 err = do_test(hists, expected, ARRAY_SIZE(expected),
467 * expected output:
484 struct result expected[] = {
510 err = do_test(hists, expected, ARRAY_SIZE(expected), NULL, 0);
524 * expected output:
604 struct result expected[] = {
696 err = do_test(hists, expected, ARRAY_SIZE(expected),