Returns true iff the test failed.
| 3693 | |
| 3694 | // Returns true iff the test failed. |
| 3695 | bool TestResult::Failed() const { |
| 3696 | for (int i = 0; i < total_part_count(); ++i) { |
| 3697 | if (GetTestPartResult(i).failed()) |
| 3698 | return true; |
| 3699 | } |
| 3700 | return false; |
| 3701 | } |
| 3702 | |
| 3703 | // Returns true iff the test part fatally failed. |
| 3704 | static bool TestPartFatallyFailed(const TestPartResult& result) { |
no test coverage detected