提交 25a480ba 编写于 作者: 高曦

电话服务Release用例整改

Signed-off-by: N高曦 <gaoxi785@huawei.com>
上级 54deed85
/* /*
* Copyright (C) 2021 Huawei Device Co., Ltd. * Copyright (C) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
......
/* /*
* Copyright (C) 2021 Huawei Device Co., Ltd. * Copyright (C) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
......
/** /**
* Copyright (C) 2021 Huawei Device Co., Ltd. * Copyright (C) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License") * Licensed under the Apache License, Version 2.0 (the "License")
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
......
...@@ -13,10 +13,9 @@ ...@@ -13,10 +13,9 @@
* limitations under the License. * limitations under the License.
*/ */
// export const AUTO_ACCEPT_NUMBER = '17615117737';
export const AUTO_ACCEPT_NUMBER = '10010'; export const AUTO_ACCEPT_NUMBER = '10010';
export const AUTO_ACCEPT_NUMBER2 = '10010'; export const AUTO_ACCEPT_NUMBER2 = '10010';
export const NOT_ACCEPT_NUMBER = '17160409240';
export const PHONE_NUMBER_AREA_LAND = '089800000000'; export const PHONE_NUMBER_AREA_LAND = '089800000000';
export const PHONE_NUMBER_LENGTH_8 = '86459751'; export const PHONE_NUMBER_LENGTH_8 = '86459751';
......
...@@ -226,7 +226,7 @@ export function scenceInCallingNull (options) { ...@@ -226,7 +226,7 @@ export function scenceInCallingNull (options) {
}); });
} }
// holding call scence,use it should base on scenceInCalling,get the infomation at CALL_STATUS_HOLDING state // holding call scence,use it should base on scenceInCalling,get the information at CALL_STATUS_HOLDING state
export function scenceInHolding (options) { export function scenceInHolding (options) {
console.log(`scenceInHolding options ${toString(options)}`); console.log(`scenceInHolding options ${toString(options)}`);
return new Promise(async (resolve, reject) => { return new Promise(async (resolve, reject) => {
...@@ -293,7 +293,7 @@ export function scenceInUnHolding (options) { ...@@ -293,7 +293,7 @@ export function scenceInUnHolding (options) {
}); });
} }
// hunup call scence,use it should base on scenceInCalling,specific state arrive,get the infomation at this state // hunup call scence,use it should base on scenceInCalling,specific state arrive,get the information at this state
export function scenceInHangup (options) { export function scenceInHangup (options) {
console.log(`scenceInHangup options ${toString(options)}`); console.log(`scenceInHangup options ${toString(options)}`);
return new Promise(async (resolve, reject) => { return new Promise(async (resolve, reject) => {
......
<div class="container"> <div class="container">
<text class="title"> <text class="title">
SIMTEST SIM TEST
</text> </text>
</div> </div>
...@@ -1175,7 +1175,7 @@ describe('SimManagerTest', function () { ...@@ -1175,7 +1175,7 @@ describe('SimManagerTest', function () {
/** /**
* @tc.number Telephony_Sim_queryIccDiallingNumbers_Async_0800 * @tc.number Telephony_Sim_queryIccDiallingNumbers_Async_0800
* @tc.name Test sim.queryIccDiallingNumbers(soltId: 2, type: 1, callback: * @tc.name Test sim.queryIccDiallingNumbers(soltId: 2, type: 1, callback:
* AsyncCallback<Array<DiallingNumbersInfo>>), expect return a empty array. * AsyncCallback<Array<DiallingNumbersInfo>>), expect return an empty array.
* @tc.desc Function test * @tc.desc Function test
*/ */
it('Telephony_Sim_queryIccDiallingNumbers_Async_0800', 0, async function (done) { it('Telephony_Sim_queryIccDiallingNumbers_Async_0800', 0, async function (done) {
...@@ -1196,7 +1196,7 @@ describe('SimManagerTest', function () { ...@@ -1196,7 +1196,7 @@ describe('SimManagerTest', function () {
/** /**
* @tc.number elephony_Sim_queryIccDiallingNumbers_Promise_0800 * @tc.number elephony_Sim_queryIccDiallingNumbers_Promise_0800
* @tc.name Test sim.queryIccDiallingNumbers(soltId: 2, type: 1):Promise<Array<DiallingNumbersInfo>> * @tc.name Test sim.queryIccDiallingNumbers(soltId: 2, type: 1):Promise<Array<DiallingNumbersInfo>>
* promise interface, expect result is a empty array. * promise interface, expect result is an empty array.
* @tc.desc Function test * @tc.desc Function test
*/ */
it('telephony_Sim_queryIccDiallingNumbers_Promise_0800', 0, async function (done) { it('telephony_Sim_queryIccDiallingNumbers_Promise_0800', 0, async function (done) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册