Lines Matching defs:message

451                            int line, const char* message)
452 : data_(new AssertHelperData(type, file, line, message)) {}
457 void AssertHelper::operator=(const Message& message) const {
460 AppendUserMessage(data_->message, message),
470 // inserted to report ether an error or a log message.
476 // A test that fails at a given file/line location with a given message.
536 std::string message =
551 location.file.c_str(), location.line, [message, location] {
552 return new FailureTest(location, message,
591 std::string message =
614 testcase.second.code_location.line, [message, testcase] {
615 return new FailureTest(testcase.second.code_location, message,
868 Message message;
869 message << "SEH exception with code 0x" << std::setbase(16) << exception_code
871 return message.GetString();
969 // failure of the given type and that the failure message contains the
997 if (strstr(r.message(), substr.c_str()) == nullptr) {
1009 // substring the failure message should contain.
1578 // Constructs and returns the message for an equality assertion
1592 // be inserted into the message.
1624 // Constructs a failure message for Boolean assertions such as EXPECT_TRUE.
1628 const char* actual_message = assertion_result.message();
1651 // message so that the situation can be more easily understood without
1833 // only), and return an appropriate error message when they fail.
1901 // Looks up the human-readable system message for the HRESULT code
1907 // Gets the system's human readable message string for this HRESULT.
2234 // Appends the user-supplied message to the Google-Test-generated message.
2237 // Appends the user message if it's non-empty.
2486 const std::string& message) {
2493 message,
2572 Message message;
2574 message << "C++ exception with description \"" << description << "\"";
2576 message << "Unknown C++ exception";
2578 message << " thrown in " << location << ".";
2580 return message.GetString();
3146 << test_part_result.message())
3156 // following statements add the test part result message to the Output
3162 // want the same message printed twice.
3487 // Print failure message from the assertion
3705 // Print failure message from the assertion
4095 // <failure message="...">...</failure>
4096 // <failure message="...">...</failure>
4097 // <failure message="...">...</failure>
4284 *stream << " <failure message=\"" << EscapeXmlAttribute(summary)
4286 const std::string detail = location + "\n" + part.message();
4297 *stream << " <skipped message=\""
4299 const std::string detail = location + "\n" + part.message();
4742 const std::string message = EscapeJson(location + "\n" + part.message());
4744 << kIndent << " \"failure\": \"" << message << "\",\n"
4902 // arbitrarily long test failure message and stack trace.
5315 const std::string& message,
5319 msg << message;
5329 << trace.message;
5454 // _abort() can show a dialog with a warning message. This forces the
5455 // abort message to go to stderr instead.
5913 const std::string& result = test_part_result.message();
6425 // recognized, it will print its help message. Flags starting with
6427 // internal flags and do not trigger the help message.
6773 // When using the Abseil Flags library, set the program usage message to the
6774 // help message, but remove the color-encoding from the message first.
6891 // Pushes the given source file location and message onto a per-thread
6893 void ScopedTrace::PushTrace(const char* file, int line, std::string message) {
6897 trace.message.swap(message);