提交 269997ed 编写于 作者: G gaoxi

电话用例整改

Signed-off-by: Ngaoxi <gaoxi785@huawei.com>
上级 b0b65f15
......@@ -757,7 +757,10 @@ describe('CallManageImsCall', function () {
done();
return;
}
expect(data == call.CALL_STATE_IDLE || data == call.CALL_STATE_UNKNOWN || data == call.CALL_STATE_RINGING || data == call.CALL_STATE_OFFHOOK).assertTrue();
expect(data == call.CALL_STATE_IDLE ||
data == call.CALL_STATE_UNKNOWN ||
data == call.CALL_STATE_RINGING ||
data == call.CALL_STATE_OFFHOOK).assertTrue();
console.log(`Telephony_CallManager_getCallState_Async_0100 finish data = ${data}`);
done();
});
......@@ -772,7 +775,10 @@ describe('CallManageImsCall', function () {
it('Telephony_CallManager_getCallState_Promise_0100', 0, async function (done) {
try {
var data = await call.getCallState();
expect(data == call.CALL_STATE_IDLE || data == call.CALL_STATE_UNKNOWN || data == call.CALL_STATE_RINGING || data == call.CALL_STATE_OFFHOOK).assertTrue();
expect(data == call.CALL_STATE_IDLE ||
data == call.CALL_STATE_UNKNOWN ||
data == call.CALL_STATE_RINGING ||
data == call.CALL_STATE_OFFHOOK).assertTrue();
console.log(`Telephony_CallManager_getCallState_Promise_0100 finish data = ${data}`);
done();
} catch (err) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册