shill: Define mock constructors/destructors in .cc files -- round 1.
The intent is to make compilation faster. See bug report for more info. More to
come.
BUG=chromium-os:19691
TEST=unit tests
Change-Id: Icedbfa7ea21224cc818d3708eebd5582bc11ab4d
Reviewed-on: http://gerrit.chromium.org/gerrit/6773
Tested-by: Darin Petkov <petkov@chromium.org>
Reviewed-by: mukesh agrawal <quiche@chromium.org>
diff --git a/mock_dbus_properties_proxy.h b/mock_dbus_properties_proxy.h
index 18b5d6e..710da30 100644
--- a/mock_dbus_properties_proxy.h
+++ b/mock_dbus_properties_proxy.h
@@ -5,6 +5,7 @@
#ifndef SHILL_MOCK_DBUS_PROPERTIES_PROXY_H_
#define SHILL_MOCK_DBUS_PROPERTIES_PROXY_H_
+#include <base/basictypes.h>
#include <gmock/gmock.h>
#include "shill/dbus_properties_proxy_interface.h"
@@ -13,7 +14,13 @@
class MockDBusPropertiesProxy : public DBusPropertiesProxyInterface {
public:
+ MockDBusPropertiesProxy();
+ virtual ~MockDBusPropertiesProxy();
+
MOCK_METHOD1(GetAll, DBusPropertiesMap(const std::string &interface_name));
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(MockDBusPropertiesProxy);
};
} // namespace shill