From 203146e8f17b3e1435073c4527188296ddb7f27d Mon Sep 17 00:00:00 2001 From: dy Date: Tue, 22 Mar 2022 14:43:50 +0800 Subject: [PATCH] =?UTF-8?q?update=20cache=20path=E5=90=8C=E6=AD=A5Release?= =?UTF-8?q?=E5=88=86=E6=94=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: dy --- .../src/main/ets/MainAbility/test/ContextJsunit.test.ets | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/aafwk/aafwk_standard/actsabilitymanageretstest/entry/src/main/ets/MainAbility/test/ContextJsunit.test.ets b/aafwk/aafwk_standard/actsabilitymanageretstest/entry/src/main/ets/MainAbility/test/ContextJsunit.test.ets index bb784cf4f..d6124835e 100644 --- a/aafwk/aafwk_standard/actsabilitymanageretstest/entry/src/main/ets/MainAbility/test/ContextJsunit.test.ets +++ b/aafwk/aafwk_standard/actsabilitymanageretstest/entry/src/main/ets/MainAbility/test/ContextJsunit.test.ets @@ -47,11 +47,11 @@ export default function ContextJsunit() { }) } catch (error) { console.log("logMessage context_getCacheDir_test_0100: error = " + error); - expect(error).assertEqual("/data/storage/el2/base/haps/entry/caches"); + expect(error).assertEqual("/data/storage/el2/base/haps/entry/cache"); } var data1 = await context.getCacheDir(); expect(typeof (data1)).assertEqual("string"); - expect(data1).assertEqual("/data/storage/el2/base/haps/entry/caches"); + expect(data1).assertEqual("/data/storage/el2/base/haps/entry/cache"); done(); console.log("------------------end context_getCacheDir_test_0100-------------------"); }); @@ -74,11 +74,11 @@ export default function ContextJsunit() { }); } catch (error) { console.log("logMessage context_getCacheDir_test_0200: error = " + error); - expect(error).assertEqual("/data/storage/el2/base/haps/entry/caches"); + expect(error).assertEqual("/data/storage/el2/base/haps/entry/cache"); } var data1 = await context.getCacheDir(); expect(typeof (data1)).assertEqual("string"); - expect(data1).assertEqual("/data/storage/el2/base/haps/entry/caches"); + expect(data1).assertEqual("/data/storage/el2/base/haps/entry/cache"); done(); console.log("------------------end context_getCacheDir_test_0200-------------------"); }); -- GitLab