From c1d7d2a1688107c06b683b139e3b56f22feef071 Mon Sep 17 00:00:00 2001 From: wuzeyu Date: Mon, 30 Jun 2025 16:28: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: wuzeyu --- 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..6dbb71f09 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, int32_t &errCode) override + { + return 0; + } + int OpenRawFile(Uri &uri, const std::string &mode) override { return 0; -- Gitee