Index: update_attempter_mock.h |
diff --git a/update_attempter_mock.h b/update_attempter_mock.h |
index 56a0b4212e16adcb3720a27cb576e13789fe8bca..04f0c8310373dc46ccea3d003c31ec71da8fdb87 100644 |
--- a/update_attempter_mock.h |
+++ b/update_attempter_mock.h |
@@ -7,16 +7,19 @@ |
#include <gmock/gmock.h> |
+#include "update_engine/mock_dbus_interface.h" |
#include "update_engine/update_attempter.h" |
namespace chromeos_update_engine { |
class UpdateAttempterMock : public UpdateAttempter { |
public: |
- UpdateAttempterMock() : UpdateAttempter(NULL, NULL) {} |
+ UpdateAttempterMock() : UpdateAttempter(NULL, NULL, &dbus_) {} |
- MOCK_METHOD2(Update, void(const std::string& app_version, |
- const std::string& omaha_url)); |
+ MOCK_METHOD3(Update, void(const std::string& app_version, |
+ const std::string& omaha_url, |
+ bool force_proxy)); |
petkov
2010/11/19 05:37:15
match the name of the argument.
adlr
2010/11/20 02:52:29
Done.
|
+ MockDbusGlib dbus_; |
}; |
} // namespace chromeos_update_engine |