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

Unified Diff: update_check_scheduler_unittest.cc

Issue 6594025: AU: Full proxy support (Closed) Base URL: http://git.chromium.org/git/update_engine.git@master
Patch Set: fixes for review 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « update_attempter_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: update_check_scheduler_unittest.cc
diff --git a/update_check_scheduler_unittest.cc b/update_check_scheduler_unittest.cc
index c26710859c2c0c1771d3fa76ab76d78253cca086..c1dd33033f662fbb8b458de5b58cdcc94cb223c8 100644
--- a/update_check_scheduler_unittest.cc
+++ b/update_check_scheduler_unittest.cc
@@ -40,7 +40,7 @@ class UpdateCheckSchedulerUnderTest : public UpdateCheckScheduler {
class UpdateCheckSchedulerTest : public ::testing::Test {
public:
- UpdateCheckSchedulerTest() : scheduler_(&attempter_) {}
+ UpdateCheckSchedulerTest() : scheduler_(&attempter_), attempter_(&dbus_) {}
protected:
virtual void SetUp() {
@@ -65,6 +65,7 @@ class UpdateCheckSchedulerTest : public ::testing::Test {
}
UpdateCheckSchedulerUnderTest scheduler_;
+ MockDbusGlib dbus_;
UpdateAttempterMock attempter_;
MockFunction<gboolean(gpointer data)> source_callback_;
GMainLoop* loop_;
« no previous file with comments | « update_attempter_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698