From 9335291952557b39c808d69f94687a7aa9d2b0a5 Mon Sep 17 00:00:00 2001 From: shanchengding Date: Tue, 24 Jun 2025 19:53:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0OpenFileWithErrCode=E5=87=BD?= =?UTF-8?q?=E6=95=B0=EF=BC=8C=E9=80=8F=E4=BC=A0=E9=94=99=E8=AF=AF=E7=A0=81?= =?UTF-8?q?=EF=BC=8C=E5=90=8C=E6=AD=A5=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: shanchengding --- services/ans/test/unittest/mock/mock_datashare.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/services/ans/test/unittest/mock/mock_datashare.cpp b/services/ans/test/unittest/mock/mock_datashare.cpp index 4819c72ca..261acc815 100644 --- a/services/ans/test/unittest/mock/mock_datashare.cpp +++ b/services/ans/test/unittest/mock/mock_datashare.cpp @@ -167,6 +167,11 @@ public: return 0; } + int OpenFileWithErrCode(Uri &uri, const std::string &mode) override + { + return 0; + } + int OpenRawFile(Uri &uri, const std::string &mode) override { return 0; -- Gitee