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

Side by Side 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, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/Makefile.am ('k') | src/device.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <glog/logging.h> 5 #include <glog/logging.h>
6 #include <gtest/gtest.h> 6 #include <gtest/gtest.h>
7 #include <gmock/gmock.h>
7 8
8 int main(int argc, char *argv[]) { 9 int main(int argc, char *argv[]) {
9 ::google::InitGoogleLogging(argv[0]); 10 ::google::InitGoogleLogging(argv[0]);
10 ::testing::InitGoogleTest(&argc, argv); 11 ::testing::InitGoogleTest(&argc, argv);
11 ::testing::FLAGS_gtest_death_test_style = "fast"; 12 ::testing::FLAGS_gtest_death_test_style = "fast";
13 ::testing::InitGoogleMock(&argc, argv);
12 return RUN_ALL_TESTS(); 14 return RUN_ALL_TESTS();
13 } 15 }
OLDNEW
« 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