Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Unified Diff: src/cashew_unittest.cc

Issue 6395007: cashew: gmock integration (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/cashew.git@master
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/Makefile.am ('k') | src/device.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/cashew_unittest.cc
diff --git a/src/cashew_unittest.cc b/src/cashew_unittest.cc
index cb650fd949f234a94cd3a3c7c73149d6a4a20950..9573a27c2d16423a5a8d1737592074da9f03e3e3 100644
--- a/src/cashew_unittest.cc
+++ b/src/cashew_unittest.cc
@@ -4,10 +4,12 @@
#include <glog/logging.h>
#include <gtest/gtest.h>
+#include <gmock/gmock.h>
int main(int argc, char *argv[]) {
::google::InitGoogleLogging(argv[0]);
::testing::InitGoogleTest(&argc, argv);
::testing::FLAGS_gtest_death_test_style = "fast";
+ ::testing::InitGoogleMock(&argc, argv);
return RUN_ALL_TESTS();
}
« no previous file with comments | « src/Makefile.am ('k') | src/device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698