Lines Matching refs:expected
177 static int do_test(struct hists *hists, struct result *expected, size_t nr_expected, in do_test() argument
210 TEST_ASSERT_VAL(buf, he->stat.period == expected[i].self && in do_test()
211 !strcmp(COMM(he), expected[i].comm) && in do_test()
212 !strcmp(DSO(he), expected[i].dso) && in do_test()
213 !strcmp(SYM(he), expected[i].sym)); in do_test()
216 TEST_ASSERT_VAL(buf, he->stat_acc->period == expected[i].children); in do_test()
269 struct result expected[] = { in test1() local
292 err = do_test(hists, expected, ARRAY_SIZE(expected), NULL, 0); in test1()
367 struct result expected[] = { in test2() local
439 err = do_test(hists, expected, ARRAY_SIZE(expected), in test2()
471 struct result expected[] = { in test3() local
497 err = do_test(hists, expected, ARRAY_SIZE(expected), NULL, 0); in test3()
591 struct result expected[] = { in test4() local
683 err = do_test(hists, expected, ARRAY_SIZE(expected), in test4()