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

!8836 rk拨打电话用例适配

Merge pull request !8836 from zhangfuzhi/cherry-pick-1685447287
......@@ -14,6 +14,7 @@
*/
import call from '@ohos.telephony.call';
import radio from '@ohos.telephony.radio';
import { afterEach, describe, expect, it } from '@ohos/hypium';
const AUTO_ACCEPT_NUMBER = '10010';
const CALL_STATUS_DIALING = 2;
......@@ -434,7 +435,12 @@ export default function CallManageImsCall() {
return;
}).catch((err) => {
console.info(CaseName + ' case error' + JSON.stringify(err));
expect().assertFail();
radio.isRadioOn(0, (err, data) => {
console.info(CaseName + ' err' + JSON.stringify(err) + ' data ' + JSON.stringify(data));
if (!err) {
expect().assertFail();
}
});
done();
});
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册