MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / PrintTestPartResultToString

Function PrintTestPartResultToString

source/test/gtest/src/gtest.cc:3128–3137  ·  view source on GitHub ↗

Prints a TestPartResult to an std::string.

Source from the content-addressed store, hash-verified

3126
3127// Prints a TestPartResult to an std::string.
3128static std::string PrintTestPartResultToString(
3129 const TestPartResult& test_part_result) {
3130 return (Message() << internal::FormatFileLocation(
3131 test_part_result.file_name(),
3132 test_part_result.line_number())
3133 << " "
3134 << TestPartResultTypeToString(test_part_result.type())
3135 << test_part_result.message())
3136 .GetString();
3137}
3138
3139// Prints a TestPartResult.
3140static void PrintTestPartResult(const TestPartResult& test_part_result) {

Callers 2

PrintTestPartResultFunction · 0.85

Calls 6

FormatFileLocationFunction · 0.85
GetStringMethod · 0.80
messageMethod · 0.80
MessageClass · 0.50
typeMethod · 0.45

Tested by

no test coverage detected