gmock_gen.py脚本在哪里
我记得一段时间以前,Gtest存储库中有一个Python脚本( https://github.com/google/googletest.com/googletest )自动生成模拟类。但是我在较新的版本中找不到它。 Google仍然支持它吗?有什么想法在哪里可以找到该脚本的最新版本?
I remember that some time ago there was a python script in gtest repository (https://github.com/google/googletest) to generate a mock class automatically. But I can't find it anymore in newer releases. Does Google still support it? Any idea where can I find the recent version of that script?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它在版本1.11.0中还活着
googlelemock/scriptss/scripts/scripts/generator 。它支持新的
mock_method
: googlemock/scripts/generator/cpp/gmock_class.py:140Google从2021年9月14日的1.12.0删除了它。
It is alive in the version 1.11.0
googlemock/scripts/generator. It supports new
MOCK_METHOD
: googlemock/scripts/generator/cpp/gmock_class.py:140It was removed by Google from 1.12.0 on Sep 14, 2021.