Lines Matching refs:REPORTER_ASSERT

22     REPORTER_ASSERT(reporter, 0 == s.getSaveCount());  in test_assign_and_comparison()
26 REPORTER_ASSERT(reporter, 1 == s.getSaveCount()); in test_assign_and_comparison()
36 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); in test_assign_and_comparison()
44 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); in test_assign_and_comparison()
51 REPORTER_ASSERT(reporter, s == copy); in test_assign_and_comparison()
55 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); in test_assign_and_comparison()
56 REPORTER_ASSERT(reporter, s != copy); in test_assign_and_comparison()
60 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); in test_assign_and_comparison()
63 REPORTER_ASSERT(reporter, s == copy); in test_assign_and_comparison()
67 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); in test_assign_and_comparison()
69 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); in test_assign_and_comparison()
72 REPORTER_ASSERT(reporter, s != copy); in test_assign_and_comparison()
80 REPORTER_ASSERT(reporter, s == copy); in test_assign_and_comparison()
84 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); in test_assign_and_comparison()
86 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); in test_assign_and_comparison()
90 REPORTER_ASSERT(reporter, s != copy); in test_assign_and_comparison()
94 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); in test_assign_and_comparison()
97 REPORTER_ASSERT(reporter, 2 == copy.getSaveCount()); in test_assign_and_comparison()
98 REPORTER_ASSERT(reporter, s == copy); in test_assign_and_comparison()
100 REPORTER_ASSERT(reporter, 1 == s.getSaveCount()); in test_assign_and_comparison()
102 REPORTER_ASSERT(reporter, 1 == copy.getSaveCount()); in test_assign_and_comparison()
103 REPORTER_ASSERT(reporter, s == copy); in test_assign_and_comparison()
107 REPORTER_ASSERT(reporter, 0 == s.getSaveCount()); in test_assign_and_comparison()
109 REPORTER_ASSERT(reporter, 1 == s.getSaveCount()); in test_assign_and_comparison()
113 REPORTER_ASSERT(reporter, s != copy); in test_assign_and_comparison()
123 REPORTER_ASSERT(reporter, count == counter); in assert_count()
153 REPORTER_ASSERT(reporter, SkClipStack::Element::kRect_Type == element->getType()); in test_iterators()
154 REPORTER_ASSERT(reporter, element->getRect() == gRects[i]); in test_iterators()
168 REPORTER_ASSERT(reporter, SkClipStack::Element::kRect_Type == element->getType()); in test_iterators()
169 REPORTER_ASSERT(reporter, element->getRect() == gRects[i]); in test_iterators()
182 REPORTER_ASSERT(reporter, SkClipStack::Element::kRect_Type == element->getType()); in test_iterators()
183 REPORTER_ASSERT(reporter, element->getRect() == gRects[3]); in test_iterators()
278 REPORTER_ASSERT(reporter, !stack.isWideOpen()); in test_bounds()
279 REPORTER_ASSERT(reporter, SkClipStack::kWideOpenGenID != stack.getTopmostGenID()); in test_bounds()
285 REPORTER_ASSERT(reporter, isIntersectionOfRects == in test_bounds()
288 REPORTER_ASSERT(reporter, !isIntersectionOfRects); in test_bounds()
292 REPORTER_ASSERT(reporter, devClipBound == gAnswerRectsBW[testCase]); in test_bounds()
305 REPORTER_ASSERT(reporter, stack.isWideOpen()); in test_isWideOpen()
306 REPORTER_ASSERT(reporter, SkClipStack::kWideOpenGenID == stack.getTopmostGenID()); in test_isWideOpen()
318 REPORTER_ASSERT(reporter, stack.isWideOpen()); in test_isWideOpen()
319 REPORTER_ASSERT(reporter, SkClipStack::kWideOpenGenID == stack.getTopmostGenID()); in test_isWideOpen()
337 REPORTER_ASSERT(reporter, stack.isWideOpen()); in test_isWideOpen()
338 REPORTER_ASSERT(reporter, SkClipStack::kWideOpenGenID == stack.getTopmostGenID()); in test_isWideOpen()
347 REPORTER_ASSERT(reporter, stack.isWideOpen()); in test_isWideOpen()
348 REPORTER_ASSERT(reporter, SkClipStack::kWideOpenGenID == stack.getTopmostGenID()); in test_isWideOpen()
360 REPORTER_ASSERT(reporter, stack.isWideOpen()); in test_isWideOpen()
361 REPORTER_ASSERT(reporter, SkClipStack::kWideOpenGenID == stack.getTopmostGenID()); in test_isWideOpen()
372 REPORTER_ASSERT(reporter, !stack.isWideOpen()); in test_isWideOpen()
373 REPORTER_ASSERT(reporter, SkClipStack::kWideOpenGenID != stack.getTopmostGenID()); in test_isWideOpen()
377 REPORTER_ASSERT(reporter, stack.isWideOpen()); in test_isWideOpen()
378 REPORTER_ASSERT(reporter, SkClipStack::kWideOpenGenID == stack.getTopmostGenID()); in test_isWideOpen()
409 REPORTER_ASSERT(reporter, SkClipStack::kInsideOut_BoundsType == boundsType); in test_rect_inverse_fill()
410 REPORTER_ASSERT(reporter, bounds == rect); in test_rect_inverse_fill()
425 REPORTER_ASSERT(reporter, 0 == count(stack)); in test_rect_replace()
427 REPORTER_ASSERT(reporter, 1 == count(stack)); in test_rect_replace()
429 REPORTER_ASSERT(reporter, 1 == count(stack)); in test_rect_replace()
436 REPORTER_ASSERT(reporter, 0 == count(stack)); in test_rect_replace()
438 REPORTER_ASSERT(reporter, 1 == count(stack)); in test_rect_replace()
440 REPORTER_ASSERT(reporter, 1 == count(stack)); in test_rect_replace()
447 REPORTER_ASSERT(reporter, 0 == count(stack)); in test_rect_replace()
449 REPORTER_ASSERT(reporter, 1 == count(stack)); in test_rect_replace()
451 REPORTER_ASSERT(reporter, 1 == count(stack)); in test_rect_replace()
453 REPORTER_ASSERT(reporter, 1 == count(stack)); in test_rect_replace()
461 REPORTER_ASSERT(reporter, 1 == count(stack)); in test_rect_replace()
465 REPORTER_ASSERT(reporter, 2 == count(stack)); in test_rect_replace()
467 REPORTER_ASSERT(reporter, bound == rect); in test_rect_replace()
469 REPORTER_ASSERT(reporter, 1 == count(stack)); in test_rect_replace()
474 REPORTER_ASSERT(reporter, 2 == count(stack)); in test_rect_replace()
476 REPORTER_ASSERT(reporter, 1 == count(stack)); in test_rect_replace()
482 REPORTER_ASSERT(reporter, 2 == count(stack)); in test_rect_replace()
484 REPORTER_ASSERT(reporter, 1 == count(stack)); in test_rect_replace()
497 REPORTER_ASSERT(reporter, 0 == count(stack)); in test_path_replace()
499 REPORTER_ASSERT(reporter, 1 == count(stack)); in test_path_replace()
501 REPORTER_ASSERT(reporter, 1 == count(stack)); in test_path_replace()
508 REPORTER_ASSERT(reporter, 1 == count(stack)); in test_path_replace()
510 REPORTER_ASSERT(reporter, 1 == count(stack)); in test_path_replace()
536 REPORTER_ASSERT(reporter, 1 == count(stack)); in test_rect_merging()
540 REPORTER_ASSERT(reporter, isIntersectionOfRects); in test_rect_merging()
551 REPORTER_ASSERT(reporter, 1 == count(stack)); in test_rect_merging()
555 REPORTER_ASSERT(reporter, isIntersectionOfRects); in test_rect_merging()
566 REPORTER_ASSERT(reporter, 2 == count(stack)); in test_rect_merging()
570 REPORTER_ASSERT(reporter, !isIntersectionOfRects); in test_rect_merging()
581 REPORTER_ASSERT(reporter, 1 == count(stack)); in test_rect_merging()
585 REPORTER_ASSERT(reporter, isIntersectionOfRects); in test_rect_merging()
596 REPORTER_ASSERT(reporter, 1 == count(stack)); in test_rect_merging()
600 REPORTER_ASSERT(reporter, isIntersectionOfRects); in test_rect_merging()
611 REPORTER_ASSERT(reporter, 2 == count(stack)); in test_rect_merging()
615 REPORTER_ASSERT(reporter, !isIntersectionOfRects); in test_rect_merging()
639 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
646 REPORTER_ASSERT(reporter, true == stack.quickContains(testRect)); in test_quickContains()
654 REPORTER_ASSERT(reporter, true == stack.quickContains(testRect)); in test_quickContains()
663 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
673 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
680 REPORTER_ASSERT(reporter, true == stack.quickContains(testRect)); in test_quickContains()
686 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
692 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
698 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
705 REPORTER_ASSERT(reporter, true == stack.quickContains(testRect)); in test_quickContains()
711 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
717 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
723 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
733 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
742 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
751 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
760 REPORTER_ASSERT(reporter, true == stack.quickContains(testRect)); in test_quickContains()
769 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
777 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
785 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
793 REPORTER_ASSERT(reporter, true == stack.quickContains(testRect)); in test_quickContains()
975 REPORTER_ASSERT(reporter, SkClipStack::kInvalidGenID != reducedGenID); in test_reduced_clip_stack()
1039 REPORTER_ASSERT(reporter, reducedClips.count() == 1); in test_reduced_clip_stack_genid()
1041 REPORTER_ASSERT(reporter, SkClipStack::kInvalidGenID != reducedGenID); in test_reduced_clip_stack_genid()
1134 REPORTER_ASSERT(reporter, reducedClips.count() == testCases[i].reducedClipCount); in test_reduced_clip_stack_genid()
1136 REPORTER_ASSERT(reporter, reducedGenID == testCases[i].reducedGenID); in test_reduced_clip_stack_genid()
1138 REPORTER_ASSERT(reporter, initial == testCases[i].initialState); in test_reduced_clip_stack_genid()
1141 REPORTER_ASSERT(reporter, tightBounds == testCases[i].tighterBounds); in test_reduced_clip_stack_genid()
1167 REPORTER_ASSERT(reporter, 0 == reducedClips.count()); in test_reduced_clip_stack_no_aa_crash()
1175 REPORTER_ASSERT(reporter, 0 == stack.getSaveCount()); in DEF_TEST()
1194 REPORTER_ASSERT(reporter, element); in DEF_TEST()
1195 REPORTER_ASSERT(reporter, SkClipStack::Element::kRect_Type == element->getType()); in DEF_TEST()
1196 REPORTER_ASSERT(reporter, SkRegion::kIntersect_Op == element->getOp()); in DEF_TEST()
1197 REPORTER_ASSERT(reporter, element->getRect() == answer); in DEF_TEST()
1199 REPORTER_ASSERT(reporter, !iter.next()); in DEF_TEST()
1202 REPORTER_ASSERT(reporter, 0 == stack.getSaveCount()); in DEF_TEST()