From be6eaeb760ce3a4a4c95d11f8f15b146ee7ce556 Mon Sep 17 00:00:00 2001 From: zhangfuzhi Date: Mon, 6 Mar 2023 16:00:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E7=BA=BF=E7=9F=AD=E4=BF=A1=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E7=94=A8=E4=BE=8B=EF=BC=8C=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E6=B5=81=E5=BC=8F=E8=BF=94=E5=9B=9E=E7=94=A8=E4=BE=8B=EF=BC=8C?= =?UTF-8?q?=E9=80=82=E9=85=8D=E9=94=99=E8=AF=AF=E7=A0=81=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhangfuzhi --- .../src/main/js/test/CallManageAll.test.js | 6 +- .../src/main/js/test/ObjectInterface_test.js | 54 ++- .../main/js/test/HttpRequest2JsunitTest.js | 422 +++++++++++++++++ .../jshttp/src/main/js/test/List.test.js | 18 +- .../main/js/test/NetworkSearchErrors.test.js | 8 +- .../telephonyjstest/telephony_base/BUILD.gn | 5 +- .../telephony_base/sms_mms/BUILD.gn | 35 -- .../telephony_base/sms_mms/Test.json | 20 - .../sms_mms/signature/openharmony_sx.p7b | Bin 3455 -> 0 bytes .../sms_mms/src/main/config.json | 96 ---- .../sms_mms/src/main/js/MainAbility/app.js | 23 - .../src/main/js/MainAbility/i18n/en-US.json | 8 - .../src/main/js/MainAbility/i18n/zh-CN.json | 8 - .../main/js/MainAbility/pages/index/index.css | 9 - .../main/js/MainAbility/pages/index/index.hml | 5 - .../main/js/MainAbility/pages/index/index.js | 39 -- .../sms_mms/src/main/js/TestAbility/app.js | 23 - .../src/main/js/TestAbility/i18n/en-US.json | 8 - .../src/main/js/TestAbility/i18n/zh-CN.json | 8 - .../main/js/TestAbility/pages/index/index.css | 30 -- .../main/js/TestAbility/pages/index/index.hml | 5 - .../main/js/TestAbility/pages/index/index.js | 26 -- .../js/TestRunner/OpenHarmonyTestRunner.js | 59 --- .../sms_mms/src/main/js/test/List.test.js | 20 - .../main/js/test/SmsMmsBatchInsert.test.js | 426 ------------------ .../main/resources/base/element/string.json | 28 -- .../src/main/resources/base/media/icon.png | Bin 6790 -> 0 bytes 27 files changed, 474 insertions(+), 915 deletions(-) create mode 100644 telephony/telephonyjstest/netmanager_base/jshttp/src/main/js/test/HttpRequest2JsunitTest.js delete mode 100644 telephony/telephonyjstest/telephony_base/sms_mms/BUILD.gn delete mode 100644 telephony/telephonyjstest/telephony_base/sms_mms/Test.json delete mode 100644 telephony/telephonyjstest/telephony_base/sms_mms/signature/openharmony_sx.p7b delete mode 100644 telephony/telephonyjstest/telephony_base/sms_mms/src/main/config.json delete mode 100644 telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/MainAbility/app.js delete mode 100644 telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/MainAbility/i18n/en-US.json delete mode 100644 telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/MainAbility/i18n/zh-CN.json delete mode 100644 telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/MainAbility/pages/index/index.css delete mode 100644 telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/MainAbility/pages/index/index.hml delete mode 100644 telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/MainAbility/pages/index/index.js delete mode 100644 telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/TestAbility/app.js delete mode 100644 telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/TestAbility/i18n/en-US.json delete mode 100644 telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/TestAbility/i18n/zh-CN.json delete mode 100644 telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/TestAbility/pages/index/index.css delete mode 100644 telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/TestAbility/pages/index/index.hml delete mode 100644 telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/TestAbility/pages/index/index.js delete mode 100644 telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/TestRunner/OpenHarmonyTestRunner.js delete mode 100644 telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/test/List.test.js delete mode 100644 telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/test/SmsMmsBatchInsert.test.js delete mode 100644 telephony/telephonyjstest/telephony_base/sms_mms/src/main/resources/base/element/string.json delete mode 100644 telephony/telephonyjstest/telephony_base/sms_mms/src/main/resources/base/media/icon.png diff --git a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/src/main/js/test/CallManageAll.test.js b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/src/main/js/test/CallManageAll.test.js index ddb7b821c..0c21bf655 100644 --- a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/src/main/js/test/CallManageAll.test.js +++ b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/src/main/js/test/CallManageAll.test.js @@ -378,9 +378,8 @@ export default function CallManageImsCall() { it('Telephony_CallManager_Dial_Async_0100', 0, async function (done) { let CaseName = 'Telephony_CallManager_Dial_Async_0100'; try { - call.dial(CALL_NUMBER, (err, data) => { + call.dial("", (err, data) => { console.info(CaseName + " case success" + JSON.stringify(data)); - expect(data == true).assertTrue(); done(); return; }); @@ -400,11 +399,10 @@ export default function CallManageImsCall() { it('Telephony_CallManager_Dial_Async_0200', 0, async function (done) { let CaseName = 'Telephony_CallManager_Dial_Async_0200'; try { - call.dial(CALL_NUMBER, { + call.dial("", { extras: false }, (err, data) => { console.info(CaseName + " case success" + JSON.stringify(data)); - expect(data == true).assertTrue(); done(); return; }); diff --git a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/src/main/js/test/ObjectInterface_test.js b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/src/main/js/test/ObjectInterface_test.js index f23ed7ff8..564c2e93c 100644 --- a/telephony/telephonyjstest/call_manager/call_manager_ims2_call/src/main/js/test/ObjectInterface_test.js +++ b/telephony/telephonyjstest/call_manager/call_manager_ims2_call/src/main/js/test/ObjectInterface_test.js @@ -1530,12 +1530,12 @@ export default function ObjectInterfaceTest() { done(); }); }); + }).catch((err) => { + console.info("contactsApi_updateContact_test_300 err = " + JSON.stringify(err)); + expect(false).assertTrue(); + done(); + return; }); - }).catch((err) => { - console.info("contactsApi_updateContact_test_300 err = " + JSON.stringify(err)); - expect(false).assertTrue(); - done(); - return; }); }); sleep(500); @@ -1670,27 +1670,43 @@ export default function ObjectInterfaceTest() { }); it("contactsApi_selectContact_test_100", 0, async function (done) { - contact.selectContact((err, data) => { - if (err) { - console.info("contactsApi_selectContact_test_100 err = " + JSON.stringify(err)); + contact.addContact(contactData, (err, data) => { + if (!err) { + console.info("contactsApi_selectContact_test_100 data = " + JSON.stringify(data)); + expect(data > 0).assertTrue(); done(); return; } - console.info("contactsApi_selectContact_test_100 data = " + JSON.stringify(data)); - expect(false).assertTrue(); - done(); + contact.selectContact((err, data) => { + if (err) { + console.info("contactsApi_selectContact_test_100 err = " + JSON.stringify(err)); + expect(false).assertTrue(); + done(); + return; + } + console.info("contactsApi_selectContact_test_100 data = " + JSON.stringify(data)); + done(); + }); }); }); it("contactsApi_selectContact_test_200", 0, async function (done) { - let promise = contact.selectContact(); - promise.then((data) => { - console.info("contactsApi_selectContact_test_100 data = " + JSON.stringify(data)); - done(); - }).catch((err) => { - console.info("contactsApi_selectContact_test_100 err = " + JSON.stringify(err)); - expect(false).assertTrue(); - done(); + contact.addContact(contactData, (err, data) => { + if (!err) { + console.info("contactsApi_selectContact_test_200 data = " + JSON.stringify(data)); + expect(data > 0).assertTrue(); + done(); + return; + } + let promise = contact.selectContact(); + promise.then((data) => { + console.info("contactsApi_selectContact_test_200 data = " + JSON.stringify(data)); + done(); + }).catch((err) => { + console.info("contactsApi_selectContact_test_200 err = " + JSON.stringify(err)); + expect(false).assertTrue(); + done(); + }); }); }); }); diff --git a/telephony/telephonyjstest/netmanager_base/jshttp/src/main/js/test/HttpRequest2JsunitTest.js b/telephony/telephonyjstest/netmanager_base/jshttp/src/main/js/test/HttpRequest2JsunitTest.js new file mode 100644 index 000000000..942178c70 --- /dev/null +++ b/telephony/telephonyjstest/netmanager_base/jshttp/src/main/js/test/HttpRequest2JsunitTest.js @@ -0,0 +1,422 @@ +/** + * Copyright (C) 2023 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { describe, expect, it } from '@ohos/hypium'; +import http from '@ohos.net.http'; + + +let httpRequestOptions = { + method: http.RequestMethod.GET, + extraData: null, + header: "content-type': 'application/json", + readTimeout: 60000, + connectTimeout: 60000 +}; + +let delayTime = 4000; +let dataReceive_status; +let dataProgress_status; +let dataEnd_status; +let Address_Baidu = "https://www.baidu.com/"; + +function dataReceive_on_callback(data) { + console.log("dataReceive_on_callback receive len:" + JSON.stringify(data.byteLength)); + dataReceive_status = true; +} + +function dataEnd_on_callback() { + console.log("dataEnd_on_callback callback function"); + dataEnd_status = true; +} + +function dataProgress_on_callback(data) { + console.log("dataProgress_on_callback receive datProgress:" + JSON.stringify(data)); + dataProgress_on_callback = true; +} + +export default function HttpRequest2JsunitTest() { + describe("HttpRequest2JsunitTest", function () { + /** + * @tc.number Telephony_http_HttpRequest_request2_0100 + * @tc.name httprequest2::request2 + * @tc.desc Test request2(url: string, callback: AsyncCallback): void. + */ + it("SUB_Telephony_NetStack_HttpRequest2_Async_0100", 0, async function (done) { + let CaseName = "SUB_Telephony_NetStack_HttpRequest2_Async_0100"; + let Address_Img = "https://img1.baidu.com/it/u=3010094603,1247181326&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=500"; + let HttpRequest = http.createHttp(); + try { + HttpRequest.on("dataReceive", dataReceive_on_callback); + HttpRequest.request2(Address_Img, httpRequestOptions).then(function () { + console.log(CaseName + "NETSTACK request2 OK!"); + HttpRequest.off("dataReceive"); + console.log("NETSTACK off dataReceive success!"); + }).catch(function (err) { + console.log("NETSTACK request2 ERROR : error = " + JSON.stringify(err)); + }); + } catch (error) { + console.log("NETSTACK request2 ERROR : error = " + JSON.stringify(error)); + } + try { + HttpRequest.on("dataProgress", dataProgress_on_callback); + HttpRequest.request2(Address_Img, httpRequestOptions).then(function () { + console.log(CaseName + "NETSTACK request2 OK!"); + HttpRequest.off("dataProgress"); + console.log("NETSTACK off dataProgress success!"); + }).catch(function (err) { + console.log("NETSTACK request2 ERROR : error = " + JSON.stringify(err)); + }); + } catch (error) { + console.log("NETSTACK request2 ERROR : error = " + JSON.stringify(error)); + } + + try { + HttpRequest.on("dataEnd", dataEnd_on_callback); + HttpRequest.request2(Address_Img, httpRequestOptions).then(function () { + console.log(CaseName + "NETSTACK request2 OK!"); + HttpRequest.off("dataEnd"); + done(); + console.log("NETSTACK off dataEnd success!"); + }).catch(function (err) { + console.log("NETSTACK request2 ERROR : error = " + JSON.stringify(err)); + expect(err).assertFalse(); + done(); + }); + } catch (error) { + console.log("NETSTACK request2 ERROR : error = " + JSON.stringify(error)); + expect(error).assertFalse(); + done(); + } + }); + + + /** + * @tc.number Telephony_http_HttpRequest_request2_0200 + * @tc.name httprequest2::request2 + * @tc.desc Test request2(url: string, options: HttpRequestOptions, callback: AsyncCallback): void. + */ + it("SUB_Telephony_NetStack_HttpRequest2_Async_0200", 0, async function (done) { + let CaseName = "SUB_Telephony_NetStack_HttpRequest2_Async_0200" + var httpRequest = http.createHttp(); + httpRequest.request2(Address_Baidu, err => { + if (err) { + console.log(CaseName + " request2 ERROR" + JSON.stringify(err)); + expect().assertFail(); + done(); + } + console.log(CaseName + " request2 Finish"); + done(); + }); + }); + + /** + * @tc.number Telephony_http_HttpRequest_request2_0100 + * @tc.name httprequest2::request2 + * @tc.desc Test request2(url: string, options: HttpRequestOptions): Promise. + */ + it("SUB_Telephony_NetStack_HttpRequest2_Promise_0100", 0, async function (done) { + let CaseName = "SUB_Telephony_NetStack_HttpRequest2_Promise_0100"; + var httpRequest = http.createHttp(); + httpRequest.request2(Address_Baidu, httpRequestOptions).then(function () { + console.log(CaseName + " request2 Finish "); + done(); + }).catch(function (err) { + console.log(CaseName + " error = " + JSON.stringify(err)); + expect().assertFail(); + done(); + }); + }); + + /** + * @tc.number Telephony_http_HttpRequest_request2_0100 + * @tc.name httprequest2::request2 + * @tc.desc Test request2(url: string): Promise. + */ + it("SUB_Telephony_NetStack_HttpRequest2_Promise_0200", 0, async function (done) { + let CaseName = "SUB_Telephony_NetStack_HttpRequest2_Promise_0200"; + var httpRequest = http.createHttp(); + httpRequest.request2(Address_Baidu).then(function () { + console.log(CaseName + " request2 Finish "); + done(); + }).catch(function (err) { + console.log(CaseName + " : error = " + JSON.stringify(err)); + expect().assertFail(); + done(); + }); + }); + + + /** + * @tc.number SUB_Telephony_NetStack_HttpRequest2_on_dataReceive_0100 + * @tc.name httprequest2::on_dataReceive + * @tc.desc Test on(type: "dataReceive", callback: Callback): void. + */ + it("SUB_Telephony_NetStack_HttpRequest2_on_dataReceive_0100", 0, function (done) { + let CaseName = "SUB_Telephony_NetStack_HttpRequest2_on_dataReceive_0100"; + try { + var httpRequest = http.createHttp(); + httpRequest.on("dataReceive", dataReceive_on_callback); + httpRequest.request2(Address_Baidu).then(function () { + setTimeout(() => { + expect(dataReceive_status).assertEqual(true); + console.log(CaseName + " on dataReceive Finish "); + done(); + }, delayTime); + }).catch(function (err) { + console.log(CaseName + " : error = " + JSON.stringify(err)); + expect().assertFail(); + done(); + }); + } catch (error) { + console.log(CaseName + " : error = " + JSON.stringify(error)); + expect().assertFail(); + done(); + } + }); + + + /** + * @tc.number SUB_Telephony_NetStack_HttpRequest2_off_dataReceive_0100 + * @tc.name httprequest2::off_dataReceive + * @tc.desc Test off(type: "dataReceive", callback: Callback): void. + */ + it("SUB_Telephony_NetStack_HttpRequest2_off_dataReceive_0100", 0, function (done) { + let CaseName = "SUB_Telephony_NetStack_HttpRequest2_off_dataReceive_0100"; + try { + var httpRequest = http.createHttp(); + httpRequest.request2(Address_Baidu).then(function () { + httpRequest.off("dataReceive", dataReceive_on_callback); + dataEnd_status = false; + setTimeout(() => { + expect(dataReceive_status).assertEqual(false); + }, delayTime); + console.log(CaseName + " off dataReceive Finish "); + done(); + }).catch(function (err) { + console.log(CaseName + " : error = " + JSON.stringify(err)); + expect().assertFail(); + done(); + }); + } catch (error) { + console.log(CaseName + " : error = " + JSON.stringify(error)); + expect().assertFail(); + done(); + } + }); + + + /** + * @tc.number SUB_Telephony_NetStack_HttpRequest2_off_dataReceive_0200 + * @tc.name httprequest2::off_dataReceive + * @tc.desc Test off(type: "dataReceive"): void. + */ + it("SUB_Telephony_NetStack_HttpRequest2_off_dataReceive_0200", 0, function (done) { + let CaseName = "SUB_Telephony_NetStack_HttpRequest2_off_dataReceive_0200"; + try { + var httpRequest = http.createHttp(); + httpRequest.on("dataReceive", dataReceive_on_callback); + httpRequest.request2(Address_Baidu).then(function () { + setTimeout(() => { + httpRequest.off("dataReceive"); + }, delayTime); + console.log(CaseName + " off dataReceive Finish "); + done(); + }).catch(function (err) { + console.log(CaseName + " : error = " + JSON.stringify(err)); + expect().assertFail(); + done(); + }); + } catch (error) { + console.log(CaseName + " : error = " + JSON.stringify(error)); + expect().assertFail(); + done(); + } + }); + + /** + * @tc.number SUB_Telephony_NetStack_HttpRequest2_on_dataProgress_0100 + * @tc.name httprequest2::on_dataProgress + * @tc.desc Test on(type: "dataProgress", callback: Callback<{ receiveSize: number, totalSize: number }>): void. + */ + it("SUB_Telephony_NetStack_HttpRequest2_on_dataProgress_0100", 0, function (done) { + let CaseName = "SUB_Telephony_NetStack_HttpRequest2_on_dataProgress_0100"; + try { + var httpRequest = http.createHttp(); + httpRequest.on("dataProgress", dataProgress_on_callback); + httpRequest.request2(Address_Baidu).then(function () { + setTimeout(() => { + expect(dataProgress_status).assertEqual(true); + }, delayTime); + console.log(CaseName + " on dataProgress Finish "); + done(); + }).catch(function (err) { + console.log(CaseName + " : error = " + JSON.stringify(err)); + expect().assertFail(); + done(); + }); + } catch (error) { + console.log(CaseName + " : error = " + JSON.stringify(error)); + expect().assertFail(); + done(); + } + }); + + /** + * @tc.number SUB_Telephony_NetStack_HttpRequest2_off_dataProgress_0100 + * @tc.name httprequest2::off_dataProgress + * @tc.desc Test off(type: "dataProgress", callback: Callback<{ receiveSize: number, totalSize: number }>): void. + */ + it("SUB_Telephony_NetStack_HttpRequest2_off_dataProgress_0100", 0, function (done) { + let CaseName = "SUB_Telephony_NetStack_HttpRequest2_off_dataProgress_0100"; + try { + var httpRequest = http.createHttp(); + httpRequest.request2(Address_Baidu).then(function () { + httpRequest.off("dataProgress", dataProgress_on_callback); + dataEnd_status = false; + setTimeout(() => { + expect(dataProgress_status).assertEqual(false); + }, delayTime); + console.log(CaseName + " off dataProgress Finish "); + done(); + }).catch(function (err) { + console.log(CaseName + " : error = " + JSON.stringify(err)); + expect().assertFail(); + done(); + }); + } catch (error) { + console.log(CaseName + " : error = " + JSON.stringify(error)); + expect().assertFail(); + done(); + } + }); + + + /** + * @tc.number SUB_Telephony_NetStack_HttpRequest2_off_dataProgress_0200 + * @tc.name httprequest2::off_dataProgress + * @tc.desc Test off(type: "dataProgress"): void. + */ + it("SUB_Telephony_NetStack_HttpRequest2_off_dataProgress_0200", 0, function (done) { + let CaseName = "SUB_Telephony_NetStack_HttpRequest2_off_dataProgress_0200"; + try { + var httpRequest = http.createHttp(); + httpRequest.on("dataProgress", dataProgress_on_callback); + httpRequest.request2(Address_Baidu).then(function () { + setTimeout(() => { + httpRequest.off("dataProgress"); + }, delayTime); + console.log(CaseName + " off dataProgress Finish "); + done(); + }).catch(function (err) { + console.log(CaseName + " : error = " + JSON.stringify(err)); + expect().assertFail(); + done(); + }); + } catch (error) { + console.log(CaseName + " : error = " + JSON.stringify(error)); + expect().assertFail(); + done(); + } + }); + + + /** + * @tc.number SUB_Telephony_NetStack_HttpRequest2_on_dataEnd_0100 + * @tc.name httprequest2::on_dataEnd + * @tc.desc Test on(type: "dataEnd", callback: Callback): void. + */ + it("SUB_Telephony_NetStack_HttpRequest2_on_dataEnd_0100", 0, function (done) { + let CaseName = "SUB_Telephony_NetStack_HttpRequest2_on_dataEnd_0100"; + try { + var httpRequest = http.createHttp(); + httpRequest.on("dataEnd", dataEnd_on_callback); + httpRequest.request2(Address_Baidu).then(function () { + setTimeout(() => { + expect(dataEnd_status).assertEqual(true); + }, delayTime); + console.log(CaseName + " on dataEnd Finish "); + done(); + }).catch(function (err) { + console.log(CaseName + " : error = " + JSON.stringify(err)); + expect().assertFail(); + done(); + }); + } catch (error) { + console.log(CaseName + " : error = " + JSON.stringify(error)); + expect().assertFail(); + done(); + } + }); + + + /** + * @tc.number SUB_Telephony_NetStack_HttpRequest2_off_dataEnd_0100 + * @tc.name httprequest2::off_dataEnd + * @tc.desc Test off(type: "dataEnd", callback?: Callback): void. + */ + it("SUB_Telephony_NetStack_HttpRequest2_off_dataEnd_0100", 0, function (done) { + let CaseName = "SUB_Telephony_NetStack_HttpRequest2_off_dataEnd_0100"; + try { + var httpRequest = http.createHttp(); + httpRequest.off("dataEnd", dataEnd_on_callback); + dataEnd_status = false; + httpRequest.request2(Address_Baidu).then(function () { + setTimeout(() => { + expect(dataEnd_status).assertEqual(false); + }, delayTime); + console.log(CaseName + " off dataEnd Finish "); + done(); + }).catch(function (err) { + console.log(CaseName + " : error = " + JSON.stringify(err)); + expect().assertFail(); + done(); + }); + } catch (error) { + console.log(CaseName + " : error = " + JSON.stringify(error)); + expect().assertFail(); + done(); + } + }); + + + /** + * @tc.number SUB_Telephony_NetStack_HttpRequest2_off_dataEnd_0200 + * @tc.name httprequest2::off_dataEnd + * @tc.desc Test off(type: "dataEnd"): void;. + */ + it("SUB_Telephony_NetStack_HttpRequest2_off_dataEnd_0200", 0, function (done) { + let CaseName = "SUB_Telephony_NetStack_HttpRequest2_off_dataEnd_0200"; + try { + var httpRequest = http.createHttp(); + httpRequest.on("dataEnd", dataEnd_on_callback); + httpRequest.request2(Address_Baidu).then(function () { + setTimeout(() => { + httpRequest.off("dataEnd"); + }, delayTime); + console.log(CaseName + " off dataEnd Finish "); + done(); + }).catch(function (err) { + console.log(CaseName + " : error = " + JSON.stringify(err)); + expect().assertFail(); + done(); + }); + } catch (error) { + console.log(CaseName + " : error = " + JSON.stringify(error)); + expect().assertFail(); + done(); + } + }); + }); +} \ No newline at end of file diff --git a/telephony/telephonyjstest/netmanager_base/jshttp/src/main/js/test/List.test.js b/telephony/telephonyjstest/netmanager_base/jshttp/src/main/js/test/List.test.js index d33eac101..96b157836 100644 --- a/telephony/telephonyjstest/netmanager_base/jshttp/src/main/js/test/List.test.js +++ b/telephony/telephonyjstest/netmanager_base/jshttp/src/main/js/test/List.test.js @@ -12,12 +12,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - import Telephony_NETSTACK_HTTPTest from './NetworkManagerHttp.test.js'; - import Http2Test from './Http2Test.js'; - import HttpCacheTest from './HttpCacheTest.js'; +import Telephony_NETSTACK_HTTPTest from './NetworkManagerHttp.test.js'; +import Http2Test from './Http2Test.js'; +import HttpCacheTest from './HttpCacheTest.js'; +import HttpRequest2JsunitTest from './HttpRequest2JsunitTest.js'; - export default function testsuite() { - HttpCacheTest(); - Telephony_NETSTACK_HTTPTest(); - Http2Test(); - } +export default function testsuite() { + HttpCacheTest(); + Telephony_NETSTACK_HTTPTest(); + Http2Test(); + HttpRequest2JsunitTest(); +} diff --git a/telephony/telephonyjstest/network_search/network_search_errors/src/main/js/test/NetworkSearchErrors.test.js b/telephony/telephonyjstest/network_search/network_search_errors/src/main/js/test/NetworkSearchErrors.test.js index 5a53ff480..d216763b5 100644 --- a/telephony/telephonyjstest/network_search/network_search_errors/src/main/js/test/NetworkSearchErrors.test.js +++ b/telephony/telephonyjstest/network_search/network_search_errors/src/main/js/test/NetworkSearchErrors.test.js @@ -379,7 +379,7 @@ describe('ActsNetworkSearchTest', function () { radio.isRadioOn((err, data) => { if (err) { console.error('When the device has no modem, the interface reports an error' + JSON.stringify(err)); - expect(err.code).assertEqual(8300000); + expect(err.code).assertEqual(8300003); done(); return; } @@ -400,7 +400,7 @@ describe('ActsNetworkSearchTest', function () { done(); } catch (err) { console.error('When the device has no modem, the interface reports an error' + JSON.stringify(err)); - expect(err.code).assertEqual(8300000); + expect(err.code).assertEqual(8300003); done(); } }); @@ -414,7 +414,7 @@ describe('ActsNetworkSearchTest', function () { radio.isRadioOn(0, (err,data) => { if (err) { console.error('When the device has no modem, the interface reports an error' + JSON.stringify(err)); - expect(err.code).assertEqual(8300000); + expect(err.code).assertEqual(8300003); done(); return; } @@ -436,7 +436,7 @@ describe('ActsNetworkSearchTest', function () { done(); } catch (err) { console.error('When the device has no modem, the interface reports an error' + JSON.stringify(err)); - expect(err.code).assertEqual(8300000); + expect(err.code).assertEqual(8300003); done(); } }); diff --git a/telephony/telephonyjstest/telephony_base/BUILD.gn b/telephony/telephonyjstest/telephony_base/BUILD.gn index 14d77b74c..dc8159cb8 100644 --- a/telephony/telephonyjstest/telephony_base/BUILD.gn +++ b/telephony/telephonyjstest/telephony_base/BUILD.gn @@ -16,9 +16,6 @@ import("//build/ohos_var.gni") group("telephony_base") { testonly = true if (is_standard_system) { - deps = [ - "call_manager:ActsBaseCallManagerTest", - "sms_mms:ActsBaseSmsMmsTest", - ] + deps = [ "call_manager:ActsBaseCallManagerTest" ] } } diff --git a/telephony/telephonyjstest/telephony_base/sms_mms/BUILD.gn b/telephony/telephonyjstest/telephony_base/sms_mms/BUILD.gn deleted file mode 100644 index d5435c442..000000000 --- a/telephony/telephonyjstest/telephony_base/sms_mms/BUILD.gn +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright (c) 2023 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -import("//test/xts/tools/build/suite.gni") - -ohos_js_hap_suite("ActsBaseSmsMmsTest") { - hap_profile = "./src/main/config.json" - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" - hap_name = "ActsBaseSmsMmsTest" - part_name = "sms_mms" - subsystem_name = "telephony" -} -ohos_js_assets("hjs_demo_js_assets") { - js2abc = true - hap_profile = "./src/main/config.json" - source_dir = "./src/main/js" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./src/main/resources" ] - hap_profile = "./src/main/config.json" -} diff --git a/telephony/telephonyjstest/telephony_base/sms_mms/Test.json b/telephony/telephonyjstest/telephony_base/sms_mms/Test.json deleted file mode 100644 index 74e2fd4ae..000000000 --- a/telephony/telephonyjstest/telephony_base/sms_mms/Test.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "description": "Function test of sms_mms manager interface", - "driver": { - "type": "OHJSUnitTest", - "test-timeout": "900000", - "bundle-name": "com.ohos.sms_mms", - "package-name": "com.ohos.sms_mms", - "shell-timeout": "900000", - "testcase-timeout": "30000" - }, - "kits": [ - { - "test-file-name": [ - "$module.hap" - ], - "type": "AppInstallKit", - "cleanup-apps": true - } - ] -} diff --git a/telephony/telephonyjstest/telephony_base/sms_mms/signature/openharmony_sx.p7b b/telephony/telephonyjstest/telephony_base/sms_mms/signature/openharmony_sx.p7b deleted file mode 100644 index daee588c1b316f3f8c4472196bbb9742ef6a9a11..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3455 zcmcgvX>=3U8MPLh7$a;js{_~wgDD_*BTKeq2rwg!HW1UPMiNeT5SP#Q`g34ua8BRgPo;73o+K|eI- z`@Z|;-FfeR_nik4k~wMV&P#}OLAR{e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lu}Ii!AsEibeZ_;s15V-B-`yEEpFjJngFm~O`taKtiNMx#&qRR~ z;1xnCdspsHPq-TQ8}j=hH-AC2`O^;c-WR>TV_nRv_?_ODvRy6z3 zTN}9{ElsuYFCO(Nfp6x|nwdIs*#|ooTEHdk-E zQpdk0PLYaSDPpXsy>WG&WYLCO64S9qW9hHlaB#+)Hd)4ohIel`o#$R%zh!#j{yU#K z#rox#zB#l8*}k{sZd=U*`;I<++uci6{YBqz>te~}Bipw;s2TWROz!eo4z`}@$JFNealX6tNF)u zcyxjIYR;Q?K4lhZ_U}sjcHganoKqLyko@jQ@wWM)%B9EWzZ^Qyu;ZOS+d##k&(@AD zDm~o#_J`|pHf+DMbZOR|bIl`{-diyH(D>YYH%?qxd0*z(>IQfZb9$ym{tt~k)7*NT zFd}~nAcP=z>8Gkizh-VN_|3f%f6eaWMVqc3%{qQD`|3PzmZihs_+sh8q5f9m*XM7v z4*cZC#eSSw9easpcb9}W+giuS9vrUR`|+AJSs#*<+Xp3vJzR3xydvDO62BU9GAn#1 z6>m=dY$B8pOy@*4g}W<&x)-vIT_Z01SH^q^Cle+@V+q zAfN_v1t=`80+XIp#gJ5-r)T+5>y7p+=gE5A^Wudtr;Dz*s--F(d zPjaDH2eiUGc6 - - SMS_MMS TEST - - diff --git a/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/MainAbility/pages/index/index.js b/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/MainAbility/pages/index/index.js deleted file mode 100644 index 7641f832e..000000000 --- a/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/MainAbility/pages/index/index.js +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2023 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'; -import { Hypium } from '@ohos/hypium'; -import testsuite from '../../../test/List.test'; - -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') - -export default { - data: { - title: '' - }, - onInit () { - this.title = this.$t('strings.world'); - }, - onShow () { - console.info('onShow finish!'); - var abilityDelegator = AbilityDelegatorRegistry.getAbilityDelegator(); - var abilityDelegatorArguments = AbilityDelegatorRegistry.getArguments(); - console.info('start run testcase!!!'); - Hypium.hypiumTest(abilityDelegator, abilityDelegatorArguments, testsuite); - }, - onReady () { - }, -}; \ No newline at end of file diff --git a/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/TestAbility/app.js b/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/TestAbility/app.js deleted file mode 100644 index 88d845704..000000000 --- a/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/TestAbility/app.js +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (c) 2023 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export default { - onCreate() { - console.info('TestApplication onCreate'); - }, - onDestroy() { - console.info('TestApplication onDestroy'); - } -}; - diff --git a/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/TestAbility/i18n/en-US.json b/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/TestAbility/i18n/en-US.json deleted file mode 100644 index 55561b837..000000000 --- a/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/TestAbility/i18n/en-US.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - }, - "Files": { - } -} \ No newline at end of file diff --git a/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/TestAbility/i18n/zh-CN.json b/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/TestAbility/i18n/zh-CN.json deleted file mode 100644 index cce1af067..000000000 --- a/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/TestAbility/i18n/zh-CN.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - }, - "Files": { - } -} \ No newline at end of file diff --git a/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/TestAbility/pages/index/index.css b/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/TestAbility/pages/index/index.css deleted file mode 100644 index b21c92c62..000000000 --- a/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/TestAbility/pages/index/index.css +++ /dev/null @@ -1,30 +0,0 @@ -.container { - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - left: 0px; - top: 0px; - width: 100%; - height: 100%; -} - -.title { - font-size: 60px; - text-align: center; - width: 100%; - height: 40%; - margin: 10px; -} - -@media screen and (device-type: phone) and (orientation: landscape) { - .title { - font-size: 60px; - } -} - -@media screen and (device-type: tablet) and (orientation: landscape) { - .title { - font-size: 100px; - } -} \ No newline at end of file diff --git a/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/TestAbility/pages/index/index.hml b/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/TestAbility/pages/index/index.hml deleted file mode 100644 index f64b040a5..000000000 --- a/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/TestAbility/pages/index/index.hml +++ /dev/null @@ -1,5 +0,0 @@ -
- - {{ $t('strings.hello') }} {{ title }} - -
diff --git a/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/TestAbility/pages/index/index.js b/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/TestAbility/pages/index/index.js deleted file mode 100644 index c2c0b3c52..000000000 --- a/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/TestAbility/pages/index/index.js +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright (c) 2023 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -export default { - data: { - title: "" - }, - onInit() { - this.title = this.$t('strings.world'); - } -} - - - diff --git a/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/TestRunner/OpenHarmonyTestRunner.js b/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/TestRunner/OpenHarmonyTestRunner.js deleted file mode 100644 index 02be70fc4..000000000 --- a/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/TestRunner/OpenHarmonyTestRunner.js +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (c) 2023 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'; - -function translateParamsToString(parameters) { - const keySet = new Set([ - '-s class', '-s notClass', '-s suite', '-s itName', - '-s level', '-s testType', '-s size', '-s timeout', - '-s package', '-s dryRun' - ]); - let targetParams = ''; - for (const key in parameters) { - if (keySet.has(key)) { - targetParams += ' ' + key + ' ' + parameters[key]; - } - } - return targetParams.trim(); -} - - export default { - onPrepare() { - console.info('OpenHarmonyTestRunner OnPrepare'); - }, - onRun() { - console.log('OpenHarmonyTestRunner onRun run'); - var abilityDelegatorArguments = AbilityDelegatorRegistry.getArguments(); - var abilityDelegator = AbilityDelegatorRegistry.getAbilityDelegator(); - - var testAbilityName = abilityDelegatorArguments.parameters['-p'] + '.MainAbility'; - - var cmd = 'aa start -d 0 -a ' + testAbilityName + ' -b ' + abilityDelegatorArguments.bundleName; - cmd += ' ' + translateParamsToString(abilityDelegatorArguments.parameters); - var debug = abilityDelegatorArguments.parameters["-D"]; - console.info('debug value : '+debug); - if (debug == 'true') - { - cmd += ' -D'; - } - console.info('cmd : '+cmd); - abilityDelegator.executeShellCommand(cmd, (err, data) => { - console.info('executeShellCommand : err : ' + JSON.stringify(err)); - console.info('executeShellCommand : data : ' + data.stdResult); - console.info('executeShellCommand : data : ' + data.exitCode); - }); - } -} diff --git a/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/test/List.test.js b/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/test/List.test.js deleted file mode 100644 index 4351c20ac..000000000 --- a/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/test/List.test.js +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2023 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import SmsMmsBatchInsert from './SmsMmsBatchInsert.test'; - -export default function testsuite() { - SmsMmsBatchInsert(); -} \ No newline at end of file diff --git a/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/test/SmsMmsBatchInsert.test.js b/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/test/SmsMmsBatchInsert.test.js deleted file mode 100644 index cf1dc8cfa..000000000 --- a/telephony/telephonyjstest/telephony_base/sms_mms/src/main/js/test/SmsMmsBatchInsert.test.js +++ /dev/null @@ -1,426 +0,0 @@ -/* -* Copyright (c) 2023 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 -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -import featureAbility from "@ohos.ability.featureAbility"; -import { describe, expect, it, beforeEach } from '@ohos/hypium'; - -export default function SmsMmsBatchInsert() { - describe('SmsMmsBatchInsert', function () { - - const URL_DAH = "dataability:///com.ohos.smsmmsability"; - const URL_INFO = "dataability:///com.ohos.smsmmsability/sms_mms/sms_mms_info"; - const URL_INFO_ERR = "dataability:///com.ohos.smsmmsability/sms_mms/sms_mms_infos"; - const DAHelper = featureAbility.acquireDataAbilityHelper(URL_DAH); - let smsMmsInfo = { - "receiver_number": "134XXXXXXXX", //接收方号码 TEXT - "sender_number": "135XXXXXXXX", //发送方号码 TEXT - "is_sender": 1, //是否是发送方 0 - 接收方 1 - 发送方 integer - "msg_type": 0, //消息类型 0主题、1图片、2视频、3音频、4文本、5名片 integer - "sms_type": 1, //短息类型 0-普通,1-通知 integer - "start_time": "1659506935398", //启始时间 TEXT - "end_time": "1659506935399", //结束时间 TEXT - "msg_state": 0, //消息状态 0:成功 ,1 :失败 , 2 : 发送中... integer - "msg_title": "message title", //消息标题 TEXT - "msg_content": "The test text message content", //消息内容 TEXT - "operator_service_number": "123456", //操作员服务号码 TEXT - "is_lock": 0, //是否锁定 0-否,1-是 integer - "is_collect": 0, //是否收藏 0-未收藏,1-已收藏 integer - "is_read": 0, // 是否读取 0-已读,1-未读 integer - "session_type": 0, //会话类型 0 - 普通 1 - 广播 2 - 群发 integer - "retry_number": 0, //重试次数 integer - "session_id": -1, //会话Id integer - "group_id": 1, //群组ID integer - "device_id": -1, //设备id integer - "is_subsection": 0, //是否分支 0 - 否 1 - 是 integer - "is_send_report": 1, //是否发送报告 0 - 否 1 - 是 integer - "msg_code": 0 - }; //消息码 integer - - let smsMmsInfoErr = { - "receiver_number_s": "134XXXXXXXX", //接收方号码 TEXT - "sender_number": "135XXXXXXXX", //发送方号码 TEXT - "is_sender_s": 1, //是否是发送方 0 - 接收方 1 - 发送方 integer - "msg_type": 0, //消息类型 0主题、1图片、2视频、3音频、4文本、5名片 integer - "sms_type": 1, //短息类型 0-普通,1-通知 integer - "start_time": "1659506935398", //启始时间 TEXT - "end_time": "1659506935399", //结束时间 TEXT - "msg_state": 0, //消息状态 0:成功 ,1 :失败 , 2 : 发送中... integer - "msg_title": "message title", //消息标题 TEXT - "msg_content": "The err test text message content", //消息内容 TEXT - "operator_service_number": "123456", //操作员服务号码 TEXT - "is_lock": 0, //是否锁定 0-否,1-是 integer - "is_collect": 0, //是否收藏 0-未收藏,1-已收藏 integer - "is_read": 0, // 是否读取 0-已读,1-未读 integer - "session_type": 0, //会话类型 0 - 普通 1 - 广播 2 - 群发 integer - "retry_number": 0, //重试次数 integer - "session_id": -1, //会话Id integer - "group_id": 1, //群组ID integer - "device_id": -1, //设备id integer - "is_subsection": 0, //是否分支 0 - 否 1 - 是 integer - "is_send_report": 1, //是否发送报告 0 - 否 1 - 是 integer - "msg_code": 0 - }; //消息码 integer - - beforeEach(async function () { - if (DAHelper == null) { - console.log('beforeEach get DAHelper fail.'); - return; - } - try { - let dataQuery = await DAHelper.query(URL_INFO); - console.log('beforeEach query Success, data: ' + JSON.stringify(dataQuery.rowCount)); - if (dataQuery.rowCount !== 0) { - let dataDel = await DAHelper.delete(URL_INFO); - console.log('beforeEach delete Success, data: ' + JSON.stringify(dataDel)); - } - } catch (err) { - console.log('beforeEach test fail, err : ' + JSON.stringify(err)); - return; - } - }); - - function sleep(numberMillis) { - var now = new Date(); - var exitTime = now.getTime() + numberMillis; - while (true) { - now = new Date(); - if (now.getTime() > exitTime){ - return; - } - } - } - - function ExpectTrue(data) { - try { - expect(data).assertTrue(); - } catch (err) { - console.log('assertion failure'); - } - } - - function ExpectFalse() { - try { - expect().assertFail(); - } catch (err) { - console.log('assertion failure'); - } - } - - /* - * @tc.number Telephony_SmsMms_batchInsert_Async_0100 - * @tc.name - * @tc.desc Function test - */ - it('Telephony_SmsMms_batchInsert_Async_0100', 0, async function (done) { - const CASE_NAME = 'Telephony_SmsMms_batchInsert_Async_0100'; - let valuesBuckets = []; - let num = 1; - for (let i = 0; i < num; i++) { - valuesBuckets[i] = smsMmsInfo; - } - DAHelper.batchInsert(URL_INFO, valuesBuckets, (data, err) => { - if (err) { - console.log(CASE_NAME + ' batchInsert fail, err : ' + JSON.stringify(err)); - ExpectFalse(); - done(); - return; - } - ExpectTrue(data.code === 0); - console.log(CASE_NAME + ' batchInsert Success, data:' + JSON.stringify(data)); - }); - sleep(100); - try { - let data = await DAHelper.query(URL_INFO); - ExpectTrue(data.rowCount === num); - console.log(CASE_NAME + ' query Success, data: ' + JSON.stringify(data.rowCount)); - done(); - } catch (err) { - console.log(CASE_NAME + ' query fail, err: ' + JSON.stringify(err)); - ExpectFalse(); - done(); - return; - } - }); - - /* - * @tc.number Telephony_SmsMms_batchInsert_Async_0200 - * @tc.name - * @tc.desc Function test - */ - it('Telephony_SmsMms_batchInsert_Async_0200', 0, async function (done) { - const CASE_NAME = 'Telephony_SmsMms_batchInsert_Async_0200'; - let valuesBuckets = []; - let num = 1; - for (let i = 0; i < num; i++) { - valuesBuckets[i] = smsMmsInfo; - } - DAHelper.batchInsert(URL_INFO_ERR, valuesBuckets, (data, err) => { - if (err) { - console.log(CASE_NAME + ' batchInsert Success, err : ' + JSON.stringify(err)); - ExpectTrue(true); - done(); - return; - } - ExpectFalse(); - console.log(CASE_NAME + ' batchInsert failed, data:' + JSON.stringify(data)); - done(); - }); - }); - - /* - * @tc.number Telephony_SmsMms_batchInsert_Async_0300 - * @tc.name - * @tc.desc Function test - */ - it('Telephony_SmsMms_batchInsert_Async_0300', 0, async function (done) { - const CASE_NAME = 'Telephony_SmsMms_batchInsert_Async_0300'; - let valuesBuckets = []; - DAHelper.batchInsert(URL_INFO, valuesBuckets, (data, err) => { - if (err) { - console.log(CASE_NAME + ' batchInsert fail, err : ' + JSON.stringify(err)); - ExpectFalse(); - done(); - return; - } - ExpectTrue(data.code === 0); - console.log(CASE_NAME + ' batchInsert Success, data:' + JSON.stringify(data)); - }); - sleep(100); - try { - let data = await DAHelper.query(URL_INFO); - ExpectTrue(data.rowCount === 0); - console.log(CASE_NAME + ' query Success, data: ' + JSON.stringify(data.rowCount)); - done(); - } catch (err) { - console.log(CASE_NAME + ' query fail, err : ' + JSON.stringify(err)); - ExpectFalse(); - done(); - return; - } - }); - - /* - * @tc.number Telephony_SmsMms_batchInsert_Async_0400 - * @tc.name - * @tc.desc Function test - */ - it('Telephony_SmsMms_batchInsert_Async_0400', 0, async function (done) { - const CASE_NAME = 'Telephony_SmsMms_batchInsert_Async_0400'; - let valuesBuckets = []; - let num = 248; - for (let i = 0; i < num; i++) { - valuesBuckets[i] = smsMmsInfo; - } - DAHelper.batchInsert(URL_INFO, valuesBuckets, (data, err) => { - if (err) { - console.log(CASE_NAME + ' batchInsert fail, err : ' + JSON.stringify(err)); - ExpectFalse(); - } - ExpectTrue(data.code === 0); - console.log(CASE_NAME + ' batchInsert Success, data:' + JSON.stringify(data)); - }); - sleep(2000); - try { - let data = await DAHelper.query(URL_INFO); - ExpectTrue(data.rowCount === num); - console.log(CASE_NAME + ' query Success, data:' + JSON.stringify(data.rowCount)); - done(); - } catch (err) { - console.log(CASE_NAME + ' query fail, err : ' + JSON.stringify(err)); - ExpectFalse(); - done(); - return; - } - }); - - /* - * @tc.number Telephony_SmsMms_batchInsert_Async_0500 - * @tc.name - * @tc.desc Function test - */ - it('Telephony_SmsMms_batchInsert_Async_0500', 0, async function (done) { - const CASE_NAME = 'Telephony_SmsMms_batchInsert_Async_0500'; - let valuesBuckets = []; - let num = 1; - for (let i = 0; i < num; i++) { - valuesBuckets[i] = smsMmsInfoErr; - } - DAHelper.batchInsert(URL_INFO, valuesBuckets, (data, err) => { - if (err) { - console.log(CASE_NAME + ' batchInsert Success, err : ' + JSON.stringify(err)); - ExpectTrue(true); - done(); - return; - } - ExpectFalse(); - console.log(CASE_NAME + ' batchInsert failed, data:' + JSON.stringify(data)); - done(); - }); - }); - - /* - * @tc.number Telephony_SmsMms_batchInsert_Promise_0100 - * @tc.name - * @tc.desc Function test - */ - it('Telephony_SmsMms_batchInsert_Promise_0100', 0, async function (done) { - const CASE_NAME = 'Telephony_SmsMms_batchInsert_Promise_0100'; - let valuesBuckets = []; - let num = 1; - for (let i = 0; i < num; i++) { - valuesBuckets[i] = smsMmsInfo; - } - try { - let data = await DAHelper.batchInsert(URL_INFO, valuesBuckets); - ExpectTrue(data === 0); - console.log(CASE_NAME + ' batchInsert Success, data:' + JSON.stringify(data)); - } catch (err) { - console.log(CASE_NAME + ' batchInsert fail, err : ' + JSON.stringify(err)); - ExpectFalse(); - done(); - return; - } - try { - let data = await DAHelper.query(URL_INFO); - ExpectTrue(data.rowCount === num); - console.log(CASE_NAME + ' query Success, data:' + JSON.stringify(data.rowCount)); - done(); - } catch (err) { - console.log(CASE_NAME + ' query fail, err : ' + JSON.stringify(err)); - ExpectFalse(); - done(); - return; - } - }); - - /* - * @tc.number Telephony_SmsMms_batchInsert_Promise_0200 - * @tc.name - * @tc.desc Function test - */ - it('Telephony_SmsMms_batchInsert_Promise_0200', 0, async function (done) { - const CASE_NAME = 'Telephony_SmsMms_batchInsert_Promise_0200'; - let valuesBuckets = []; - let num = 1; - for (let i = 0; i < num; i++) { - valuesBuckets[i] = smsMmsInfo; - } - try { - let data = await DAHelper.batchInsert(URL_INFO_ERR, valuesBuckets); - ExpectTrue(data === -1); - console.log(CASE_NAME + ' batchInsert Success, data:' + JSON.stringify(data)); - done(); - return; - } catch (err) { - console.log(CASE_NAME + ' batchInsert failed, err : ' + JSON.stringify(err)); - ExpectTrue(true); - done(); - } - }); - - /* - * @tc.number Telephony_SmsMms_batchInsert_Promise_0300 - * @tc.name - * @tc.desc Function test - */ - it('Telephony_SmsMms_batchInsert_Promise_0300', 0, async function (done) { - const CASE_NAME = 'Telephony_SmsMms_batchInsert_Promise_0300'; - let valuesBuckets = []; - try { - let data = await DAHelper.batchInsert(URL_INFO, valuesBuckets); - ExpectTrue(data === 0); - console.log(CASE_NAME + ' batchInsert Success, data:' + JSON.stringify(data)); - } catch (err) { - console.log(CASE_NAME + ' batchInsert fail, err : ' + JSON.stringify(err)); - ExpectFalse(); - done(); - return; - } - sleep(100); - try { - let data = await DAHelper.query(URL_INFO); - ExpectTrue(data.rowCount === 0); - console.log(CASE_NAME + ' query Success, data:' + JSON.stringify(data.rowCount)); - done(); - } catch (err) { - console.log(CASE_NAME + ' query fail, err : ' + JSON.stringify(err)); - ExpectFalse(); - done(); - return; - } - }); - - /* - * @tc.number Telephony_SmsMms_batchInsert_Promise_0400 - * @tc.name - * @tc.desc Function test - */ - it('Telephony_SmsMms_batchInsert_Promise_0400', 0, async function (done) { - const CASE_NAME = 'Telephony_SmsMms_batchInsert_Promise_0400'; - let valuesBuckets = []; - let num = 100; - for (let i = 0; i < num; i++) { - valuesBuckets[i] = smsMmsInfo; - } - try { - let data = await DAHelper.batchInsert(URL_INFO, valuesBuckets); - ExpectTrue(data === 0); - console.log(CASE_NAME + ' batchInsert Success, data:' + JSON.stringify(data)); - } catch (err) { - console.log(CASE_NAME + ' batchInsert fail, err : ' + JSON.stringify(err)); - ExpectFalse(); - done(); - return; - } - sleep(100); - try { - let data = await DAHelper.query(URL_INFO); - ExpectTrue(data.rowCount === num); - console.log(CASE_NAME + ' query Success, data:' + JSON.stringify(data.rowCount)); - done(); - } catch (err) { - console.log(CASE_NAME + ' query fail, err : ' + JSON.stringify(err)); - ExpectFalse(); - done(); - return; - } - }); - - /* - * @tc.number Telephony_SmsMms_batchInsert_Promise_0500 - * @tc.name - * @tc.desc Function test - */ - it('Telephony_SmsMms_batchInsert_Promise_0500', 0, async function (done) { - const CASE_NAME = 'Telephony_SmsMms_batchInsert_Promise_0500'; - let valuesBuckets = []; - let num = 1; - for (let i = 0; i < num; i++) { - valuesBuckets[i] = smsMmsInfoErr; - } - try { - let data = await DAHelper.batchInsert(URL_INFO, valuesBuckets); - ExpectTrue(data === -1); - console.log(CASE_NAME + ' batchInsert Success , data:' + JSON.stringify(data)); - done(); - return; - } catch (err) { - console.log(CASE_NAME + ' batchInsert failed, err : ' + JSON.stringify(err)); - ExpectTrue(true); - done(); - } - }); - }); -} \ No newline at end of file diff --git a/telephony/telephonyjstest/telephony_base/sms_mms/src/main/resources/base/element/string.json b/telephony/telephonyjstest/telephony_base/sms_mms/src/main/resources/base/element/string.json deleted file mode 100644 index f06b8e11e..000000000 --- a/telephony/telephonyjstest/telephony_base/sms_mms/src/main/resources/base/element/string.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "sms_mms Test" - }, - { - "name": "mainability_description", - "value": "sms_mms Test" - }, - { - "name": "MainAbility_desc", - "value": "description" - }, - { - "name": "MainAbility_label", - "value": "label" - }, - { - "name": "TestAbility_desc", - "value": "description" - }, - { - "name": "TestAbility_label", - "value": "label" - } - ] -} \ No newline at end of file diff --git a/telephony/telephonyjstest/telephony_base/sms_mms/src/main/resources/base/media/icon.png b/telephony/telephonyjstest/telephony_base/sms_mms/src/main/resources/base/media/icon.png deleted file mode 100644 index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6790 zcmX|G1ymHk)?T_}Vd;>R?p|tHQo6fg38|$UVM!6BLrPFWk?s;$LOP{GmJpBl$qoSA!PUg~PA65-S00{{S`XKG6NkG0RgjEntPrmV+?0|00mu7;+5 zr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