Lines Matching refs:expectations
540 void testExpectations(skiatest::Reporter* reporter, SelfExpectations expectations) const;
694 void TestCase::testExpectations(skiatest::Reporter* reporter, SelfExpectations expectations) const { in testExpectations()
697 if (expectations.fPEHasEffect) { in testExpectations()
699 REPORTER_ASSERT(reporter, expectations.fPEHasValidKey == SkToBool(fAppliedPEKey.count())); in testExpectations()
701 REPORTER_ASSERT(reporter, expectations.fPEHasValidKey == SkToBool(fAppliedFullKey.count())); in testExpectations()
702 if (expectations.fStrokeApplies && expectations.fPEHasValidKey) { in testExpectations()
712 if (expectations.fStrokeApplies) { in testExpectations()
770 TestCase::SelfExpectations expectations; in test_basic() local
774 expectations.fPEHasEffect = false; in test_basic()
775 expectations.fPEHasValidKey = false; in test_basic()
776 expectations.fStrokeApplies = false; in test_basic()
777 fillCase.testExpectations(reporter, expectations); in test_basic()
788 expectations.fPEHasValidKey = true; in test_basic()
789 expectations.fPEHasEffect = false; in test_basic()
790 expectations.fStrokeApplies = !geo.strokeIsConvertedToFill(); in test_basic()
791 stroke2RoundBevelCase.testExpectations(reporter, expectations); in test_basic()
798 expectations.fPEHasValidKey = true; in test_basic()
799 expectations.fPEHasEffect = true; in test_basic()
800 expectations.fStrokeApplies = true; in test_basic()
801 stroke2RoundBevelDashCase.testExpectations(reporter, expectations); in test_basic()
828 expectations.fPEHasValidKey = true; in test_basic()
829 expectations.fPEHasEffect = false; in test_basic()
830 expectations.fStrokeApplies = !geo.strokeIsConvertedToFill(); in test_basic()
831 stroke2RoundBevelAndFillCase.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 stroke2RoundBevelAndFillDashCase.testExpectations(reporter, expectations); in test_basic()
1269 TestCase::SelfExpectations expectations; in test_unknown_path_effect() local
1270 expectations.fPEHasEffect = true; in test_unknown_path_effect()
1271 expectations.fPEHasValidKey = false; in test_unknown_path_effect()
1272 expectations.fStrokeApplies = true; in test_unknown_path_effect()
1273 geoPEStrokeCase.testExpectations(reporter, expectations); in test_unknown_path_effect()
1531 TestCase::SelfExpectations expectations; in DEF_TEST() local
1532 expectations.fStrokeApplies = false; in DEF_TEST()
1533 expectations.fPEHasEffect = false; in DEF_TEST()
1535 fillEmptyCase.testExpectations(reporter, expectations); in DEF_TEST()
1536 fillInvertedEmptyCase.testExpectations(reporter, expectations); in DEF_TEST()