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

Function PrintTestPartResultToString

tests/gtest/gtest-all.cc:4392–4399  ·  view source on GitHub ↗

Prints a TestPartResult to an std::string.

Source from the content-addressed store, hash-verified

4390
4391// Prints a TestPartResult to an std::string.
4392static std::string PrintTestPartResultToString(
4393 const TestPartResult& test_part_result) {
4394 return (Message()
4395 << internal::FormatFileLocation(test_part_result.file_name(),
4396 test_part_result.line_number())
4397 << " " << TestPartResultTypeToString(test_part_result.type())
4398 << test_part_result.message()).GetString();
4399}
4400
4401// Prints a TestPartResult.
4402static void PrintTestPartResult(const TestPartResult& test_part_result) {

Callers 2

PrintTestPartResultFunction · 0.85

Calls 4

FormatFileLocationFunction · 0.85
GetStringMethod · 0.80
MessageFunction · 0.70

Tested by

no test coverage detected