MOCKCPP代码下载及使用
https://github.com/sinojelly/mockcpp
下载后,需要手动修改build_install.sh里面的xunit home还有xunit name
https://github.com/sinojelly/mockcpp/blob/master/docs/ChineseVersionManual.md
https://github.com/sinojelly/mockcpp/blob/master/docs/SimpleUserInstruction_zh.md
gtest的例子
https://gitee.com/sinojelly/gtest-with-mockcpp/blob/master/testgtest.cpp
https://github.com/sinojelly/mockcpp/blob/master/docs/BuildSystemDescription.md
别人的例子
https://www.cnblogs.com/heimianshusheng/p/13530672.html