reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/unittests/AST/ASTImporterFixtures.h
  199     return ::testing::AssertionSuccess() << "Expected<> contains no error.";
  202            << "Expected<> contains error: " << toString(ValOrErr.takeError());
  202            << "Expected<> contains error: " << toString(ValOrErr.takeError());
  209     return ::testing::AssertionFailure() << "Expected<> is expected to contain "
  211                                          << (*ValOrErr) << "\"";
  211                                          << (*ValOrErr) << "\"";
  230       return ::testing::AssertionSuccess() << OS.str();
  232       return ::testing::AssertionFailure() << OS.str();
tools/clang/unittests/AST/ASTImporterTest.cpp
   84              << "Multiple potential nodes were found!";
   88       return testing::AssertionFailure() << "Node type mismatch!";
  102              << "Import failed, error: \"" << ErrorText << "\"!";
  102              << "Import failed, error: \"" << ErrorText << "\"!";
  102              << "Import failed, error: \"" << ErrorText << "\"!";
tools/clang/unittests/AST/ASTPrint.h
   74            << "Parsing error in \"" << Code.str() << "\"";
   74            << "Parsing error in \"" << Code.str() << "\"";
   74            << "Parsing error in \"" << Code.str() << "\"";
   77     return testing::AssertionFailure() << "Matcher didn't find any statements";
   81            << "Matcher should match only one statement (found "
   82            << Printer.getNumFoundStmts() << ")";
   82            << Printer.getNumFoundStmts() << ")";
   86            << "Expected \"" << ExpectedPrinted.str() << "\", got \""
   86            << "Expected \"" << ExpectedPrinted.str() << "\", got \""
   86            << "Expected \"" << ExpectedPrinted.str() << "\", got \""
   87            << Printer.getPrinted().str() << "\"";
   87            << Printer.getPrinted().str() << "\"";
tools/clang/unittests/AST/CommentParser.cpp
   80     return ::testing::AssertionFailure() << "Comment is NULL";
   84         << "Count = " << Count
   84         << "Count = " << Count
   85         << ", child_count = " << C->child_count();
   85         << ", child_count = " << C->child_count();
   95     return ::testing::AssertionFailure() << "Comment is NULL";
   99         << "Idx out of range.  Idx = " << Idx
   99         << "Idx out of range.  Idx = " << Idx
  100         << ", child_count = " << C->child_count();
  100         << ", child_count = " << C->child_count();
  105     return ::testing::AssertionFailure() << "Child is NULL";
  110         << "Child is not of requested type, but a "
  111         << CommentChild->getCommentKindName();
  127         << "TextComment has text \"" << ActualText.str() << "\", "
  127         << "TextComment has text \"" << ActualText.str() << "\", "
  127         << "TextComment has text \"" << ActualText.str() << "\", "
  128            "expected \"" << Text.str() << "\"";
  128            "expected \"" << Text.str() << "\"";
  132         << "TextComment has a trailing newline";
  148         << "TextComment has text \"" << ActualText.str() << "\", "
  148         << "TextComment has text \"" << ActualText.str() << "\", "
  148         << "TextComment has text \"" << ActualText.str() << "\", "
  149            "expected \"" << Text.str() << "\"";
  149            "expected \"" << Text.str() << "\"";
  153         << "TextComment has no trailing newline";
  171         << "BlockCommandComment has name \"" << ActualName.str() << "\", "
  171         << "BlockCommandComment has name \"" << ActualName.str() << "\", "
  171         << "BlockCommandComment has name \"" << ActualName.str() << "\", "
  172            "expected \"" << Name.str() << "\"";
  172            "expected \"" << Name.str() << "\"";
  196         << "ParamCommandComment has name \"" << ActualCommandName.str() << "\", "
  196         << "ParamCommandComment has name \"" << ActualCommandName.str() << "\", "
  196         << "ParamCommandComment has name \"" << ActualCommandName.str() << "\", "
  197            "expected \"" << CommandName.str() << "\"";
  197            "expected \"" << CommandName.str() << "\"";
  201         << "ParamCommandComment has direction " << PCC->getDirection() << ", "
  201         << "ParamCommandComment has direction " << PCC->getDirection() << ", "
  201         << "ParamCommandComment has direction " << PCC->getDirection() << ", "
  202            "expected " << Direction;
  206         << "ParamCommandComment has "
  207         << (PCC->isDirectionExplicit() ? "explicit" : "implicit")
  208         << " direction, "
  209            "expected " << (IsDirectionExplicit ? "explicit" : "implicit");
  213         << "ParamCommandComment has no parameter name";
  218         << "ParamCommandComment has parameter name \"" << ActualParamName.str()
  218         << "ParamCommandComment has parameter name \"" << ActualParamName.str()
  219         << "\", "
  220            "expected \"" << ParamName.str() << "\"";
  220            "expected \"" << ParamName.str() << "\"";
  242         << "TParamCommandComment has name \"" << ActualCommandName.str() << "\", "
  242         << "TParamCommandComment has name \"" << ActualCommandName.str() << "\", "
  242         << "TParamCommandComment has name \"" << ActualCommandName.str() << "\", "
  243            "expected \"" << CommandName.str() << "\"";
  243            "expected \"" << CommandName.str() << "\"";
  247         << "TParamCommandComment has no parameter name";
  252         << "TParamCommandComment has parameter name \"" << ActualParamName.str()
  252         << "TParamCommandComment has parameter name \"" << ActualParamName.str()
  253         << "\", "
  254            "expected \"" << ParamName.str() << "\"";
  254            "expected \"" << ParamName.str() << "\"";
  273         << "InlineCommandComment has name \"" << ActualName.str() << "\", "
  273         << "InlineCommandComment has name \"" << ActualName.str() << "\", "
  273         << "InlineCommandComment has name \"" << ActualName.str() << "\", "
  274            "expected \"" << Name.str() << "\"";
  274            "expected \"" << Name.str() << "\"";
  293         << "InlineCommandComment has " << ICC->getNumArgs() << " arg(s), "
  293         << "InlineCommandComment has " << ICC->getNumArgs() << " arg(s), "
  293         << "InlineCommandComment has " << ICC->getNumArgs() << " arg(s), "
  311         << "InlineCommandComment has " << ICC->getNumArgs() << " arg(s), "
  311         << "InlineCommandComment has " << ICC->getNumArgs() << " arg(s), "
  311         << "InlineCommandComment has " << ICC->getNumArgs() << " arg(s), "
  317         << "InlineCommandComment has argument \"" << ActualArg.str() << "\", "
  317         << "InlineCommandComment has argument \"" << ActualArg.str() << "\", "
  317         << "InlineCommandComment has argument \"" << ActualArg.str() << "\", "
  318            "expected \"" << Arg.str() << "\"";
  318            "expected \"" << Arg.str() << "\"";
  334         << "HTMLStartTagComment has name \"" << ActualTagName.str() << "\", "
  334         << "HTMLStartTagComment has name \"" << ActualTagName.str() << "\", "
  334         << "HTMLStartTagComment has name \"" << ActualTagName.str() << "\", "
  335            "expected \"" << TagName.str() << "\"";
  335            "expected \"" << TagName.str() << "\"";
  353         << "HTMLStartTagComment is not self-closing";
  372         << "HTMLStartTagComment is self-closing";
  376         << "HTMLStartTagComment has " << HST->getNumAttrs() << " attr(s), "
  376         << "HTMLStartTagComment has " << HST->getNumAttrs() << " attr(s), "
  376         << "HTMLStartTagComment has " << HST->getNumAttrs() << " attr(s), "
  394         << "HTMLStartTagComment is self-closing";
  398         << "HTMLStartTagComment has " << HST->getNumAttrs() << " attr(s), "
  398         << "HTMLStartTagComment has " << HST->getNumAttrs() << " attr(s), "
  398         << "HTMLStartTagComment has " << HST->getNumAttrs() << " attr(s), "
  404         << "HTMLStartTagComment has attr \"" << ActualName.str() << "\", "
  404         << "HTMLStartTagComment has attr \"" << ActualName.str() << "\", "
  404         << "HTMLStartTagComment has attr \"" << ActualName.str() << "\", "
  405            "expected \"" << AttrName.str() << "\"";
  405            "expected \"" << AttrName.str() << "\"";
  410         << "HTMLStartTagComment has attr value \"" << ActualValue.str() << "\", "
  410         << "HTMLStartTagComment has attr value \"" << ActualValue.str() << "\", "
  410         << "HTMLStartTagComment has attr value \"" << ActualValue.str() << "\", "
  411            "expected \"" << AttrValue.str() << "\"";
  411            "expected \"" << AttrValue.str() << "\"";
  427         << "HTMLEndTagComment has name \"" << ActualTagName.str() << "\", "
  427         << "HTMLEndTagComment has name \"" << ActualTagName.str() << "\", "
  427         << "HTMLEndTagComment has name \"" << ActualTagName.str() << "\", "
  428            "expected \"" << TagName.str() << "\"";
  428            "expected \"" << TagName.str() << "\"";
  472         << "VerbatimBlockComment has name \"" << ActualName.str() << "\", "
  472         << "VerbatimBlockComment has name \"" << ActualName.str() << "\", "
  472         << "VerbatimBlockComment has name \"" << ActualName.str() << "\", "
  473            "expected \"" << Name.str() << "\"";
  473            "expected \"" << Name.str() << "\"";
  478         << "VerbatimBlockComment has closing command name \""
  479         << ActualCloseName.str() << "\", "
  479         << ActualCloseName.str() << "\", "
  480            "expected \"" << CloseName.str() << "\"";
  480            "expected \"" << CloseName.str() << "\"";
  502         << "VerbatimBlockComment has " << VBC->getNumLines() << " lines(s), "
  502         << "VerbatimBlockComment has " << VBC->getNumLines() << " lines(s), "
  502         << "VerbatimBlockComment has " << VBC->getNumLines() << " lines(s), "
  523         << "VerbatimBlockComment has " << VBC->getNumLines() << " lines(s), "
  523         << "VerbatimBlockComment has " << VBC->getNumLines() << " lines(s), "
  523         << "VerbatimBlockComment has " << VBC->getNumLines() << " lines(s), "
  529         << "VerbatimBlockComment has lines[0] \"" << ActualLine0.str() << "\", "
  529         << "VerbatimBlockComment has lines[0] \"" << ActualLine0.str() << "\", "
  529         << "VerbatimBlockComment has lines[0] \"" << ActualLine0.str() << "\", "
  530            "expected \"" << Line0.str() << "\"";
  530            "expected \"" << Line0.str() << "\"";
  551         << "VerbatimBlockComment has " << VBC->getNumLines() << " lines(s), "
  551         << "VerbatimBlockComment has " << VBC->getNumLines() << " lines(s), "
  551         << "VerbatimBlockComment has " << VBC->getNumLines() << " lines(s), "
  557         << "VerbatimBlockComment has lines[0] \"" << ActualLine0.str() << "\", "
  557         << "VerbatimBlockComment has lines[0] \"" << ActualLine0.str() << "\", "
  557         << "VerbatimBlockComment has lines[0] \"" << ActualLine0.str() << "\", "
  558            "expected \"" << Line0.str() << "\"";
  558            "expected \"" << Line0.str() << "\"";
  563         << "VerbatimBlockComment has lines[1] \"" << ActualLine1.str() << "\", "
  563         << "VerbatimBlockComment has lines[1] \"" << ActualLine1.str() << "\", "
  563         << "VerbatimBlockComment has lines[1] \"" << ActualLine1.str() << "\", "
  564            "expected \"" << Line1.str() << "\"";
  564            "expected \"" << Line1.str() << "\"";
  582         << "VerbatimLineComment has name \"" << ActualName.str() << "\", "
  582         << "VerbatimLineComment has name \"" << ActualName.str() << "\", "
  582         << "VerbatimLineComment has name \"" << ActualName.str() << "\", "
  583            "expected \"" << Name.str() << "\"";
  583            "expected \"" << Name.str() << "\"";
  588         << "VerbatimLineComment has text \"" << ActualText.str() << "\", "
  588         << "VerbatimLineComment has text \"" << ActualText.str() << "\", "
  588         << "VerbatimLineComment has text \"" << ActualText.str() << "\", "
  589            "expected \"" << Text.str() << "\"";
  589            "expected \"" << Text.str() << "\"";
tools/clang/unittests/AST/DataCollectionTest.cpp
   82            << "Parsing error in \"" << Code.str() << "\"";
   82            << "Parsing error in \"" << Code.str() << "\"";
   82            << "Parsing error in \"" << Code.str() << "\"";
   84     return testing::AssertionFailure() << "Matcher didn't find any statements";
   87            << "Matcher should match only one statement "
   89            << Hasher.NumFound << ")";
   89            << Hasher.NumFound << ")";
tools/clang/unittests/AST/DeclPrinterTest.cpp
   87       << "Parsing error in \"" << Code.str() << "\"";
   87       << "Parsing error in \"" << Code.str() << "\"";
   87       << "Parsing error in \"" << Code.str() << "\"";
   91         << "Matcher didn't find any declarations";
   95         << "Matcher should match only one declaration "
   96            "(found " << Printer.getNumFoundDecls() << ")";
   96            "(found " << Printer.getNumFoundDecls() << ")";
  100       << "Expected \"" << ExpectedPrinted.str() << "\", "
  100       << "Expected \"" << ExpectedPrinted.str() << "\", "
  100       << "Expected \"" << ExpectedPrinted.str() << "\", "
  101          "got \"" << Printer.getPrinted().str() << "\"";
  101          "got \"" << Printer.getPrinted().str() << "\"";
tools/clang/unittests/AST/MatchVerifier.h
  126     return testing::AssertionFailure() << "Parsing error";
  128     return testing::AssertionFailure() << VerifyResult;
  144     return testing::AssertionFailure() << VerifyResult;
tools/clang/unittests/AST/NamedDeclPrinterTest.cpp
   77         << "Parsing error in \"" << Code.str() << "\"";
   77         << "Parsing error in \"" << Code.str() << "\"";
   77         << "Parsing error in \"" << Code.str() << "\"";
   81         << "Matcher didn't find any named declarations";
   85         << "Matcher should match only one named declaration "
   86            "(found " << Printer.getNumFoundDecls() << ")";
   86            "(found " << Printer.getNumFoundDecls() << ")";
   90         << "Expected \"" << ExpectedPrinted.str() << "\", "
   90         << "Expected \"" << ExpectedPrinted.str() << "\", "
   90         << "Expected \"" << ExpectedPrinted.str() << "\", "
   91            "got \"" << Printer.getPrinted().str() << "\"";
   91            "got \"" << Printer.getPrinted().str() << "\"";
tools/clang/unittests/AST/OMPStructuredBlockTest.cpp
   64            << "Parsing error in \"" << Code.str() << "\"";
   64            << "Parsing error in \"" << Code.str() << "\"";
   64            << "Parsing error in \"" << Code.str() << "\"";
   68          << "Matcher should match only zero statements (found "
   69          << Printer.getNumFoundStmts() << ")";
   69          << Printer.getNumFoundStmts() << ")";
tools/clang/unittests/ASTMatchers/ASTMatchersTest.h
   83     return testing::AssertionFailure() << "Could not add dynamic matcher";
  100     return testing::AssertionFailure() << "Parsing error in \"" << Code << "\"";
  100     return testing::AssertionFailure() << "Parsing error in \"" << Code << "\"";
  100     return testing::AssertionFailure() << "Parsing error in \"" << Code << "\"";
  103     return testing::AssertionFailure() << "Dynamic match result ("
  104                                        << DynamicFound
  105                                        << ") does not match static result ("
  106                                        << Found << ")";
  106                                        << Found << ")";
  110       << "Could not find match in \"" << Code << "\"";
  110       << "Could not find match in \"" << Code << "\"";
  110       << "Could not find match in \"" << Code << "\"";
  113       << "Found unexpected match in \"" << Code << "\"";
  113       << "Found unexpected match in \"" << Code << "\"";
  113       << "Found unexpected match in \"" << Code << "\"";
  264     return testing::AssertionFailure() << "Could not add dynamic matcher";
  275     return testing::AssertionFailure() << "Parsing error in \"" << Code << "\"";
  275     return testing::AssertionFailure() << "Parsing error in \"" << Code << "\"";
  275     return testing::AssertionFailure() << "Parsing error in \"" << Code << "\"";
  278     return testing::AssertionFailure() << "Dynamic match result ("
  279                                        << DynamicFound
  280                                        << ") does not match static result ("
  281                                        << Found << ")";
  281                                        << Found << ")";
  285       << "Could not find match in \"" << Code << "\"";
  285       << "Could not find match in \"" << Code << "\"";
  285       << "Could not find match in \"" << Code << "\"";
  288       << "Found unexpected match in \"" << Code << "\"";
  288       << "Found unexpected match in \"" << Code << "\"";
  288       << "Found unexpected match in \"" << Code << "\"";
  334     return testing::AssertionFailure() << "Parsing error in \"" << Code << "\"";
  334     return testing::AssertionFailure() << "Parsing error in \"" << Code << "\"";
  334     return testing::AssertionFailure() << "Parsing error in \"" << Code << "\"";
  338       << "Could not verify result in \"" << Code << "\"";
  338       << "Could not verify result in \"" << Code << "\"";
  338       << "Could not verify result in \"" << Code << "\"";
  341       << "Verified unexpected result in \"" << Code << "\"";
  341       << "Verified unexpected result in \"" << Code << "\"";
  341       << "Verified unexpected result in \"" << Code << "\"";
  347     return testing::AssertionFailure() << "Parsing error in \"" << Code
  347     return testing::AssertionFailure() << "Parsing error in \"" << Code
  348                                        << "\" while building AST";
  352       << "Could not verify result in \"" << Code << "\" with AST";
  352       << "Could not verify result in \"" << Code << "\" with AST";
  352       << "Could not verify result in \"" << Code << "\" with AST";
  355       << "Verified unexpected result in \"" << Code << "\" with AST";
  355       << "Verified unexpected result in \"" << Code << "\" with AST";
  355       << "Verified unexpected result in \"" << Code << "\" with AST";
unittests/ADT/APIntTest.cpp
 2652                   << X << " is a solution of " << EquationToString(X_str);
 2652                   << X << " is a solution of " << EquationToString(X_str);
 2652                   << X << " is a solution of " << EquationToString(X_str);
 2654                 << X << " is not an expected solution of "
 2654                 << X << " is not an expected solution of "
 2655                 << EquationToString(X_str);
 2661                   << X << " is not a solution of " << EquationToString(X_str);
 2661                   << X << " is not a solution of " << EquationToString(X_str);
 2661                   << X << " is not a solution of " << EquationToString(X_str);
 2663                 << X << " is an unexpected solution of "
 2663                 << X << " is an unexpected solution of "
 2664                 << EquationToString(X_str);
unittests/Analysis/TargetLibraryInfoTest.cpp
   48       return ::testing::AssertionFailure() << ExpectedLFName << " not found";
   48       return ::testing::AssertionFailure() << ExpectedLFName << " not found";
   52       return ::testing::AssertionFailure() << ExpectedLFName << " invalid";
   52       return ::testing::AssertionFailure() << ExpectedLFName << " invalid";
   54     return ::testing::AssertionSuccess() << ExpectedLFName << " is LibFunc";
   54     return ::testing::AssertionSuccess() << ExpectedLFName << " is LibFunc";
unittests/ProfileData/CoverageMappingTest.cpp
   35   return ::testing::AssertionFailure() << "error: " << FoundMsg << "\n";
   35   return ::testing::AssertionFailure() << "error: " << FoundMsg << "\n";
   35   return ::testing::AssertionFailure() << "error: " << FoundMsg << "\n";
unittests/ProfileData/InstrProfTest.cpp
   33   return ::testing::AssertionFailure() << "error: " << FoundMsg << "\n";
   33   return ::testing::AssertionFailure() << "error: " << FoundMsg << "\n";
   33   return ::testing::AssertionFailure() << "error: " << FoundMsg << "\n";
unittests/ProfileData/SampleProfTest.cpp
   31   return ::testing::AssertionFailure() << "error " << EC.value() << ": "
   31   return ::testing::AssertionFailure() << "error " << EC.value() << ": "
   31   return ::testing::AssertionFailure() << "error " << EC.value() << ": "
   32                                        << EC.message();
unittests/Support/ConvertUTFTest.cpp
  194     return ::testing::AssertionFailure() << "Expected error code "
  195                                          << Expected.ErrorCode << ", actual "
  195                                          << Expected.ErrorCode << ", actual "
  196                                          << ErrorCode;
  200            << "Expected lenient decoded result:\n"
  201            << ::testing::PrintToString(Expected.UnicodeScalars) << "\n"
  201            << ::testing::PrintToString(Expected.UnicodeScalars) << "\n"
  202            << "Actual result:\n" << ::testing::PrintToString(Decoded);
  202            << "Actual result:\n" << ::testing::PrintToString(Decoded);
utils/unittest/googlemock/include/gmock/gmock-matchers.h
 1866     return AssertionFailure() << ss.str();
utils/unittest/googletest/include/gtest/gtest.h
 1490          << "Expected: (" << expr1 << ") " << op << " (" << expr2
 1490          << "Expected: (" << expr1 << ") " << op << " (" << expr2
 1490          << "Expected: (" << expr1 << ") " << op << " (" << expr2
 1490          << "Expected: (" << expr1 << ") " << op << " (" << expr2
 1490          << "Expected: (" << expr1 << ") " << op << " (" << expr2
 1490          << "Expected: (" << expr1 << ") " << op << " (" << expr2
 1491          << "), actual: " << FormatForComparisonFailureMessage(val1, val2)
 1491          << "), actual: " << FormatForComparisonFailureMessage(val1, val2)
 1492          << " vs " << FormatForComparisonFailureMessage(val2, val1);
 1492          << " vs " << FormatForComparisonFailureMessage(val2, val1);
utils/unittest/googletest/include/gtest/gtest_pred_impl.h
   93   return AssertionFailure() << pred_text << "("
   93   return AssertionFailure() << pred_text << "("
   94                             << e1 << ") evaluates to false, where"
   94                             << e1 << ") evaluates to false, where"
   95                             << "\n" << e1 << " evaluates to " << v1;
   95                             << "\n" << e1 << " evaluates to " << v1;
   95                             << "\n" << e1 << " evaluates to " << v1;
  137   return AssertionFailure() << pred_text << "("
  137   return AssertionFailure() << pred_text << "("
  138                             << e1 << ", "
  138                             << e1 << ", "
  139                             << e2 << ") evaluates to false, where"
  139                             << e2 << ") evaluates to false, where"
  140                             << "\n" << e1 << " evaluates to " << v1
  140                             << "\n" << e1 << " evaluates to " << v1
  140                             << "\n" << e1 << " evaluates to " << v1
  188   return AssertionFailure() << pred_text << "("
  188   return AssertionFailure() << pred_text << "("
  189                             << e1 << ", "
  189                             << e1 << ", "
  190                             << e2 << ", "
  190                             << e2 << ", "
  191                             << e3 << ") evaluates to false, where"
  191                             << e3 << ") evaluates to false, where"
  192                             << "\n" << e1 << " evaluates to " << v1
  192                             << "\n" << e1 << " evaluates to " << v1
  192                             << "\n" << e1 << " evaluates to " << v1
  246   return AssertionFailure() << pred_text << "("
  246   return AssertionFailure() << pred_text << "("
  247                             << e1 << ", "
  247                             << e1 << ", "
  248                             << e2 << ", "
  248                             << e2 << ", "
  249                             << e3 << ", "
  249                             << e3 << ", "
  250                             << e4 << ") evaluates to false, where"
  250                             << e4 << ") evaluates to false, where"
  251                             << "\n" << e1 << " evaluates to " << v1
  251                             << "\n" << e1 << " evaluates to " << v1
  251                             << "\n" << e1 << " evaluates to " << v1
  311   return AssertionFailure() << pred_text << "("
  311   return AssertionFailure() << pred_text << "("
  312                             << e1 << ", "
  312                             << e1 << ", "
  313                             << e2 << ", "
  313                             << e2 << ", "
  314                             << e3 << ", "
  314                             << e3 << ", "
  315                             << e4 << ", "
  315                             << e4 << ", "
  316                             << e5 << ") evaluates to false, where"
  316                             << e5 << ") evaluates to false, where"
  317                             << "\n" << e1 << " evaluates to " << v1
  317                             << "\n" << e1 << " evaluates to " << v1
  317                             << "\n" << e1 << " evaluates to " << v1
utils/unittest/googletest/src/gtest.cc
  647     return AssertionFailure() << msg;
  652     return AssertionFailure() << "Expected: " << expected << "\n"
  652     return AssertionFailure() << "Expected: " << expected << "\n"
  652     return AssertionFailure() << "Expected: " << expected << "\n"
  653                               << "  Actual:\n"
  654                               << r;
  658     return AssertionFailure() << "Expected: " << expected << " containing \""
  658     return AssertionFailure() << "Expected: " << expected << " containing \""
  658     return AssertionFailure() << "Expected: " << expected << " containing \""
  659                               << substr << "\"\n"
  659                               << substr << "\"\n"
  660                               << "  Actual:\n"
  661                               << r;
 1005     negation << *message_;
 1022   return AssertionFailure() << message;
 1342   return AssertionFailure() << msg;
 1374       << "The difference between " << expr1 << " and " << expr2
 1374       << "The difference between " << expr1 << " and " << expr2
 1374       << "The difference between " << expr1 << " and " << expr2
 1374       << "The difference between " << expr1 << " and " << expr2
 1375       << " is " << diff << ", which exceeds " << abs_error_expr << ", where\n"
 1375       << " is " << diff << ", which exceeds " << abs_error_expr << ", where\n"
 1375       << " is " << diff << ", which exceeds " << abs_error_expr << ", where\n"
 1375       << " is " << diff << ", which exceeds " << abs_error_expr << ", where\n"
 1375       << " is " << diff << ", which exceeds " << abs_error_expr << ", where\n"
 1376       << expr1 << " evaluates to " << val1 << ",\n"
 1376       << expr1 << " evaluates to " << val1 << ",\n"
 1376       << expr1 << " evaluates to " << val1 << ",\n"
 1376       << expr1 << " evaluates to " << val1 << ",\n"
 1377       << expr2 << " evaluates to " << val2 << ", and\n"
 1377       << expr2 << " evaluates to " << val2 << ", and\n"
 1377       << expr2 << " evaluates to " << val2 << ", and\n"
 1377       << expr2 << " evaluates to " << val2 << ", and\n"
 1378       << abs_error_expr << " evaluates to " << abs_error << ".";
 1378       << abs_error_expr << " evaluates to " << abs_error << ".";
 1378       << abs_error_expr << " evaluates to " << abs_error << ".";
 1378       << abs_error_expr << " evaluates to " << abs_error << ".";
 1412       << "Expected: (" << expr1 << ") <= (" << expr2 << ")\n"
 1412       << "Expected: (" << expr1 << ") <= (" << expr2 << ")\n"
 1412       << "Expected: (" << expr1 << ") <= (" << expr2 << ")\n"
 1412       << "Expected: (" << expr1 << ") <= (" << expr2 << ")\n"
 1412       << "Expected: (" << expr1 << ") <= (" << expr2 << ")\n"
 1413       << "  Actual: " << StringStreamToString(&val1_ss) << " vs "
 1413       << "  Actual: " << StringStreamToString(&val1_ss) << " vs "
 1413       << "  Actual: " << StringStreamToString(&val1_ss) << " vs "
 1414       << StringStreamToString(&val2_ss);
 1526     return AssertionFailure() << "Expected: (" << s1_expression << ") != ("
 1526     return AssertionFailure() << "Expected: (" << s1_expression << ") != ("
 1526     return AssertionFailure() << "Expected: (" << s1_expression << ") != ("
 1527                               << s2_expression << "), actual: \""
 1527                               << s2_expression << "), actual: \""
 1528                               << s1 << "\" vs \"" << s2 << "\"";
 1528                               << s1 << "\" vs \"" << s2 << "\"";
 1528                               << s1 << "\" vs \"" << s2 << "\"";
 1528                               << s1 << "\" vs \"" << s2 << "\"";
 1541         << "Expected: (" << s1_expression << ") != ("
 1541         << "Expected: (" << s1_expression << ") != ("
 1541         << "Expected: (" << s1_expression << ") != ("
 1542         << s2_expression << ") (ignoring case), actual: \""
 1542         << s2_expression << ") (ignoring case), actual: \""
 1543         << s1 << "\" vs \"" << s2 << "\"";
 1543         << s1 << "\" vs \"" << s2 << "\"";
 1543         << s1 << "\" vs \"" << s2 << "\"";
 1543         << s1 << "\" vs \"" << s2 << "\"";
 1593       << "Value of: " << needle_expr << "\n"
 1593       << "Value of: " << needle_expr << "\n"
 1593       << "Value of: " << needle_expr << "\n"
 1594       << "  Actual: " << begin_string_quote << needle << "\"\n"
 1594       << "  Actual: " << begin_string_quote << needle << "\"\n"
 1594       << "  Actual: " << begin_string_quote << needle << "\"\n"
 1594       << "  Actual: " << begin_string_quote << needle << "\"\n"
 1595       << "Expected: " << (expected_to_be_substring ? "" : "not ")
 1595       << "Expected: " << (expected_to_be_substring ? "" : "not ")
 1596       << "a substring of " << haystack_expr << "\n"
 1596       << "a substring of " << haystack_expr << "\n"
 1596       << "a substring of " << haystack_expr << "\n"
 1597       << "Which is: " << begin_string_quote << haystack << "\"";
 1597       << "Which is: " << begin_string_quote << haystack << "\"";
 1597       << "Which is: " << begin_string_quote << haystack << "\"";
 1597       << "Which is: " << begin_string_quote << haystack << "\"";
 1893   return AssertionFailure() << "Expected: (" << s1_expression << ") != ("
 1893   return AssertionFailure() << "Expected: (" << s1_expression << ") != ("
 1893   return AssertionFailure() << "Expected: (" << s1_expression << ") != ("
 1894                             << s2_expression << "), actual: "
 1894                             << s2_expression << "), actual: "
 1895                             << PrintToString(s1)
 1896                             << " vs " << PrintToString(s2);
 1896                             << " vs " << PrintToString(s2);