Lines Matching defs:expectations

786      * Compares actual hash digest to expectations, returning the set of errors
793 * @param expectations what expectations to compare actualBitmap against
805 ErrorCombination compare_to_expectations(Expectations expectations,
818 if (expectations.empty()) {
821 // Write out the "actuals" for any tests without expectations, if we have
830 } else if (!expectations.match(actualBitmapAndDigest.fDigest)) {
851 const SkBitmap *expectedBitmapPtr = expectations.asBitmap();
860 expectations.ignoreFailure());
861 add_expected_results_to_json_summary(completeName, expectations);
892 // because gm only looks at expectations that correspond
895 // Once we have the ability to express expectations as a
912 Expectations expectations) {
913 this->fJsonExpectedResults[testName] = expectations.asJsonValue();
917 * Compare actualBitmap to expectations stored in this->fExpectationsSource.
937 // against any expectations, because the output image isn't
962 Expectations expectations = expectationsSource->get(nameWithExtension.c_str());
964 expectations.setIgnoreFailure(true);
966 errors.add(compare_to_expectations(expectations, *actualBitmapAndDigest,
969 // If we are running without expectations, we still want to
995 Expectations expectations(*referenceBitmap);
1004 errors.add(compare_to_expectations(expectations, actualBitmapAndDigest, shortName,
1267 // Where to read expectations (expected image hash digests, etc.) from.
1459 DEFINE_string(missingExpectationsPath, "", "Write images for tests without expectations "
1688 * etc.), confirming that the resulting bitmaps match expectations
2225 SkDebugf("reading expectations from JSON summary file %s\n", readPath);
2304 SkDebugf("writing images without expectations to %s\n",