googletest/googletest/cmake
Abseil Team 1a8ecf1813 Googletest export
Print std::u8string, std::u16string, and std::u32string as string literals

Previously, these types were printed as "{ U+123, U+456, U+789 }". However,
printed output in that form is difficult to compare against any literals that
might be defined in code. Instead, just treat these types like std::string
and std::wstring, escaping non-ASCII characters with a hexadecimal escape
sequence.

The tests have also been updated to cover the new functionality: as a bonus,
the tests now also pass with the MSVC toolchain.

Internally, the code has been reorganized to primarily operate in terms of
char32_t, under the assumption that char32_t will always be at least as big
as wchar_t. While that assumption is currently true, perhaps it won't be in
the future...

PiperOrigin-RevId: 364033132
2021-03-22 15:18:50 -04:00
..
Config.cmake.in Install CMake export files 2018-08-22 17:27:11 +02:00
gtest_main.pc.in Ensure that gtest/gmock pkgconfig requirements specify version 2020-03-21 06:38:09 -04:00
gtest.pc.in Merge pull request #2556 from ienorand:avoid-pkg-config-lpthread-cflag 2019-11-13 17:03:46 -05:00
internal_utils.cmake Googletest export 2021-03-22 15:18:50 -04:00
libgtest.la.in Generate a libgtest.la to help libtool managing dependencies 2019-02-11 20:17:34 +01:00