MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / PrintTestPartResultToString

Function PrintTestPartResultToString

test/common/gtest/gtest.cpp:4290–4297  ·  view source on GitHub ↗

Prints a TestPartResult to an std::string.

Source from the content-addressed store, hash-verified

4288
4289// Prints a TestPartResult to an std::string.
4290static std::string PrintTestPartResultToString(
4291 const TestPartResult& test_part_result) {
4292 return (Message()
4293 << internal::FormatFileLocation(test_part_result.file_name(),
4294 test_part_result.line_number())
4295 << " " << TestPartResultTypeToString(test_part_result.type())
4296 << test_part_result.message()).GetString();
4297}
4298
4299// Prints a TestPartResult.
4300static void PrintTestPartResult(const TestPartResult& test_part_result) {

Callers 2

PrintTestPartResultFunction · 0.85

Calls 6

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

Tested by

no test coverage detected