Lines Matching refs:TestStep
23 * CanvasTestStep* testStep)
28 * testStep->assertMessage());
262 static void NAME##TestStep(SkCanvas* canvas, skiatest::Reporter*, \
266 TEST_STEP(NAME, NAME##TestStep )
269 static void NAME##TestStep(SkCanvas* canvas, skiatest::Reporter* reporter, \
270 CanvasTestStep* testStep) { \
272 testStep->assertMessage()); \
274 TEST_STEP(NAME, NAME##TestStep )
342 CanvasTestStep* testStep) {
349 testStep->assertMessage());
351 testStep->assertMessage());
353 testStep->assertMessage());
359 CanvasTestStep* testStep) {
366 testStep->assertMessage());
368 testStep->assertMessage());
370 testStep->assertMessage());
376 CanvasTestStep* testStep) {
383 testStep->assertMessage());
385 testStep->assertMessage());
387 testStep->assertMessage());
393 CanvasTestStep* testStep) {
398 testStep->assertMessage());
404 CanvasTestStep* testStep) {
409 testStep->assertMessage());
415 CanvasTestStep* testStep) {
420 testStep->assertMessage());
492 CanvasTestStep* testStep) {
495 REPORTER_ASSERT_MESSAGE(reporter, baseSaveCount == n, testStep->assertMessage());
497 testStep->assertMessage());
501 testStep->assertMessage());
504 testStep->assertMessage());
509 testStep->assertMessage());
515 CanvasTestStep* testStep) {
517 testStep->assertMessage());
520 testStep->assertMessage());
528 testStep->assertMessage());
531 testStep->assertMessage());
536 testStep->assertMessage());
539 testStep->assertMessage());
543 testStep->assertMessage());
593 CanvasTestStep* testStep) {
595 canvas2->getDeviceSize(), testStep->assertMessage());
597 canvas2->getSaveCount(), testStep->assertMessage());
599 canvas2->isDrawingToLayer(), testStep->assertMessage());
604 testStep->assertMessage());
606 testStep->assertMessage());
609 canvas2->getDrawFilter(), testStep->assertMessage());
614 testStep->assertMessage());
616 testStep->assertMessage());
618 canvas2->getBounder(), testStep->assertMessage());
620 canvas2->getTotalMatrix(), testStep->assertMessage());
622 canvas2->getClipType(), testStep->assertMessage());
624 canvas2->getTotalClip(), testStep->assertMessage());
636 layerIter2.matrix(), testStep->assertMessage());
638 layerIter2.clip(), testStep->assertMessage());
640 layerIter2.paint(), testStep->assertMessage());
642 layerIter2.x(), testStep->assertMessage());
644 layerIter2.y(), testStep->assertMessage());
649 testStep->assertMessage());
651 testStep->assertMessage());
667 CanvasTestStep* testStep) {
671 testRecord->fBitmapHeap->count(), testStep->assertMessage());
674 testRecord->fMatrices.count(), testStep->assertMessage());
678 testStep->assertMessage());
682 testRecord->fPaints.count(), testStep->assertMessage());
686 testStep->assertMessage());
690 testRecord->fRegions.count(), testStep->assertMessage());
694 testStep->assertMessage());
699 testStep->assertMessage());
707 testStep->assertMessage());
711 (*testRecord->fPathHeap)[i], testStep->assertMessage());
721 CanvasTestStep* testStep,
725 testStep->setAssertMessageFormat(kPictureDrawAssertMessageFormat);
729 testStep->draw(referenceCanvas, reporter);
733 testStep->draw(testCanvas, reporter);
734 testStep->setAssertMessageFormat(kPictureSecondDrawAssertMessageFormat);
735 testStep->draw(testCanvas, reporter);
741 testStep->setAssertMessageFormat(kPictureResourceReuseMessageFormat);
743 reporter, testStep);
748 CanvasTestStep* testStep) {
752 testStep->setAssertMessageFormat(kPdfAssertMessageFormat);
753 testStep->draw(&canvas, reporter);
766 CanvasTestStep* testStep,
773 testStep->setAssertMessageFormat(kDeferredDrawAssertMessageFormat);
774 testStep->draw(deferredCanvas, reporter);
775 testStep->setAssertMessageFormat(kDeferredPreFlushAssertMessageFormat);
777 testStep);
785 testStep->setAssertMessageFormat(
790 &referenceCanvas, testStep);
798 testStep->setAssertMessageFormat(kDeferredPostFlushAssertMessageFormat);
800 testStep);
808 CanvasTestStep* testStep,
816 testStep->setAssertMessageFormat(kProxyDrawAssertMessageFormat);
817 testStep->draw(&proxyCanvas, reporter);
819 testStep->setAssertMessageFormat(kProxyStateAssertMessageFormat);
821 testStep);
823 testStep->setAssertMessageFormat(kProxyIndirectStateAssertMessageFormat);
825 testStep);
831 CanvasTestStep* testStep,
849 testStep->setAssertMessageFormat(kNWayDrawAssertMessageFormat);
850 testStep->draw(&nWayCanvas, reporter);
852 testStep->setAssertMessageFormat(kNWayStateAssertMessageFormat);
854 testStep);
856 testStep->setAssertMessageFormat(kNWayIndirect1StateAssertMessageFormat);
858 testStep);
859 testStep->setAssertMessageFormat(kNWayIndirect2StateAssertMessageFormat);
861 testStep);
871 CanvasTestStep* testStep) {
876 testStep->setAssertMessageFormat(kCanvasDrawAssertMessageFormat);
877 testStep->draw(&referenceCanvas, reporter);
879 SkDeferredCanvasTester::TestDeferredCanvasStateConsistency(reporter, testStep, referenceCanvas, false);
881 SkDeferredCanvasTester::TestDeferredCanvasStateConsistency(reporter, testStep, referenceCanvas, true);
889 TestProxyCanvasStateConsistency(reporter, testStep, referenceCanvas);
897 TestNWayCanvasStateConsistency(reporter, testStep, referenceCanvas);
910 for (int testStep = 0; testStep < testStepArray().count(); testStep++) {
911 TestOverrideStateConsistency(reporter, testStepArray()[testStep]);
913 testStepArray()[testStep], 0);
914 if (testStepArray()[testStep]->enablePdfTesting()) {
915 TestPdfDevice(reporter, testStepArray()[testStep]);