会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
simle、Mars
博客园
首页
新随笔
联系
管理
订阅
2015年5月15日
Gtest打桩函数
摘要: 假设Client的定义如下class Client {......public: virtual bool GetData(std::string& data);......};我们只需要重写Getdata的方法,并且当参数data被传进来时,我们可以返回特定的值。这一套方法,google已经提供...
阅读全文
posted @ 2015-05-15 11:15 simle、Mars
阅读(4346)
评论(0)
推荐(0)
编辑
公告