MCPcopy Create free account
hub / github.com/apache/singa / PrintTestPartResultToString

Function PrintTestPartResultToString

test/gtest/gtest-all.cc:4004–4011  ·  view source on GitHub ↗

Prints a TestPartResult to an std::string.

Source from the content-addressed store, hash-verified

4002
4003// Prints a TestPartResult to an std::string.
4004static std::string PrintTestPartResultToString(
4005 const TestPartResult& test_part_result) {
4006 return (Message()
4007 << internal::FormatFileLocation(test_part_result.file_name(),
4008 test_part_result.line_number())
4009 << " " << TestPartResultTypeToString(test_part_result.type())
4010 << test_part_result.message()).GetString();
4011}
4012
4013// Prints a TestPartResult.
4014static void PrintTestPartResult(const TestPartResult& test_part_result) {

Callers 2

PrintTestPartResultFunction · 0.85

Calls 5

FormatFileLocationFunction · 0.85
GetStringMethod · 0.80
typeMethod · 0.80
MessageFunction · 0.70

Tested by

no test coverage detected