提交 203146e8 编写于 作者: D dy

update cache path同步Release分支

Signed-off-by: Ndy <dingyao5@huawei.com>
上级 1bce09af
...@@ -47,11 +47,11 @@ export default function ContextJsunit() { ...@@ -47,11 +47,11 @@ export default function ContextJsunit() {
}) })
} catch (error) { } catch (error) {
console.log("logMessage context_getCacheDir_test_0100: error = " + 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(); var data1 = await context.getCacheDir();
expect(typeof (data1)).assertEqual("string"); 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(); done();
console.log("------------------end context_getCacheDir_test_0100-------------------"); console.log("------------------end context_getCacheDir_test_0100-------------------");
}); });
...@@ -74,11 +74,11 @@ export default function ContextJsunit() { ...@@ -74,11 +74,11 @@ export default function ContextJsunit() {
}); });
} catch (error) { } catch (error) {
console.log("logMessage context_getCacheDir_test_0200: error = " + 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(); var data1 = await context.getCacheDir();
expect(typeof (data1)).assertEqual("string"); 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(); done();
console.log("------------------end context_getCacheDir_test_0200-------------------"); console.log("------------------end context_getCacheDir_test_0200-------------------");
}); });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册