mirror of
https://github.com/NixOS/nix.git
synced 2025-11-23 02:39:37 +01:00
[FAIL()] is a macro with `return`, making it unsuitable for helpers.
This uses std::runtime_error, because gtest does not seem to provide an
exception type of its own for this purpose. [AssertionException] is for
a different use case.
[FAIL()]: https://google.github.io/googletest/reference/assertions.html#FAIL
[AssertionException]:
|
||
|---|---|---|
| .. | ||
| characterization.hh | ||
| gtest-with-params.hh | ||
| hash.cc | ||
| hash.hh | ||
| nix_api_util.hh | ||
| string_callback.cc | ||
| string_callback.hh | ||
| tracing-file-system-object-sink.cc | ||
| tracing-file-system-object-sink.hh | ||