MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / ExtractSummary

Method ExtractSummary

tests/gtest/gtest-all.cc:11585–11588  ·  view source on GitHub ↗

Gets the summary of the failure message by omitting the stack trace in it.

Source from the content-addressed store, hash-verified

11583// Gets the summary of the failure message by omitting the stack trace
11584// in it.
11585std::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.
11591std::ostream& operator<<(std::ostream& os, const TestPartResult& result) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected