Home | History | Annotate | Download | only in tests

Lines Matching refs:Reporter

12 static void test_monotonic(skiatest::Reporter* reporter,
26 REPORTER_ASSERT_MESSAGE(reporter, n <= length, msg);
27 REPORTER_ASSERT_MESSAGE(reporter, m <= width, msg);
30 REPORTER_ASSERT_MESSAGE(reporter, m == 0, msg);
34 REPORTER_ASSERT_MESSAGE(reporter, m == mm, msg);
36 REPORTER_ASSERT_MESSAGE(reporter, n > nn, msg);
37 REPORTER_ASSERT_MESSAGE(reporter, m > mm, msg);
45 static void test_eq_measure_text(skiatest::Reporter* reporter,
55 REPORTER_ASSERT_MESSAGE(reporter, length2 == length, msg);
56 REPORTER_ASSERT_MESSAGE(reporter, mm == width, msg);
59 static void test_long_text(skiatest::Reporter* reporter,
71 REPORTER_ASSERT_MESSAGE(reporter, length == kSize, msg);
72 REPORTER_ASSERT_MESSAGE(reporter, mm == width, msg);
75 DEF_TEST(PaintBreakText, reporter) {
77 test_monotonic(reporter, paint, "default");
78 test_eq_measure_text(reporter, paint, "default");
79 test_long_text(reporter, paint, "default");
81 test_monotonic(reporter, paint, "huge text size");
82 test_eq_measure_text(reporter, paint, "huge text size");
84 test_monotonic(reporter, paint, "zero text size");