| Index: mock_platform.h
|
| diff --git a/mock_platform.h b/mock_platform.h
|
| index e8a9be36ac77ca07386a6fe052ba007eeca8c1b7..c50adf2276c54922092acaca38ea5c2ef7bbc633 100644
|
| --- a/mock_platform.h
|
| +++ b/mock_platform.h
|
| @@ -36,8 +36,13 @@ class MockPlatform : public Platform {
|
| MOCK_METHOD2(TerminatePidsWithOpenFiles, bool(const std::string&, bool));
|
| MOCK_METHOD2(TerminatePidsForUser, bool(const uid_t, bool));
|
| MOCK_METHOD3(SetOwnership, bool(const std::string&, uid_t, gid_t));
|
| + MOCK_METHOD3(SetOwnershipRecursive, bool(const std::string&, uid_t, gid_t));
|
| MOCK_METHOD3(GetUserId, bool(const std::string&, uid_t*, gid_t*));
|
| + MOCK_METHOD3(GetGroupId, bool(const std::string&, gid_t*));
|
| MOCK_CONST_METHOD1(AmountOfFreeDiskSpace, int64(const std::string&));
|
| + MOCK_METHOD2(Symlink, bool(const std::string&, const std::string&));
|
| + MOCK_METHOD4(Exec, bool(const std::string&, const std::vector<std::string>&,
|
| + uid_t, gid_t));
|
|
|
| private:
|
| bool MockGetUserId(const std::string& user, uid_t* user_id, gid_t* group_id) {
|
|
|