shill: Move remaining mock constructors/destructors to .cc.
Non-scientific experiment of 'FEATURES=test emerge-x86-mario -1 shill' shows
real time reduction from 77 seconds to 59 seconds.
BUG=chromium-os:19691
TEST=unit tests
Change-Id: Iba905587cce64648bebc69d03fe9ecb3a3a8b90e
Reviewed-on: http://gerrit.chromium.org/gerrit/6793
Tested-by: Darin Petkov <petkov@chromium.org>
Reviewed-by: mukesh agrawal <quiche@chromium.org>
diff --git a/mock_property_store.h b/mock_property_store.h
index 0956545..f1f16b4 100644
--- a/mock_property_store.h
+++ b/mock_property_store.h
@@ -5,22 +5,18 @@
#ifndef SHILL_MOCK_PROPERTY_STORE_
#define SHILL_MOCK_PROPERTY_STORE_
-#include "shill/property_store.h"
-
-#include <map>
-#include <string>
-#include <vector>
-
#include <base/basictypes.h>
+#include <gmock/gmock.h>
+
+#include "shill/property_store.h"
namespace shill {
-class Error;
-
class MockPropertyStore : public PropertyStore {
public:
- MockPropertyStore() {}
- virtual ~MockPropertyStore() {}
+ MockPropertyStore();
+ virtual ~MockPropertyStore();
+
MOCK_METHOD1(Contains, bool(const std::string&));
MOCK_METHOD3(SetBoolProperty, bool(const std::string&, bool, Error*));
MOCK_METHOD3(SetInt16Property, bool(const std::string&, int16, Error*));