MyGit

release-1.10.0

google/googletest

版本发布时间: 2019-10-04 00:34:44

google/googletest最新发布版本:v1.15.2(2024-07-31 21:36:23)

Release 1.10.0 1.10.0 Release reflects a current version of the project. The 1.10.x will not consider any requests for any new features, The bug fix requests will only be considered if proven "critical"

High Level Changes: This release deprecated "....TEST_CASE" API in favor of "....TEST_SUITE". In a nutshell if you have code that uses something like "INSTANTIATE_TYPED_TEST_CASE_P " - this and all other "*_TEST_CASE " are now deprecated in favor of more standard _TEST_SUITE. See https://github.com/google/googletest/blob/master/googletest/docs/primer.md#beware-of-the-nomenclature.

There is also new powerful MOCK_METHOD macro. See https://github.com/google/googletest/blob/72adf7a4155b6642da1e6761678fe546590c0269/googlemock/docs/cook_book.md#creating-mock-classes. This replaces older way of mocking. For example (Old) MOCK_METHOD1(Bar, double(std::string s)); (New) MOCK_METHOD(double, Bar, (std::string s), (override)); So there is no need to count the parameters anymore.

相关地址:原始地址 下载(tar) 下载(zip)

查看:2019-10-04发行的版本