未验证 提交 9fe92825 编写于 作者: O openharmony_ci 提交者: Gitee

!7923 适配半容器

Merge pull request !7923 from jerry/cherry-pick-1678536097
......@@ -67,8 +67,10 @@ export default function verificationTest(){
console.info(TAG + "startAbility data = " + JSON.stringify(data));
}).catch((err) => {
console.info(TAG + "startAbility err = " + JSON.stringify(err));
expect().assertFail();
done();
if (err.code != 16000017) {
expect().assertFail();
done();
}
});
} catch (err) {
console.info(TAG + "catch err = " + JSON.stringify(err));
......@@ -130,8 +132,10 @@ export default function verificationTest(){
console.info(TAG + "startAbility data = " + JSON.stringify(data));
}).catch((err) => {
console.info(TAG + "startAbility err = " + JSON.stringify(err));
expect().assertFail();
done();
if (err.code != 16000017) {
expect().assertFail();
done();
}
});
} catch (err) {
console.info(TAG + "catch err = " + JSON.stringify(err));
......@@ -207,8 +211,10 @@ export default function verificationTest(){
console.info(TAG + "startAbility data = " + JSON.stringify(data));
}).catch((err) => {
console.info(TAG + "startAbility err = " + JSON.stringify(err));
expect().assertFail();
done();
if (err.code != 16000017) {
expect().assertFail();
done();
}
});
} catch (err) {
console.info(TAG + "catch err = " + JSON.stringify(err));
......@@ -263,8 +269,10 @@ export default function verificationTest(){
console.info(TAG + "startAbility data = " + JSON.stringify(data));
}).catch((err) => {
console.info(TAG + "startAbility err = " + JSON.stringify(err));
expect().assertFail();
done();
if (err.code != 16000017) {
expect().assertFail();
done();
}
});
} catch (err) {
console.info(TAG + "catch err = " + JSON.stringify(err));
......@@ -421,8 +429,10 @@ export default function verificationTest(){
console.info(TAG + "startAbility data = " + JSON.stringify(data) + ";" + JSON.stringify(data));
}).catch((err) => {
console.info(TAG + "startAbility err = " + JSON.stringify(err));
expect().assertFail();
done();
if (err.code != 16000017) {
expect().assertFail();
done();
}
});
} catch (err) {
console.info(TAG + "catch err = " + JSON.stringify(err));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册