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

Unified Diff: update_attempter_unittest.cc

Issue 5141004: AU: Use NiceMock<PrefsMock to suppress uninteresting call warnings. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git@master
Patch Set: Created 10 years, 1 month 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 | « omaha_response_handler_action_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: update_attempter_unittest.cc
diff --git a/update_attempter_unittest.cc b/update_attempter_unittest.cc
index 53ffc89268207f1d8fb80313f2a7ad1d21c4ec5d..89adb03b29a102f82328a3c03dce9f3a3006cb03 100644
--- a/update_attempter_unittest.cc
+++ b/update_attempter_unittest.cc
@@ -17,6 +17,7 @@ using testing::_;
using testing::DoAll;
using testing::InSequence;
using testing::Ne;
+using testing::NiceMock;
using testing::Property;
using testing::Return;
using testing::SetArgumentPointee;
@@ -56,7 +57,7 @@ class UpdateAttempterTest : public ::testing::Test {
UpdateAttempterUnderTest attempter_;
ActionProcessorMock* processor_;
- PrefsMock prefs_;
+ NiceMock<PrefsMock> prefs_;
};
TEST_F(UpdateAttempterTest, RunAsRootConstructWithUpdatedMarkerTest) {
« no previous file with comments | « omaha_response_handler_action_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698