Lines Matching refs:Reporter
24 static void test_center(skiatest::Reporter* reporter) {
33 REPORTER_ASSERT(reporter,
35 REPORTER_ASSERT(reporter,
47 REPORTER_ASSERT(reporter, ((r.left() + r.right()) >> 1) == cx);
48 REPORTER_ASSERT(reporter, ((r.top() + r.bottom()) >> 1) == cy);
52 static void check_invalid(skiatest::Reporter* reporter,
56 REPORTER_ASSERT(reporter, !rect.isFinite());
61 DEF_TEST(InfRect, reporter) {
73 REPORTER_ASSERT(reporter, SkRect::MakeEmpty().isFinite());
76 REPORTER_ASSERT(reporter, rect.isFinite());
80 check_invalid(reporter, small, small, big, invalid[i]);
81 check_invalid(reporter, small, small, invalid[i], big);
82 check_invalid(reporter, small, invalid[i], big, big);
83 check_invalid(reporter, invalid[i], small, big, big);
86 test_center(reporter);