MCPcopy Create free account
hub / github.com/OpenZWave/open-zwave / PrintTestPartResultToString

Function PrintTestPartResultToString

cpp/test/src/gtest.cc:2847–2854  ·  view source on GitHub ↗

Prints a TestPartResult to an std::string.

Source from the content-addressed store, hash-verified

2845
2846// Prints a TestPartResult to an std::string.
2847static std::string PrintTestPartResultToString(
2848 const TestPartResult& test_part_result) {
2849 return (Message()
2850 << internal::FormatFileLocation(test_part_result.file_name(),
2851 test_part_result.line_number())
2852 << " " << TestPartResultTypeToString(test_part_result.type())
2853 << test_part_result.message()).GetString();
2854}
2855
2856// Prints a TestPartResult.
2857static void PrintTestPartResult(const TestPartResult& test_part_result) {

Callers 2

PrintTestPartResultFunction · 0.85

Calls 4

FormatFileLocationFunction · 0.85
GetStringMethod · 0.80
MessageFunction · 0.50

Tested by

no test coverage detected