Lines Matching refs:Reporter
21 static void test_center(skiatest::Reporter* reporter) {
30 REPORTER_ASSERT(reporter,
32 REPORTER_ASSERT(reporter,
44 REPORTER_ASSERT(reporter, ((r.left() + r.right()) >> 1) == cx);
45 REPORTER_ASSERT(reporter, ((r.top() + r.bottom()) >> 1) == cy);
49 static void check_invalid(skiatest::Reporter* reporter,
53 REPORTER_ASSERT(reporter, !rect.isFinite());
58 DEF_TEST(InfRect, reporter) {
65 REPORTER_ASSERT(reporter, SkRect::MakeEmpty().isFinite());
68 REPORTER_ASSERT(reporter, rect.isFinite());
72 check_invalid(reporter, small, small, big, invalid[i]);
73 check_invalid(reporter, small, small, invalid[i], big);
74 check_invalid(reporter, small, invalid[i], big, big);
75 check_invalid(reporter, invalid[i], small, big, big);
78 test_center(reporter);