摘要: 如果你还没有搭建gtest框架,可以参考我之前的博客:http://www.cnblogs.com/jycboy/p/6001153.html。。 1.The first sample: sample1 你把github上的项目导来之后,github地址:https://github.com/goo 阅读全文
posted @ 2016-11-12 23:13 超超boy 阅读(10109) 评论(2) 推荐(0) 编辑
摘要: 一、设置一个新的测试项目 在用google test写测试项目之前,需要先编译gtest到library库并将测试与其链接。我们为一些流行的构建系统提供了构建文件: msvc/ for Visual Studio, xcode/ for Mac Xcode, make/ for GNU make,  阅读全文
posted @ 2016-11-12 21:58 超超boy 阅读(45054) 评论(0) 推荐(3) 编辑