Lines Matching refs:Reporter
71 static void run_queries(skiatest::Reporter* reporter, SkRandom& rand, DataRect rects[],
77 REPORTER_ASSERT(reporter, verify_query(query, rects, hits));
81 static void rtree_test_main(SkRTree* rtree, skiatest::Reporter* reporter) {
84 REPORTER_ASSERT(reporter, NULL != rtree);
111 run_queries(reporter, rand, rects, *rtree);
112 REPORTER_ASSERT(reporter, NUM_RECTS == rtree->getCount());
113 REPORTER_ASSERT(reporter, expectedDepthMin <= rtree->getDepth() &&
116 REPORTER_ASSERT(reporter, 0 == rtree->getCount());
122 run_queries(reporter, rand, rects, *rtree);
123 REPORTER_ASSERT(reporter, NUM_RECTS == rtree->getCount());
124 REPORTER_ASSERT(reporter, expectedDepthMin <= rtree->getDepth() &&
127 REPORTER_ASSERT(reporter, 0 == rtree->getCount());
133 run_queries(reporter, rand, rects, *rtree);
134 REPORTER_ASSERT(reporter, NUM_RECTS == rtree->getCount());
135 REPORTER_ASSERT(reporter, expectedDepthMin <= rtree->getDepth() &&
138 REPORTER_ASSERT(reporter, 0 == rtree->getCount());
142 DEF_TEST(RTree, reporter) {
145 rtree_test_main(rtree, reporter);
150 rtree_test_main(unsortedRtree, reporter);