Lines Matching defs:reporter
5 static void check_convex_bounds(skiatest::Reporter* reporter, const SkPath& p,
7 REPORTER_ASSERT(reporter, p.isConvex());
8 REPORTER_ASSERT(reporter, p.getBounds() == bounds);
11 REPORTER_ASSERT(reporter, p2.isConvex());
12 REPORTER_ASSERT(reporter, p2.getBounds() == bounds);
16 REPORTER_ASSERT(reporter, other.isConvex());
17 REPORTER_ASSERT(reporter, other.getBounds() == bounds);
20 static void TestPath(skiatest::Reporter* reporter) {
34 REPORTER_ASSERT(reporter, p.isEmpty());
35 REPORTER_ASSERT(reporter, !p.isConvex());
36 REPORTER_ASSERT(reporter, p.getFillType() == SkPath::kWinding_FillType);
37 REPORTER_ASSERT(reporter, !p.isInverseFillType());
38 REPORTER_ASSERT(reporter, p == p2);
39 REPORTER_ASSERT(reporter, !(p != p2));
41 REPORTER_ASSERT(reporter, p.getBounds().isEmpty());
47 check_convex_bounds(reporter, p, bounds);
52 check_convex_bounds(reporter, p, bounds);
57 check_convex_bounds(reporter, p, bounds);
59 REPORTER_ASSERT(reporter, p != p2);
60 REPORTER_ASSERT(reporter, !(p == p2));
63 REPORTER_ASSERT(reporter, p.getPoints(NULL, 5) == 4);
66 REPORTER_ASSERT(reporter, count == 4);
68 REPORTER_ASSERT(reporter, bounds == bounds2);
72 REPORTER_ASSERT(reporter, bounds == p.getBounds());
75 REPORTER_ASSERT(reporter, p.isRect(NULL));
77 REPORTER_ASSERT(reporter, p.isRect(&bounds2));
78 REPORTER_ASSERT(reporter, bounds == bounds2);
83 REPORTER_ASSERT(reporter, !p.isRect(NULL));
90 REPORTER_ASSERT(reporter, pt.fX == SK_Scalar1);