Lines Matching refs:expectations
548 void testExpectations(skiatest::Reporter* reporter, SelfExpectations expectations) const;
704 void TestCase::testExpectations(skiatest::Reporter* reporter, SelfExpectations expectations) const { in testExpectations()
707 if (expectations.fPEHasEffect) { in testExpectations()
709 REPORTER_ASSERT(reporter, expectations.fPEHasValidKey == SkToBool(fAppliedPEKey.count())); in testExpectations()
711 REPORTER_ASSERT(reporter, expectations.fPEHasValidKey == SkToBool(fAppliedFullKey.count())); in testExpectations()
712 if (expectations.fStrokeApplies && expectations.fPEHasValidKey) { in testExpectations()
722 if (expectations.fStrokeApplies) { in testExpectations()
780 TestCase::SelfExpectations expectations; in test_basic() local
784 expectations.fPEHasEffect = false; in test_basic()
785 expectations.fPEHasValidKey = false; in test_basic()
786 expectations.fStrokeApplies = false; in test_basic()
787 fillCase.testExpectations(reporter, expectations); in test_basic()
798 expectations.fPEHasValidKey = true; in test_basic()
799 expectations.fPEHasEffect = false; in test_basic()
800 expectations.fStrokeApplies = !geo.strokeIsConvertedToFill(); in test_basic()
801 stroke2RoundBevelCase.testExpectations(reporter, expectations); in test_basic()
808 expectations.fPEHasValidKey = true; in test_basic()
809 expectations.fPEHasEffect = true; in test_basic()
810 expectations.fStrokeApplies = true; in test_basic()
811 stroke2RoundBevelDashCase.testExpectations(reporter, expectations); in test_basic()
838 expectations.fPEHasValidKey = true; in test_basic()
839 expectations.fPEHasEffect = false; in test_basic()
840 expectations.fStrokeApplies = !geo.strokeIsConvertedToFill(); in test_basic()
841 stroke2RoundBevelAndFillCase.testExpectations(reporter, expectations); in test_basic()
848 expectations.fPEHasValidKey = true; in test_basic()
849 expectations.fPEHasEffect = false; in test_basic()
850 expectations.fStrokeApplies = !geo.strokeIsConvertedToFill(); in test_basic()
851 stroke2RoundBevelAndFillDashCase.testExpectations(reporter, expectations); in test_basic()
1283 TestCase::SelfExpectations expectations; in test_unknown_path_effect() local
1284 expectations.fPEHasEffect = true; in test_unknown_path_effect()
1285 expectations.fPEHasValidKey = false; in test_unknown_path_effect()
1286 expectations.fStrokeApplies = true; in test_unknown_path_effect()
1287 geoPEStrokeCase.testExpectations(reporter, expectations); in test_unknown_path_effect()
1552 TestCase::SelfExpectations expectations; in DEF_TEST() local
1553 expectations.fStrokeApplies = false; in DEF_TEST()
1554 expectations.fPEHasEffect = false; in DEF_TEST()
1556 fillEmptyCase.testExpectations(reporter, expectations); in DEF_TEST()
1557 fillInvertedEmptyCase.testExpectations(reporter, expectations); in DEF_TEST()