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