提交 d373de2e 编写于 作者: C chengxingzhen

xts接口覆盖

Signed-off-by: Nchengxingzhen <chengxingzhen@huawei.com>
上级 a9fb1b54
......@@ -86,8 +86,8 @@ export default function ApiCoverTest() {
console.log("------------start SUB_AA_OpenHarmony_CoverApi_0500-------------");
let appContext = featureAbility.getContext()
appContext.getExternalCacheDir((err, data) => {
expect(data).assertEqual(undefined)
console.info('SUB_AA_OpenHarmony_CoverApiContext_0100 successful. data: ' + JSON.stringify(data));
expect(true).assertTrue()
done()
})
})
......@@ -103,7 +103,7 @@ export default function ApiCoverTest() {
let appContext = featureAbility.getContext()
appContext.getExternalCacheDir().then((data)=>{
console.info('SUB_AA_OpenHarmony_CoverApiContext_0200 successful. data: ' + JSON.stringify(data));
expect(data).assertEqual(undefined)
expect(true).assertTrue()
done()
}).catch((err)=>{
expect().assertFalse();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册