From 26883b2f63b556cdff877783854b4b1e11c1c5a1 Mon Sep 17 00:00:00 2001 From: inter515 Date: Wed, 1 Jun 2022 16:15:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99=E7=9A=84re?= =?UTF-8?q?turn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: inter515 --- .../entry/src/main/js/test/ActsBmsAccessTokenTest.test.js | 1 - .../entry/src/main/js/test/ActsBmsGetBackGroundModes.test.js | 1 - .../entry/src/main/js/test/ActsBmsQueryAbilityByWant.test.js | 1 - .../entry/src/main/js/test/ActsBmsJsUnPermissionTest.test.js | 1 - .../entry/src/main/js/test/ActsBmsMetaDataTest.test.js | 1 - .../ets/MainAbility/test/getAllApplicationInfoJsunit.test.ets | 1 - .../main/ets/MainAbility/test/getApplicationInfoJsunit.test.ets | 1 - .../entry/src/main/js/test/ExampleJsunit.test.js | 1 - 8 files changed, 8 deletions(-) diff --git a/appexecfwk/bundle_standard/bundlemanager/actsbmsaccesstokentest/entry/src/main/js/test/ActsBmsAccessTokenTest.test.js b/appexecfwk/bundle_standard/bundlemanager/actsbmsaccesstokentest/entry/src/main/js/test/ActsBmsAccessTokenTest.test.js index e3f5a6f28..8aa5e5532 100644 --- a/appexecfwk/bundle_standard/bundlemanager/actsbmsaccesstokentest/entry/src/main/js/test/ActsBmsAccessTokenTest.test.js +++ b/appexecfwk/bundle_standard/bundlemanager/actsbmsaccesstokentest/entry/src/main/js/test/ActsBmsAccessTokenTest.test.js @@ -29,7 +29,6 @@ describe('ActsBmsAccessTokenTest', function () { console.info("getOsAccountLocalIdFromProcess userid ==========" + account); userId = account; done(); - return; }).catch(err=>{ console.info("getOsAccountLocalIdFromProcess err ==========" + JSON.stringify(err)); done(); diff --git a/appexecfwk/bundle_standard/bundlemanager/actsbmsgetinfostest/entry/src/main/js/test/ActsBmsGetBackGroundModes.test.js b/appexecfwk/bundle_standard/bundlemanager/actsbmsgetinfostest/entry/src/main/js/test/ActsBmsGetBackGroundModes.test.js index 54de4c94d..53d8d7e8a 100644 --- a/appexecfwk/bundle_standard/bundlemanager/actsbmsgetinfostest/entry/src/main/js/test/ActsBmsGetBackGroundModes.test.js +++ b/appexecfwk/bundle_standard/bundlemanager/actsbmsgetinfostest/entry/src/main/js/test/ActsBmsGetBackGroundModes.test.js @@ -50,7 +50,6 @@ describe('ActsBmsGetBackGroundModes', function () { console.info("getOsAccountLocalIdFromProcess userid ==========" + account); userId = account; done(); - return; }).catch(err => { console.info("getOsAccountLocalIdFromProcess err ==========" + JSON.stringify(err)); done(); diff --git a/appexecfwk/bundle_standard/bundlemanager/actsbmsgetinfostest/entry/src/main/js/test/ActsBmsQueryAbilityByWant.test.js b/appexecfwk/bundle_standard/bundlemanager/actsbmsgetinfostest/entry/src/main/js/test/ActsBmsQueryAbilityByWant.test.js index 6713f01eb..0ae5c8587 100644 --- a/appexecfwk/bundle_standard/bundlemanager/actsbmsgetinfostest/entry/src/main/js/test/ActsBmsQueryAbilityByWant.test.js +++ b/appexecfwk/bundle_standard/bundlemanager/actsbmsgetinfostest/entry/src/main/js/test/ActsBmsQueryAbilityByWant.test.js @@ -28,7 +28,6 @@ describe('ActsBmsQueryAbilityByWant', function () { console.info("getOsAccountLocalIdFromProcess userid ==========" + account); userId = account; done(); - return; }).catch(err=>{ console.info("getOsAccountLocalIdFromProcess err ==========" + JSON.stringify(err)); done(); diff --git a/appexecfwk/bundle_standard/bundlemanager/actsbmsjsunpermissiontest/entry/src/main/js/test/ActsBmsJsUnPermissionTest.test.js b/appexecfwk/bundle_standard/bundlemanager/actsbmsjsunpermissiontest/entry/src/main/js/test/ActsBmsJsUnPermissionTest.test.js index d61c936b9..889f57f5b 100644 --- a/appexecfwk/bundle_standard/bundlemanager/actsbmsjsunpermissiontest/entry/src/main/js/test/ActsBmsJsUnPermissionTest.test.js +++ b/appexecfwk/bundle_standard/bundlemanager/actsbmsjsunpermissiontest/entry/src/main/js/test/ActsBmsJsUnPermissionTest.test.js @@ -30,7 +30,6 @@ describe('ActsBmsJsUnPermissionTest', function () { console.info("getOsAccountLocalIdFromProcess userid ==========" + account); userId = account; done(); - return; }).catch(err=>{ console.info("getOsAccountLocalIdFromProcess err ==========" + JSON.stringify(err)); done(); diff --git a/appexecfwk/bundle_standard/bundlemanager/actsbmsmetadatatest/entry/src/main/js/test/ActsBmsMetaDataTest.test.js b/appexecfwk/bundle_standard/bundlemanager/actsbmsmetadatatest/entry/src/main/js/test/ActsBmsMetaDataTest.test.js index eefdfba13..06106f10a 100644 --- a/appexecfwk/bundle_standard/bundlemanager/actsbmsmetadatatest/entry/src/main/js/test/ActsBmsMetaDataTest.test.js +++ b/appexecfwk/bundle_standard/bundlemanager/actsbmsmetadatatest/entry/src/main/js/test/ActsBmsMetaDataTest.test.js @@ -36,7 +36,6 @@ describe('ActsBmsMetaDataTest', function () { console.info("getOsAccountLocalIdFromProcess userid ==========" + account); userId = account; done(); - return; }).catch(err=>{ console.info("getOsAccountLocalIdFromProcess err ==========" + JSON.stringify(err)); done(); diff --git a/appexecfwk/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/MainAbility/test/getAllApplicationInfoJsunit.test.ets b/appexecfwk/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/MainAbility/test/getAllApplicationInfoJsunit.test.ets index 4b78e0869..e7b321b1c 100644 --- a/appexecfwk/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/MainAbility/test/getAllApplicationInfoJsunit.test.ets +++ b/appexecfwk/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/MainAbility/test/getAllApplicationInfoJsunit.test.ets @@ -38,7 +38,6 @@ export default function applicationBundleJsunit() { console.info("getOsAccountLocalIdFromProcess userid ==========" + account); userId = account; done(); - return; }).catch(err=>{ console.info("getOsAccountLocalIdFromProcess err ==========" + JSON.stringify(err)); done(); diff --git a/appexecfwk/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/MainAbility/test/getApplicationInfoJsunit.test.ets b/appexecfwk/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/MainAbility/test/getApplicationInfoJsunit.test.ets index ca33a43a0..2948d6ccf 100644 --- a/appexecfwk/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/MainAbility/test/getApplicationInfoJsunit.test.ets +++ b/appexecfwk/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/MainAbility/test/getApplicationInfoJsunit.test.ets @@ -43,7 +43,6 @@ export default function applicationBundleJsunit() { console.info("getOsAccountLocalIdFromProcess userid ==========" + account); userId = account; done(); - return; }).catch(err=>{ console.info("getOsAccountLocalIdFromProcess err ==========" + JSON.stringify(err)); done(); diff --git a/appexecfwk/bundle_standard/bundlemanager/actsbundlemanagertest/entry/src/main/js/test/ExampleJsunit.test.js b/appexecfwk/bundle_standard/bundlemanager/actsbundlemanagertest/entry/src/main/js/test/ExampleJsunit.test.js index ca26260bb..74bef7839 100644 --- a/appexecfwk/bundle_standard/bundlemanager/actsbundlemanagertest/entry/src/main/js/test/ExampleJsunit.test.js +++ b/appexecfwk/bundle_standard/bundlemanager/actsbundlemanagertest/entry/src/main/js/test/ExampleJsunit.test.js @@ -39,7 +39,6 @@ describe('ActsBundleManagerTest', function () { console.info("getOsAccountLocalIdFromProcess userid ==========" + account); userId = account; done(); - return; }).catch(err=>{ console.info("getOsAccountLocalIdFromProcess err ==========" + JSON.stringify(err)); done(); -- GitLab