加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.gitmodules 1.08 KB
一键复制 编辑 原始数据 按行查看 历史
Simon Gomizelj 提交于 2015-06-23 21:40 . Add gmock into the unit tester
[submodule "gtest"]
# https://code.google.com/p/googletest/wiki/FAQ
# > In the early days, we said that you could install compiled
# > Google Test libraries on *nix systems using make install.
# > Then every user of your machine can write tests without
# > recompiling Google Test.
# >
# > This seemed like a good idea, but it has a got-cha: every
# > user needs to compile his tests using the same compiler
# > flags used to compile the installed Google Test libraries;
# > otherwise he may run into undefined behaviors (i.e. the
# > tests can behave strangely and may even crash for no obvious
# > reasons).
# ...
# > Therefore, for your sanity, we recommend to avoid installing
# > pre-compiled Google Test libraries. Instead, each project
# > should compile Google Test itself such that it can be sure
# > that the same flags are used for both Google Test and the
# > tests.
#
path = gtest
url = https://chromium.googlesource.com/external/googletest
ignore = dirty
[submodule "gmock"]
path = gmock
url = https://chromium.googlesource.com/external/googlemock
ignore = dirty
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化