C'tor. TestPartResult does NOT have a default constructor. Always use this constructor (with parameters) to create a TestPartResult object.
| 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_; } |
no outgoing calls
no test coverage detected