| commit | b1720c4c27417de186325c0c1b8efc7fc0582703 | [log] [tgz] |
|---|---|---|
| author | Weston Carvalho <westoncarvalho@google.com> | Thu Mar 20 14:20:21 2025 -0500 |
| committer | Weston Carvalho <westoncarvalho@google.com> | Fri Mar 21 14:15:02 2025 -0500 |
| tree | 9f1792460d8a626b23944a7fb7b86127bbe304dd | |
| parent | 0976ab2ea95b56ab75eaa0a19f345591cb661746 [diff] |
unittest: Add `HasFatalFailure` Implement `HasFatalFailure` function, matching the function of the same name `googletest` provides. This allows test functions to check whether a subroutine internally failed any asserts to react accordingly. (Most likely to `ASSERT_EQ(false, HasFatalFailures());` so the top-level test function exits as well.) Bug: None Test: build Change-Id: Ia07b1f60007a44c6ed544207c74add26eee52876