From 70884eaa30f63a41c15470de12622043e334ec7e Mon Sep 17 00:00:00 2001 From: jiangjinpeng3 Date: Mon, 4 Nov 2024 10:24:59 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8D=E5=AA=92=E4=BD=93=E5=BA=93fu?= =?UTF-8?q?se?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: jiangjinpeng3 Change-Id: I1c4caef7ac13bbe924f1c8a555bcb7373531e71b --- .../mock/include/mock_storage_manager_service.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/unittest/uri_permission_impl_test/mock/include/mock_storage_manager_service.h b/test/unittest/uri_permission_impl_test/mock/include/mock_storage_manager_service.h index 36719d84f7..b1406b25f9 100755 --- a/test/unittest/uri_permission_impl_test/mock/include/mock_storage_manager_service.h +++ b/test/unittest/uri_permission_impl_test/mock/include/mock_storage_manager_service.h @@ -330,6 +330,16 @@ public: { return E_OK; } + + virtual int32_t MountMediaFuse(int32_t userId, int32_t &devFd) override + { + return E_OK; + } + + virtual int32_t UMountMediaFuse(int32_t userId) override + { + return E_OK; + } }; bool StorageManagerServiceMock::isZero = true;