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

Function TestPartResult

test/gtest/gtest.h:17103–17112  ·  view source on GitHub ↗

C'tor. TestPartResult does NOT have a default constructor. Always use this constructor (with parameters) to create a TestPartResult object.

Source from the content-addressed store, hash-verified

17101 // Always use this constructor (with parameters) to create a
17102 // TestPartResult object.
17103 TestPartResult(Type a_type,
17104 const char* a_file_name,
17105 int a_line_number,
17106 const char* a_message)
17107 : type_(a_type),
17108 file_name_(a_file_name == NULL ? "" : a_file_name),
17109 line_number_(a_line_number),
17110 summary_(ExtractSummary(a_message)),
17111 message_(a_message) {
17112 }
17113
17114 // Gets the outcome of the test part.
17115 Type type() const { return type_; }

Callers 1

GTEST_LOCK_EXCLUDED_Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected