Lines Matching defs:expectations

785      * Compares actual hash digest to expectations, returning the set of errors
792 * @param expectations what expectations to compare actualBitmap against
804 ErrorCombination compare_to_expectations(Expectations expectations,
817 if (expectations.empty()) {
820 // Write out the "actuals" for any tests without expectations, if we have
829 } else if (!expectations.match(actualBitmapAndDigest.fDigest)) {
850 const SkBitmap *expectedBitmapPtr = expectations.asBitmap();
859 expectations.ignoreFailure());
860 add_expected_results_to_json_summary(completeName, expectations);
891 // because gm only looks at expectations that correspond
894 // Once we have the ability to express expectations as a
911 Expectations expectations) {
912 this->fJsonExpectedResults[testName] = expectations.asJsonValue();
916 * Compare actualBitmap to expectations stored in this->fExpectationsSource.
936 // against any expectations, because the output image isn't
961 Expectations expectations = expectationsSource->get(nameWithExtension.c_str());
963 expectations.setIgnoreFailure(true);
965 errors.add(compare_to_expectations(expectations, *actualBitmapAndDigest,
968 // If we are running without expectations, we still want to
994 Expectations expectations(*referenceBitmap);
1003 errors.add(compare_to_expectations(expectations, actualBitmapAndDigest, shortName,
1268 // Where to read expectations (expected image hash digests, etc.) from.
1448 DEFINE_string(missingExpectationsPath, "", "Write images for tests without expectations "
1695 * etc.), confirming that the resulting bitmaps match expectations
2198 SkDebugf("reading expectations from JSON summary file %s\n", readPath);
2272 SkDebugf("writing images without expectations to %s\n",