提交 77142130 编写于 作者: U unknown 提交者: jerry
上级 82483e69
......@@ -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.
先完成此消息的编辑!
想要评论请 注册