Home | History | Annotate | Download | only in tests

Lines Matching refs:Reporter

21 static void test_rectanizer_basic(skiatest::Reporter* reporter, GrRectanizer* rectanizer) {
22 REPORTER_ASSERT(reporter, kWidth == rectanizer->width());
23 REPORTER_ASSERT(reporter, kHeight == rectanizer->height());
27 REPORTER_ASSERT(reporter, rectanizer->addRect(50, 50, &loc));
28 REPORTER_ASSERT(reporter, rectanizer->percentFull() > 0.0f);
30 REPORTER_ASSERT(reporter, rectanizer->percentFull() == 0.0f);
33 static void test_rectanizer_inserts(skiatest::Reporter*,
47 static void test_skyline(skiatest::Reporter* reporter, const SkTDArray<SkISize>& rects) {
50 test_rectanizer_basic(reporter, &skylineRectanizer);
51 test_rectanizer_inserts(reporter, &skylineRectanizer, rects);
54 static void test_pow2(skiatest::Reporter* reporter, const SkTDArray<SkISize>& rects) {
57 test_rectanizer_basic(reporter, &pow2Rectanizer);
58 test_rectanizer_inserts(reporter, &pow2Rectanizer, rects);
61 DEF_GPUTEST(GpuRectanizer, reporter, factory) {
70 test_skyline(reporter, rects);
71 test_pow2(reporter, rects);