Home | History | Annotate | Download | only in tests

Lines Matching defs:expectations

273     void testExpectations(skiatest::Reporter* reporter, SelfExpectations expectations) const;
416 void TestCase::testExpectations(skiatest::Reporter* reporter, SelfExpectations expectations) const {
419 if (expectations.fPEHasEffect) {
421 REPORTER_ASSERT(reporter, expectations.fPEHasValidKey == SkToBool(fAppliedPEKey.count()));
423 REPORTER_ASSERT(reporter, expectations.fPEHasValidKey == SkToBool(fAppliedFullKey.count()));
424 if (expectations.fStrokeApplies && expectations.fPEHasValidKey) {
434 if (expectations.fStrokeApplies) {
616 TestCase::SelfExpectations expectations;
620 expectations.fPEHasEffect = false;
621 expectations.fPEHasValidKey = false;
622 expectations.fStrokeApplies = false;
623 fillCase.testExpectations(reporter, expectations);
634 expectations.fPEHasValidKey = true;
635 expectations.fPEHasEffect = false;
636 expectations.fStrokeApplies = !geo.strokeIsConvertedToFill();
637 stroke2RoundBevelCase.testExpectations(reporter, expectations);
644 expectations.fPEHasValidKey = true;
645 expectations.fPEHasEffect = true;
646 expectations.fStrokeApplies = true;
647 stroke2RoundBevelDashCase.testExpectations(reporter, expectations);
674 expectations.fPEHasValidKey = true;
675 expectations.fPEHasEffect = false;
676 expectations.fStrokeApplies = !geo.strokeIsConvertedToFill();
677 stroke2RoundBevelAndFillCase.testExpectations(reporter, expectations);
684 expectations.fPEHasValidKey = true;
685 expectations.fPEHasEffect = false;
686 expectations.fStrokeApplies = !geo.strokeIsConvertedToFill();
687 stroke2RoundBevelAndFillDashCase.testExpectations(reporter, expectations);
1108 TestCase::SelfExpectations expectations;
1109 expectations.fPEHasEffect = true;
1110 expectations.fPEHasValidKey = false;
1111 expectations.fStrokeApplies = true;
1112 geoPEStrokeCase.testExpectations(reporter, expectations);
1317 TestCase::SelfExpectations expectations;
1318 expectations.fStrokeApplies = false;
1319 expectations.fPEHasEffect = false;
1321 fillEmptyCase.testExpectations(reporter, expectations);