Index: mock_platform.h |
diff --git a/mock_platform.h b/mock_platform.h |
index 6dbfdccba31bf56d53a6098c69f3deae9b4b572a..01ab2a927f3146ab8b504784603750780da8c265 100644 |
--- a/mock_platform.h |
+++ b/mock_platform.h |
@@ -37,6 +37,7 @@ class MockPlatform : public Platform { |
MOCK_METHOD2(TerminatePidsForUser, bool(const uid_t, bool)); |
MOCK_METHOD3(SetOwnership, bool(const std::string&, uid_t, gid_t)); |
MOCK_METHOD3(GetUserId, bool(const std::string&, uid_t*, gid_t*)); |
+ MOCK_METHOD1(AmountOfFreeDiskSpace, int64(const std::string&)); |
private: |
bool MockGetUserId(const std::string& user, uid_t* user_id, gid_t* group_id) { |