From 25a480ba309f4ccdf62d904b2ac1ce083e391030 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E6=9B=A6?= Date: Thu, 17 Mar 2022 19:44:26 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B5=E8=AF=9D=E6=9C=8D=E5=8A=A1Release?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 高曦 --- .../call_manager_ims2_call/entry/src/main/config.json | 2 +- .../call_manager_ims2_call/entry/src/main/js/default/app.js | 2 +- .../entry/src/main/js/default/pages/index/index.js | 2 +- .../entry/src/main/js/test/lib/ApiToPromiseReliability.js | 2 +- .../entry/src/main/js/test/lib/Const.js | 3 +-- .../entry/src/main/js/test/lib/ScenceInCalling.js | 4 ++-- .../entry/src/main/js/default/pages/index/index.hml | 2 +- .../entry/src/main/js/test/SimManager.test.js | 4 ++-- 8 files changed, 10 insertions(+), 11 deletions(-) diff --git a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/config.json b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/config.json index 5444a7669..4f0547a2e 100644 --- a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/config.json +++ b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/config.json @@ -45,7 +45,7 @@ "launchType": "standard" } ], - "reqPermissions": [ + "reqPermissions": [ { "name": "ohos.permission.LOCATION", "reason": "need use ohos.permission.LOCATION" diff --git a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/default/app.js b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/default/app.js index f6cc8926d..c1a2274b0 100644 --- a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/default/app.js +++ b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/default/app.js @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 Huawei Device Co., Ltd. + * Copyright (C) 2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/default/pages/index/index.js b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/default/pages/index/index.js index 30709abba..3d02d9362 100644 --- a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/default/pages/index/index.js +++ b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/default/pages/index/index.js @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 Huawei Device Co., Ltd. + * Copyright (C) 2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/test/lib/ApiToPromiseReliability.js b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/test/lib/ApiToPromiseReliability.js index 3285b2ba6..c38a591c2 100644 --- a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/test/lib/ApiToPromiseReliability.js +++ b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/test/lib/ApiToPromiseReliability.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2021 Huawei Device Co., Ltd. + * Copyright (C) 2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License") * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/test/lib/Const.js b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/test/lib/Const.js index b0e95d9c4..b7d269010 100644 --- a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/test/lib/Const.js +++ b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/test/lib/Const.js @@ -13,10 +13,9 @@ * limitations under the License. */ -// export const AUTO_ACCEPT_NUMBER = '17615117737'; + export const AUTO_ACCEPT_NUMBER = '10010'; export const AUTO_ACCEPT_NUMBER2 = '10010'; -export const NOT_ACCEPT_NUMBER = '17160409240'; export const PHONE_NUMBER_AREA_LAND = '089800000000'; export const PHONE_NUMBER_LENGTH_8 = '86459751'; diff --git a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/test/lib/ScenceInCalling.js b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/test/lib/ScenceInCalling.js index f9e88b234..6dd3654dd 100644 --- a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/test/lib/ScenceInCalling.js +++ b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/entry/src/main/js/test/lib/ScenceInCalling.js @@ -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) { console.log(`scenceInHolding options ${toString(options)}`); return new Promise(async (resolve, reject) => { @@ -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) { console.log(`scenceInHangup options ${toString(options)}`); return new Promise(async (resolve, reject) => { diff --git a/telephony/telephonyjstest/sim/sim_manager_function_test/entry/src/main/js/default/pages/index/index.hml b/telephony/telephonyjstest/sim/sim_manager_function_test/entry/src/main/js/default/pages/index/index.hml index 371603e8d..1761ec526 100644 --- a/telephony/telephonyjstest/sim/sim_manager_function_test/entry/src/main/js/default/pages/index/index.hml +++ b/telephony/telephonyjstest/sim/sim_manager_function_test/entry/src/main/js/default/pages/index/index.hml @@ -1,5 +1,5 @@
- SIM卡TEST + SIM TEST
diff --git a/telephony/telephonyjstest/sim/sim_manager_function_test/entry/src/main/js/test/SimManager.test.js b/telephony/telephonyjstest/sim/sim_manager_function_test/entry/src/main/js/test/SimManager.test.js index aac0f098c..bc01fd1c6 100644 --- a/telephony/telephonyjstest/sim/sim_manager_function_test/entry/src/main/js/test/SimManager.test.js +++ b/telephony/telephonyjstest/sim/sim_manager_function_test/entry/src/main/js/test/SimManager.test.js @@ -1175,7 +1175,7 @@ describe('SimManagerTest', function () { /** * @tc.number Telephony_Sim_queryIccDiallingNumbers_Async_0800 * @tc.name Test sim.queryIccDiallingNumbers(soltId: 2, type: 1, callback: - * AsyncCallback>), expect return a empty array. + * AsyncCallback>), expect return an empty array. * @tc.desc Function test */ it('Telephony_Sim_queryIccDiallingNumbers_Async_0800', 0, async function (done) { @@ -1196,7 +1196,7 @@ describe('SimManagerTest', function () { /** * @tc.number elephony_Sim_queryIccDiallingNumbers_Promise_0800 * @tc.name Test sim.queryIccDiallingNumbers(soltId: 2, type: 1):Promise> - * promise interface, expect result is a empty array. + * promise interface, expect result is an empty array. * @tc.desc Function test */ it('telephony_Sim_queryIccDiallingNumbers_Promise_0800', 0, async function (done) { -- GitLab