Returns true iff the unit test failed (i.e. some test case failed or something outside of all tests failed).
| 979 | // Returns true iff the unit test failed (i.e. some test case failed |
| 980 | // or something outside of all tests failed). |
| 981 | bool Failed() const { |
| 982 | return failed_test_case_count() > 0 || ad_hoc_test_result()->Failed(); |
| 983 | } |
| 984 | |
| 985 | // Gets the i-th test case among all the test cases. i can range from 0 to |
| 986 | // total_test_case_count() - 1. If i is not in that range, returns NULL. |
no test coverage detected