C'tor. TestPartResult does NOT have a default constructor. Always use this constructor (with parameters) to create a TestPartResult object.
| 16715 | // Always use this constructor (with parameters) to create a |
| 16716 | // TestPartResult object. |
| 16717 | TestPartResult(Type a_type, |
| 16718 | const char* a_file_name, |
| 16719 | int a_line_number, |
| 16720 | const char* a_message) |
| 16721 | : type_(a_type), |
| 16722 | file_name_(a_file_name), |
| 16723 | line_number_(a_line_number), |
| 16724 | summary_(ExtractSummary(a_message)), |
| 16725 | message_(a_message) { |
| 16726 | } |
| 16727 | |
| 16728 | // Gets the outcome of the test part. |
| 16729 | Type type() const { return type_; } |