Returns true iff the unit test failed (i.e. some test case failed or something outside of all tests failed).
| 954 | // Returns true iff the unit test failed (i.e. some test case failed |
| 955 | // or something outside of all tests failed). |
| 956 | bool Failed() const { |
| 957 | return failed_test_case_count() > 0 || ad_hoc_test_result()->Failed(); |
| 958 | } |
| 959 | |
| 960 | // Gets the i-th test case among all the test cases. i can range from 0 to |
| 961 | // total_test_case_count() - 1. If i is not in that range, returns NULL. |
no test coverage detected