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_; |