MCPcopy Create free account
hub / github.com/BVLC/caffe / PrintTestPartResultToString

Function PrintTestPartResultToString

src/gtest/gtest-all.cpp:3821–3828  ·  view source on GitHub ↗

Prints a TestPartResult to a String.

Source from the content-addressed store, hash-verified

3819
3820// Prints a TestPartResult to a String.
3821static internal::String PrintTestPartResultToString(
3822 const TestPartResult& test_part_result) {
3823 return (Message()
3824 << internal::FormatFileLocation(test_part_result.file_name(),
3825 test_part_result.line_number())
3826 << " " << TestPartResultTypeToString(test_part_result.type())
3827 << test_part_result.message()).GetString();
3828}
3829
3830// Prints a TestPartResult.
3831static void PrintTestPartResult(const TestPartResult& test_part_result) {

Callers 2

PrintTestPartResultFunction · 0.85

Calls 5

FormatFileLocationFunction · 0.85
file_nameMethod · 0.80
MessageFunction · 0.70
typeMethod · 0.45

Tested by

no test coverage detected