Lines Matching defs:errors
322 * We even record successes, and errors that we regard as
351 * Return the number of significant (non-ignorable) errors we have
488 * errors.
703 ErrorCombination errors(kWritingReferenceImage_ErrorType);
713 RecordTestResults(errors, make_shortname_plus_config(shortName, gRec.fName),
715 return errors;
776 * Compares actual hash digest to expectations, returning the set of errors
792 * report errors across rendering modes, such as pipe vs tiled.
800 ErrorCombination errors;
809 errors.add(kMissingExpectations_ErrorType);
825 errors.add(kExpectationsMismatch_ErrorType);
827 errors.add(kRenderModeMismatch_ErrorType);
847 RecordTestResults(errors, shortNamePlusConfig, renderModeDescriptor);
850 add_actual_results_to_json_summary(completeName, actualBitmapAndDigest.fDigest, errors,
855 return errors;
860 * depending on errors encountered.
864 ErrorCombination errors,
867 if (errors.isEmpty()) {
880 if (errors.includes(kMissingExpectations_ErrorType)) {
895 if (errors.includes(kExpectationsMismatch_ErrorType) ||
896 errors.includes(kRenderModeMismatch_ErrorType)) {
931 ErrorCombination errors;
964 errors.add(compare_to_expectations(expectations, *actualBitmapAndDigest,
983 errors.add(write_reference_image(gRec, writePath, "", gm->shortName(),
987 return errors;
1057 ErrorCombination errors = generate_image(gm, gRec, gpuTarget, bitmap, false);
1058 if (!errors.isEmpty()) {
1062 return errors;
1067 errors.add(kGeneratePdfFailed_ErrorType);
1072 errors.add(write_document(path, documentStream));
1093 errors.add(compare_test_results_to_stored_expectations(
1100 errors.add(write_bitmap(path, bitmapAndDigest.fBitmap));
1104 errors.add(kIntentionallySkipped_ErrorType);
1137 ErrorCombination errors = generate_image(gm, gRec, gpuTarget, &bitmap, true);
1141 // ASAP, because it is hiding -deferred errors... but for
1149 if (errors.isEmpty()) {
1164 ErrorCombination errors;
1172 errors.add(kIntentionallySkipped_ErrorType);
1191 errors.add(compare_test_results_to_reference_bitmap(
1194 if (!errors.isEmpty()) {
1199 return errors;
1206 ErrorCombination errors;
1215 errors.add(kIntentionallySkipped_ErrorType);
1230 errors.add(compare_test_results_to_reference_bitmap(gm->shortName(), gRec.fName,
1233 if (!errors.isEmpty()) {
1238 return errors;
1518 * Returns all errors encountered while doing so.
1634 * Returns all errors encountered while doing so.