Gets the summary of the failure message by omitting the stack trace in it.
| 11583 | // Gets the summary of the failure message by omitting the stack trace |
| 11584 | // in it. |
| 11585 | std::string TestPartResult::ExtractSummary(const char* message) { |
| 11586 | const char* const stack_trace = strstr(message, internal::kStackTraceMarker); |
| 11587 | return stack_trace == nullptr ? message : std::string(message, stack_trace); |
| 11588 | } |
| 11589 | |
| 11590 | // Prints a TestPartResult object. |
| 11591 | std::ostream& operator<<(std::ostream& os, const TestPartResult& result) { |
nothing calls this directly
no outgoing calls
no test coverage detected