Returns true iff the test failed.
| 3154 | |
| 3155 | // Returns true iff the test failed. |
| 3156 | bool TestResult::Failed() const { |
| 3157 | for (int i = 0; i < total_part_count(); ++i) { |
| 3158 | if (GetTestPartResult(i).failed()) |
| 3159 | return true; |
| 3160 | } |
| 3161 | return false; |
| 3162 | } |
| 3163 | |
| 3164 | // Returns true iff the test part fatally failed. |
| 3165 | static bool TestPartFatallyFailed(const TestPartResult& result) { |
no test coverage detected