Home | History | Annotate | Download | only in tools

Lines Matching defs:Expectation

99     // Expectation class...
105 Expectation::Expectation(bool ignoreFailure) :
108 Expectation::Expectation(const SkString &hashType, uint64_t hashValue, bool ignoreFailure) :
111 Expectation::Expectation(const SkBitmap& bitmap, bool ignoreFailure) :
114 bool Expectation::ignoreFailure() const { return this->fIgnoreFailure; }
116 bool Expectation::empty() const { return this->fIsEmpty; }
118 bool Expectation::matches(ImageDigest &imageDigest) {
166 // Get expectation, if any.
167 Expectation expectation = this->getExpectation(sourceName, tileNumber);
179 if (expectation.empty()) {
181 } else if (expectation.matches(digest)) {
183 } else if (expectation.ignoreFailure()) {
206 Expectation ImageResultsAndExpectations::getExpectation(const char *sourceName,
209 return Expectation();
219 return Expectation();
223 return Expectation(SkString(expectedImage[kJsonKey_Image_ChecksumAlgorithm].asCString()),