release-1.12.0
版本发布时间: 2022-06-23 22:17:10
google/googletest最新发布版本:v1.15.2(2024-07-31 21:36:23)
Release Notes
GoogleTest will not accept patches of new features to v1.12.0.
We recommend building GoogleTest from the latest commit instead.
Exceptional critical bug fixes may be considered.
C++ Language Support
- This will be the last release to support C++11. Future releases will require at least C++14.
Mocking
- Support for move-only values to Return (https://github.com/google/googletest/commit/5126f7166109666a9c0534021fb1a3038659494c)
Matchers
-
New matchers
-
WhenBase64Unescaped
(https://github.com/google/googletest/commit/652ec31f9f53ab34af1257e5e2783d77e872ed45)
-
-
ResultOf()
now has a 3-arg overload that takes a description string for better error messages (https://github.com/google/googletest/commit/0e402173c97aea7a00749e825b194bfede4f2e45)
Build & Test
- CMake minimum increased to 3.5
- Bazel users that build GoogleTest using the Abseil library as a dependency now also require a dependency on RE2 (https://github.com/google/googletest/commit/e33c2b24ca3e13df961ed369f7ed21e4cfcf9eec)
- Bazel users that build GoogleTest using the Abseil library now use the Abseil library to parse all command-line flags (https://github.com/google/googletest/commit/25dcdc7e8bfac8967f20fb2c0a628f5cf442188d)