Enabling Abseil types pretty-printing in gtest.
If Abseil is not built with Chromium, this CL defines GTEST_HAS_ABSL=1 which enables pretty printers for Abseil types. At the moment only absl:optional and absl::string_view are supported. If a new printer will be added to gtest/gtest-printers.h, the deps list in third_party/googletest/BUILD.gn will have to be updated. Bug: None Change-Id: Ib3cf0eacc286367be2cba0d7b0d3dd9598147bc7 Reviewed-on: https://chromium-review.googlesource.com/1027711Reviewed-by:Nico Weber <thakis@chromium.org> Commit-Queue: Mirko Bonadei <mbonadei@chromium.org> Cr-Commit-Position: refs/heads/master@{#569993}
Showing
Please register or sign in to comment