提交 d01176f1 编写于 作者: Z zhangfuzhi

rk拨打电话用例适配

Signed-off-by: Nzhangfuzhi <zhangfuzhi1@huawei.com>
上级 2f0fc49a
......@@ -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));
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.
先完成此消息的编辑!
想要评论请 注册