摘要:
gtest gloga.h:1 int fun(int a);a.cpp:#include"a.h"int fun(int a){return a;}h.cpp:#include"glog/logging.h"#include#include#include"a.h"using namespace std;//using namespace CodeMood;TEST(A,B){EXPECT_EQ(1,fun(1));}int main(int argc,char** argv){testing::InitGoogleMock(&am 阅读全文
posted @ 2014-03-18 23:56
逗比一只
阅读(2004)
评论(0)
推荐(0)
摘要:
google mock 入门教程http://blog.csdn.net/jfkidear/article/details/8040152跟我一起写makefile系列http://blog.csdn.net/haoel/article/details/2886跨平台C++单元测试框架GTest -- Linux下试用 DEMOhttp://graybull.is-programmer.com/posts/37871.html玩转Google开源C++单元测试框架Google Test系列(gtest)http://www.cnblogs.com/coderzh/archive/2009/04 阅读全文
posted @ 2014-03-18 20:47
逗比一只
阅读(704)
评论(0)
推荐(0)

浙公网安备 33010602011771号