aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/cpp/util/test_util.h
Commit message (Collapse)AuthorAge
* Bazel client: refactors, small bugfixes Gravatar Laszlo Csomor2017-02-15
In this change: * Fix pdie and PrintError to acquire the last error string as the first thing the method does, otherwise we may display an error coming from pdie's/PrintError's own logic * Auto-close file handles in file_test in order to avoid leaking them in case an assertion fails (which means an early return from the function) -- Change-Id: Ia4392b42cbc93b931dcee76993db0ad264d0c147 Reviewed-on: https://cr.bazel.build/8932 PiperOrigin-RevId: 147610527 MOS_MIGRATED_REVID=147610527