From 2b55e6bf72535417dfa205c3dd3eff4778ef5974 Mon Sep 17 00:00:00 2001 From: chengxingzhen Date: Tue, 26 Apr 2022 09:45:42 +0800 Subject: [PATCH] =?UTF-8?q?XTSAPI=E6=8B=86=E5=88=863.1release?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: chengxingzhen --- .../BUILD.gn | 31 - .../Test.json | 38 - .../entry/src/main/config.json | 107 -- .../entry/src/main/js/default/app.js | 28 - .../src/main/js/default/pages/index/index.css | 14 - .../src/main/js/default/pages/index/index.hml | 6 - .../src/main/js/default/pages/index/index.js | 84 - .../js/resources/base/element/string.json | 12 - .../main/js/test/ActsKillProcessTest.test.js | 287 ---- .../entry/src/main/js/test/List.test.js | 15 - .../signature/openharmony_sx.p7b | Bin 3442 -> 0 bytes .../BUILD.gn | 34 - .../signature/openharmony_sx.p7b | Bin 3442 -> 0 bytes .../src/main/config.json | 99 -- .../src/main/js/default/app.js | 28 - .../src/main/js/default/i18n/en-US.json | 6 - .../src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.js | 67 - .../js/resources/base/element/string.json | 12 - .../ActsKillProcessWithAccountApi7/BUILD.gn | 24 - .../entry/src/main/js/default/i18n/en-US.json | 6 - .../entry/src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes aafwk/aafwk_standard/BUILD.gn | 34 +- aafwk/aafwk_standard/abilitymanager/BUILD.gn | 2 +- .../src/main/js/default/pages/index/index.js | 8 +- .../main/js/test/MangerAbilityJsunit.test.js | 44 +- .../src/main/js/default/pages/index/index.js | 6 +- .../main/js/test/MangerAbilityJsunit.test.js | 17 +- .../src/main/js/default/pages/index/index.js | 6 +- .../main/js/test/MangerAbilityJsunit.test.js | 55 +- .../src/main/js/default/pages/index/index.js | 6 +- .../main/js/test/MangerAbilityJsunit.test.js | 45 +- .../src/main/js/default/pages/index/index.js | 6 +- .../main/js/test/MangerAbilityJsunit.test.js | 41 +- .../src/main/js/default/pages/index/index.js | 6 +- .../main/js/test/MangerAbilityJsunit.test.js | 45 +- .../src/main/js/default/pages/index/index.js | 6 +- .../main/js/test/MangerAbilityJsunit.test.js | 12 - .../src/main/js/default/pages/index/index.js | 6 +- .../src/main/js/default/pages/index/index.js | 6 +- .../main/js/test/MangerAbilityJsunit.test.js | 16 - .../src/main/js/default/pages/index/index.js | 6 +- .../main/js/test/MangerAbilityJsunit.test.js | 16 - .../src/main/js/default/pages/index/index.js | 4 +- .../src/main/js/default/pages/index/index.js | 4 +- .../src/main/js/default/pages/index/index.js | 2 +- .../src/main/js/default/pages/index/index.js | 2 +- .../src/main/js/default/pages/index/index.js | 2 +- .../src/main/js/default/pages/index/index.js | 2 +- .../src/main/js/default/pages/index/index.js | 2 +- .../BUILD.gn | 0 .../Test.json | 0 .../entry/src/main/config.json | 0 .../entry/src/main/js/default/app.js | 0 .../entry/src/main/js/default/i18n/en-US.json | 0 .../entry/src/main/js/default/i18n/zh-CN.json | 0 .../src/main/js/default/pages/index/index.css | 0 .../src/main/js/default/pages/index/index.hml | 0 .../src/main/js/default/pages/index/index.js | 0 .../js/resources/base/element/string.json | 0 .../src/main/js/resources/base/media/icon.png | Bin .../test/ActsAbilityDelegatorCaseTest.test.js | 2 +- .../entry/src/main/js/test/List.test.js | 0 .../signature/openharmony_sx.p7b | Bin .../BUILD.gn | 17 +- .../Test.json | 0 .../signature/openharmony_sx.p7b | Bin .../src/main/config.json | 13 +- .../src/main/js/default/app.js | 1 + .../src/main/js/default/i18n/en-US.json | 6 + .../src/main/js/default/i18n/zh-CN.json | 6 + .../src/main/js/default/pages/index/index.css | 0 .../src/main/js/default/pages/index/index.hml | 0 .../src/main/js/default/pages/index/index.js | 12 +- .../test/FeatureAbilityDistribute.test.js | 180 +++ .../src/main/js/default}/test/List.test.js | 4 +- .../main}/resources/base/element/string.json | 2 +- .../src/main}/resources/base/media/icon.png | Bin .../BUILD.gn | 0 .../Test.json | 0 .../entry/src/main/config.json | 0 .../entry/src/main/js/default/app.js | 0 .../entry/src/main/js/default/i18n/en-US.json | 0 .../entry/src/main/js/default/i18n/zh-CN.json | 0 .../src/main/js/default/pages/index/index.css | 0 .../src/main/js/default/pages/index/index.hml | 0 .../src/main/js/default/pages/index/index.js | 0 .../js/resources/base/element/string.json | 0 .../src/main/js/resources/base/media/icon.png | Bin .../ActsAbilityLifecycleStateNewTest.test.js | 0 .../entry/src/main/js/test/List.test.js | 0 .../signature/openharmony_sx.p7b | Bin .../src/main/ets/MainAbility/pages/index.ets | 170 +- .../test/addContextAndAbilityJsunit.test.ets | 1 + .../src/main/ets/MainAbility2/pages/index.ets | 34 +- .../src/main/ets/MainAbility/pages/index.ets | 34 +- .../BUILD.gn | 0 .../Test.json | 0 .../entry/src/main/config.json | 0 .../entry/src/main/js/default/app.js | 0 .../entry/src/main/js/default/i18n/en-US.json | 0 .../entry/src/main/js/default/i18n/zh-CN.json | 0 .../src/main/js/default/pages/index/index.css | 0 .../src/main/js/default/pages/index/index.hml | 0 .../src/main/js/default/pages/index/index.js | 0 .../js/resources/base/element/string.json | 0 .../src/main/js/resources/base/media/icon.png | Bin .../js/test/ActsDataAbilityJsTest.test.js | 12 +- .../entry/src/main/js/test/List.test.js | 0 .../signature/openharmony_sx.p7b | Bin .../BUILD.gn | 0 .../Test.json | 0 .../entry/src/main/config.json | 0 .../entry/src/main/js/default/app.js | 0 .../entry/src/main/js/default/i18n/en-US.json | 0 .../entry/src/main/js/default/i18n/zh-CN.json | 0 .../src/main/js/default/pages/index/index.css | 0 .../src/main/js/default/pages/index/index.hml | 0 .../src/main/js/default/pages/index/index.js | 0 .../js/resources/base/element/string.json | 0 .../src/main/js/resources/base/media/icon.png | Bin ...ActsStServiceAbilityClientCaseTest.test.js | 0 .../entry/src/main/js/test/List.test.js | 0 .../signature/openharmony_sx.p7b | Bin .../src/main/js/default/pages/index/index.js | 6 +- .../src/main/js/default/pages/index/index.js | 2 +- .../src/main/js/default/pages/index/index.js | 2 +- .../src/main/js/default/pages/index/index.js | 6 +- .../js/test/ActsProcessManageJsTest.test.js | 41 +- .../amsmultiapp/MultiAppPage/BUILD.gn | 31 - .../amsmultiapp/MultiAppPage/Test.json | 3 - .../MultiAppPage/entry/src/main/config.json | 53 - .../entry/src/main/js/default/app.js | 22 - .../entry/src/main/js/default/i18n/en-US.json | 6 - .../entry/src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.css | 38 - .../src/main/js/default/pages/index/index.hml | 21 - .../src/main/js/default/pages/index/index.js | 48 - .../js/resources/base/element/string.json | 12 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../entry/src/main/js/test/List.test.js | 15 - .../main/js/test/MangerAbilityJsunit.test.js | 32 - .../MultiAppPage/signature/openharmony_sx.p7b | Bin 3437 -> 0 bytes .../MultiAppPageConnectService/BUILD.gn | 31 - .../MultiAppPageConnectService/Test.json | 3 - .../entry/src/main/config.json | 53 - .../entry/src/main/js/default/app.js | 22 - .../entry/src/main/js/default/i18n/en-US.json | 6 - .../entry/src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.css | 38 - .../src/main/js/default/pages/index/index.hml | 20 - .../js/resources/base/element/string.json | 12 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../entry/src/main/js/test/List.test.js | 15 - .../main/js/test/MangerAbilityJsunit.test.js | 111 -- .../signature/openharmony_sx.p7b | Bin 3437 -> 0 bytes .../MultiAppPageConnect_Service/BUILD.gn | 35 - .../entry/src/main/config.json | 53 - .../entry/src/main/js/default/app.js | 22 - .../entry/src/main/js/default/i18n/en-US.json | 6 - .../entry/src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.css | 38 - .../src/main/js/default/pages/index/index.hml | 20 - .../src/main/js/default/pages/index/index.js | 140 -- .../js/resources/base/element/string.json | 12 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../signature/openharmony_sx.p7b | Bin 3437 -> 0 bytes .../MultiAppPagePermission/BUILD.gn | 31 - .../MultiAppPagePermission/Test.json | 3 - .../entry/src/main/config.json | 53 - .../entry/src/main/js/default/app.js | 22 - .../entry/src/main/js/default/i18n/en-US.json | 6 - .../entry/src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.css | 38 - .../src/main/js/default/pages/index/index.hml | 20 - .../src/main/js/default/pages/index/index.js | 48 - .../js/resources/base/element/string.json | 12 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../entry/src/main/js/test/List.test.js | 15 - .../main/js/test/MangerAbilityJsunit.test.js | 69 - .../signature/openharmony_sx.p7b | Bin 3437 -> 0 bytes .../MultiAppPagePermission_Page/BUILD.gn | 35 - .../entry/src/main/config.json | 53 - .../entry/src/main/js/default/app.js | 22 - .../entry/src/main/js/default/i18n/en-US.json | 6 - .../entry/src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.css | 38 - .../src/main/js/default/pages/index/index.hml | 21 - .../src/main/js/default/pages/index/index.js | 42 - .../js/resources/base/element/string.json | 12 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../signature/openharmony_sx.p7b | Bin 3437 -> 0 bytes .../amsmultiapp/MultiAppPage_PSS/BUILD.gn | 31 - .../amsmultiapp/MultiAppPage_PSS/Test.json | 3 - .../entry/src/main/config.json | 53 - .../entry/src/main/js/default/app.js | 22 - .../entry/src/main/js/default/i18n/en-US.json | 6 - .../entry/src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.css | 38 - .../src/main/js/default/pages/index/index.hml | 20 - .../src/main/js/default/pages/index/index.js | 48 - .../js/resources/base/element/string.json | 12 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../entry/src/main/js/test/List.test.js | 15 - .../main/js/test/MangerAbilityJsunit.test.js | 81 - .../signature/openharmony_sx.p7b | Bin 3437 -> 0 bytes .../amsmultiapp/MultiAppPage_Page/BUILD.gn | 35 - .../entry/src/main/config.json | 53 - .../entry/src/main/js/default/app.js | 22 - .../entry/src/main/js/default/i18n/en-US.json | 6 - .../entry/src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.css | 38 - .../src/main/js/default/pages/index/index.hml | 21 - .../src/main/js/default/pages/index/index.js | 48 - .../js/resources/base/element/string.json | 12 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../entry/src/main/js/test/List.test.js | 15 - .../main/js/test/MangerAbilityJsunit.test.js | 61 - .../signature/openharmony_sx.p7b | Bin 3437 -> 0 bytes .../amsmultiapp/MultiAppPage_Service/BUILD.gn | 35 - .../entry/src/main/config.json | 53 - .../entry/src/main/js/default/app.js | 22 - .../entry/src/main/js/default/i18n/en-US.json | 6 - .../entry/src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.css | 38 - .../src/main/js/default/pages/index/index.hml | 21 - .../src/main/js/default/pages/index/index.js | 154 -- .../js/resources/base/element/string.json | 12 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../signature/openharmony_sx.p7b | Bin 3437 -> 0 bytes .../MultiAppSimultaneousOnline/BUILD.gn | 31 - .../MultiAppSimultaneousOnline/Test.json | 3 - .../entry/src/main/config.json | 53 - .../entry/src/main/js/default/app.js | 22 - .../entry/src/main/js/default/i18n/en-US.json | 6 - .../entry/src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.css | 38 - .../src/main/js/default/pages/index/index.hml | 20 - .../src/main/js/default/pages/index/index.js | 48 - .../js/resources/base/element/string.json | 12 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../entry/src/main/js/test/List.test.js | 15 - .../main/js/test/MangerAbilityJsunit.test.js | 93 -- .../signature/openharmony_sx.p7b | Bin 3437 -> 0 bytes .../MultiAppSimultaneousOnline_test/BUILD.gn | 35 - .../entry/src/main/config.json | 53 - .../entry/src/main/js/default/app.js | 22 - .../entry/src/main/js/default/i18n/en-US.json | 6 - .../entry/src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.css | 38 - .../src/main/js/default/pages/index/index.hml | 20 - .../src/main/js/default/pages/index/index.js | 48 - .../js/resources/base/element/string.json | 12 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../entry/src/main/js/test/List.test.js | 15 - .../main/js/test/MangerAbilityJsunit.test.js | 61 - .../signature/openharmony_sx.p7b | Bin 3437 -> 0 bytes .../amsmultiapp/MultiAppTermination/BUILD.gn | 31 - .../amsmultiapp/MultiAppTermination/Test.json | 3 - .../entry/src/main/config.json | 53 - .../entry/src/main/js/default/app.js | 22 - .../entry/src/main/js/default/i18n/en-US.json | 6 - .../entry/src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.css | 38 - .../src/main/js/default/pages/index/index.hml | 21 - .../src/main/js/default/pages/index/index.js | 48 - .../js/resources/base/element/string.json | 12 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../entry/src/main/js/test/List.test.js | 15 - .../main/js/test/MangerAbilityJsunit.test.js | 101 -- .../signature/openharmony_sx.p7b | Bin 3437 -> 0 bytes .../MultiAppTermination_test/BUILD.gn | 35 - .../entry/src/main/config.json | 53 - .../entry/src/main/js/default/app.js | 22 - .../entry/src/main/js/default/i18n/en-US.json | 6 - .../entry/src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.css | 38 - .../src/main/js/default/pages/index/index.hml | 20 - .../src/main/js/default/pages/index/index.js | 48 - .../js/resources/base/element/string.json | 12 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../entry/src/main/js/test/List.test.js | 15 - .../main/js/test/MangerAbilityJsunit.test.js | 65 - .../signature/openharmony_sx.p7b | Bin 3437 -> 0 bytes .../amsmultiapppageexecutor/BUILD.gn | 34 - .../signature/openharmony_sx.p7b | Bin 3437 -> 0 bytes .../src/main/config.json | 53 - .../src/main/js/default/app.js | 22 - .../src/main/js/default/i18n/en-US.json | 6 - .../src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.css | 9 - .../src/main/js/default/pages/index/index.hml | 5 - .../src/main/js/default/pages/index/index.js | 84 - .../js/resources/base/element/string.json | 12 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../amsmultiappserviceexecutor/BUILD.gn | 34 - .../signature/openharmony_sx.p7b | Bin 3437 -> 0 bytes .../src/main/config.json | 52 - .../src/main/js/default/app.js | 22 - .../src/main/js/default/i18n/en-US.json | 6 - .../src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.css | 9 - .../src/main/js/default/pages/index/index.hml | 5 - .../src/main/js/default/pages/index/index.js | 158 -- .../js/resources/base/element/string.json | 12 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../amsmultiappservicestarter/BUILD.gn | 34 - .../signature/openharmony_sx.p7b | Bin 3437 -> 0 bytes .../src/main/config.json | 52 - .../src/main/js/default/app.js | 22 - .../src/main/js/default/i18n/en-US.json | 6 - .../src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.css | 9 - .../src/main/js/default/pages/index/index.hml | 5 - .../src/main/js/default/pages/index/index.js | 164 -- .../js/resources/base/element/string.json | 12 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../amsmultiapp/amsmultiapptester/BUILD.gn | 31 - .../amsmultiapp/amsmultiapptester/Test.json | 3 - .../entry/src/main/config.json | 53 - .../entry/src/main/js/default/app.js | 22 - .../entry/src/main/js/default/i18n/en-US.json | 6 - .../entry/src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.css | 38 - .../src/main/js/default/pages/index/index.hml | 21 - .../src/main/js/default/pages/index/index.js | 48 - .../js/resources/base/element/string.json | 12 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../entry/src/main/js/test/List.test.js | 15 - .../main/js/test/MangerAbilityJsunit.test.js | 294 ---- .../signature/openharmony_sx.p7b | Bin 3437 -> 0 bytes .../amsmultidataabilityclone/BUILD.gn | 31 - .../amsmultidataabilityclone/Test.json | 3 - .../entry/src/main/config.json | 62 - .../entry/src/main/js/default/i18n/en-US.json | 6 - .../entry/src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.css | 12 - .../src/main/js/default/pages/index/index.hml | 8 - .../src/main/js/default/pages/index/index.js | 44 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../main/js/test/MultiDataAbilityJsSt.test.js | 73 - .../signature/openharmony_sx.p7b | Bin 3437 -> 0 bytes .../amsmultidataabilityself/BUILD.gn | 31 - .../amsmultidataabilityself/Test.json | 3 - .../entry/src/main/config.json | 62 - .../entry/src/main/js/default/app.js | 22 - .../entry/src/main/js/default/i18n/en-US.json | 6 - .../entry/src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.css | 12 - .../src/main/js/default/pages/index/index.hml | 8 - .../src/main/js/default/pages/index/index.js | 44 - .../js/resources/base/element/string.json | 12 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../entry/src/main/js/test/List.test.js | 15 - .../main/js/test/MultiDataAbilityJsSt.test.js | 73 - .../signature/openharmony_sx.p7b | Bin 3437 -> 0 bytes .../amsprocessmanageapi7/BUILD.gn | 27 - .../actsprocessmanagejstest/BUILD.gn | 31 - .../actsprocessmanagejstest/Test.json | 40 - .../entry/src/main/config.json | 103 -- .../entry/src/main/js/default/app.js | 28 - .../entry/src/main/js/default/i18n/en-US.json | 6 - .../entry/src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.css | 14 - .../src/main/js/default/pages/index/index.hml | 6 - .../src/main/js/default/pages/index/index.js | 84 - .../js/resources/base/element/string.json | 12 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../js/test/ActsProcessManageJsTest.test.js | 1418 ----------------- .../entry/src/main/js/test/List.test.js | 15 - .../signature/openharmony_sx.p7b | Bin 3442 -> 0 bytes .../pmsystemappa/BUILD.gn | 34 - .../pmsystemappa/signature/openharmony_sx.p7b | Bin 3442 -> 0 bytes .../pmsystemappa/src/main/config.json | 107 -- .../pmsystemappa/src/main/js/default/app.js | 28 - .../src/main/js/default/i18n/en-US.json | 6 - .../src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.css | 9 - .../src/main/js/default/pages/index/index.hml | 5 - .../src/main/js/default/pages/index/index.js | 226 --- .../js/resources/base/element/string.json | 12 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../pmsystemappamulti/BUILD.gn | 34 - .../signature/openharmony_sx.p7b | Bin 3442 -> 0 bytes .../pmsystemappamulti/src/main/config.json | 107 -- .../src/main/js/default/app.js | 28 - .../src/main/js/default/i18n/en-US.json | 6 - .../src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.css | 9 - .../src/main/js/default/pages/index/index.hml | 5 - .../src/main/js/default/pages/index/index.js | 74 - .../js/resources/base/element/string.json | 12 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../pmsystemappb/BUILD.gn | 34 - .../pmsystemappb/signature/openharmony_sx.p7b | Bin 3442 -> 0 bytes .../pmsystemappb/src/main/config.json | 87 - .../pmsystemappb/src/main/js/default/app.js | 28 - .../src/main/js/default/i18n/en-US.json | 6 - .../src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.css | 9 - .../src/main/js/default/pages/index/index.hml | 5 - .../src/main/js/default/pages/index/index.js | 74 - .../js/resources/base/element/string.json | 12 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../pmvendorappa/BUILD.gn | 34 - .../pmvendorappa/signature/openharmony_sx.p7b | Bin 3426 -> 0 bytes .../pmvendorappa/src/main/config.json | 61 - .../pmvendorappa/src/main/js/default/app.js | 28 - .../src/main/js/default/i18n/en-US.json | 6 - .../src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.css | 9 - .../src/main/js/default/pages/index/index.hml | 5 - .../src/main/js/default/pages/index/index.js | 107 -- .../js/resources/base/element/string.json | 12 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../src/main/js/default/pages/index/index.js | 10 +- .../src/main/js/test/ContextJsunit.test.js | 14 - .../src/main/js/default/pages/index/index.js | 2 +- aafwk/aafwk_standard/fa/BUILD.gn | 1 - .../entry/src/main/js/MainAbility2/app.js | 26 - .../entry/src/main/js/test/coverApiTest.js | 76 - .../src/main/js/test/AbilityDisableTest.js | 36 - .../fa/fa_statelistener_test/BUILD.gn | 31 - .../entry/src/main/config.json | 87 - .../entry/src/main/js/MainAbility/app.js | 22 - .../src/main/js/MainAbility/i18n/en-US.json | 11 - .../src/main/js/MainAbility/i18n/zh-CN.json | 11 - .../main/js/MainAbility/pages/index/index.css | 38 - .../main/js/MainAbility/pages/index/index.hml | 20 - .../main/js/MainAbility/pages/index/index.js | 47 - .../js/MainAbility/pages/second/second.css | 39 - .../js/MainAbility/pages/second/second.hml | 20 - .../js/MainAbility/pages/second/second.js | 26 - .../entry/src/main/js/MainAbility2/app.js | 22 - .../src/main/js/MainAbility2/i18n/en-US.json | 11 - .../src/main/js/MainAbility2/i18n/zh-CN.json | 11 - .../js/MainAbility2/pages/index/index.css | 39 - .../js/MainAbility2/pages/index/index.hml | 20 - .../main/js/MainAbility2/pages/index/index.js | 32 - .../js/MainAbility2/pages/second/second.css | 38 - .../js/MainAbility2/pages/second/second.hml | 20 - .../js/MainAbility2/pages/second/second.js | 26 - .../entry/src/main/js/test/List.test.js | 18 - .../entry/src/main/js/test/startFULL.test.js | 71 - .../main/resources/base/element/string.json | 20 - .../src/main/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../entry/src/main/js/test/startFULL.test.js | 177 +- .../src/main/js/default/pages/index/index.js | 10 +- .../entry/src/main/js/test/List.test.js | 3 +- .../main/js/test/StartAbilityJsunit.test.js | 309 ++++ .../src/main/js/default/pages/index/index.js | 19 +- .../src/main/js/default/pages/index/index.js | 21 +- .../src/main/js/default/pages/index/index.js | 7 +- .../src/main/js/default/pages/index/index.js | 5 +- .../src/main/js/default/pages/index/index.js | 3 +- .../src/main/js/default/pages/index/index.js | 7 +- .../src/main/js/default/pages/index/index.js | 3 +- .../ActslanguageconfigAppATest/BUILD.gn | 35 - .../signature/openharmony_sx.p7b | Bin 3442 -> 0 bytes .../src/main/config.json | 87 - .../src/main/js/default/app.js | 28 - .../src/main/js/default/i18n/en-US.json | 6 - .../src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.css | 9 - .../src/main/js/default/pages/index/index.hml | 5 - .../src/main/js/default/pages/index/index.js | 59 - .../js/resources/base/element/string.json | 12 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../aafwk_standard/lanuageConfigapi7/BUILD.gn | 24 - .../LanguageConfigTestApi7/BUILD.gn | 31 - .../LanguageConfigTestApi7/Test.json | 38 - .../entry/src/main/config.json | 87 - .../entry/src/main/js/default/app.js | 28 - .../entry/src/main/js/default/i18n/en-US.json | 6 - .../entry/src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.css | 28 - .../src/main/js/default/pages/index/index.hml | 6 - .../src/main/js/default/pages/index/index.js | 84 - .../js/resources/base/element/string.json | 12 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../entry/src/main/js/test/List.test.js | 15 - .../main/js/test/lanuageConfigapi7.test.js | 161 -- .../signature/openharmony_sx.p7b | Bin 3442 -> 0 bytes .../particlestartability/BUILD.gn | 34 - .../particlestartability/Test.json | 3 - .../signature/openharmony_sx.p7b | Bin 3443 -> 0 bytes .../src/main/js/default/app.js | 22 - .../src/main/js/default/i18n/en-US.json | 6 - .../src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.css | 9 - .../src/main/js/default/pages/index/index.hml | 5 - .../src/main/js/default/pages/index/index.js | 43 - .../js/resources/base/element/string.json | 12 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../sceneProject/particletestserver/Test.json | 3 - .../signature/openharmony_sx.p7b | Bin 3443 -> 0 bytes .../particletestserver/src/main/config.json | 74 - .../src/main/js/default/app.js | 22 - .../src/main/js/default/i18n/en-US.json | 6 - .../src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.css | 9 - .../src/main/js/default/pages/index/index.hml | 5 - .../src/main/js/default/pages/index/index.js | 151 -- .../js/resources/base/element/string.json | 12 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../stserviceabilityserver/BUILD.gn | 35 - .../stserviceabilityserver/Test.json | 3 - .../entry/src/main/config.json | 75 - .../entry/src/main/js/default/app.js | 22 - .../entry/src/main/js/default/i18n/en-US.json | 6 - .../entry/src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.css | 12 - .../src/main/js/default/pages/index/index.hml | 8 - .../src/main/js/default/pages/index/index.js | 176 -- .../js/resources/base/element/string.json | 12 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../signature/openharmony_sx.p7b | Bin 3443 -> 0 bytes .../stserviceabilityserversecond/BUILD.gn | 35 - .../stserviceabilityserversecond/Test.json | 3 - .../entry/src/main/config.json | 75 - .../entry/src/main/js/default/app.js | 22 - .../entry/src/main/js/default/i18n/en-US.json | 6 - .../entry/src/main/js/default/i18n/zh-CN.json | 6 - .../src/main/js/default/pages/index/index.css | 12 - .../src/main/js/default/pages/index/index.hml | 8 - .../src/main/js/default/pages/index/index.js | 167 -- .../js/resources/base/element/string.json | 12 - .../src/main/js/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../signature/openharmony_sx.p7b | Bin 3443 -> 0 bytes .../src/main/js/default/pages/index/index.js | 4 +- .../src/main/js/default/pages/index/index.js | 27 +- aafwk/aafwk_standard/stage/BUILD.gn | 24 - .../actsamscontexttest/AppScope/app.json | 21 - .../resources/base/element/string.json | 8 - .../resources/base/media/app_icon.png | Bin 15458 -> 0 bytes .../stage/actsamscontexttest/BUILD.gn | 40 - .../stage/actsamscontexttest/Test.json | 18 - .../src/main/ets/Application/AbilityStage.ts | 9 - .../src/main/ets/MainAbility/MainAbility.ts | 36 - .../entry/src/main/ets/pages/index/index.ets | 66 - .../src/main/ets/pages/second/second.ets | 43 - .../entry/src/main/ets/test/Ability.test.ets | 111 -- .../entry/src/main/ets/test/List.test.ets | 22 - .../entry/src/main/module.json | 38 - .../main/resources/base/element/string.json | 32 - .../src/main/resources/base/media/icon.png | Bin 15458 -> 0 bytes .../resources/base/profile/main_pages.json | 6 - .../signature/openharmony_sx.p7b | Bin 3443 -> 0 bytes .../stage/stageenvchangetest/BUILD.gn | 32 - .../stage/stageenvchangetest/Test.json | 18 - .../entry/src/main/config.json | 97 -- .../entry/src/main/ets/AbilityStage.ts | 23 - .../src/main/ets/MainAbility/MainAbility.ts | 49 - .../entry/src/main/ets/MainAbility/app.ets | 22 - .../src/main/ets/MainAbility/pages/index.ets | 63 - .../src/main/ets/MainAbility/pages/second.ets | 43 - .../entry/src/main/ets/test/List.test.ets | 22 - .../src/main/ets/test/MissionManager_test.ets | 155 -- .../main/resources/base/element/string.json | 12 - .../src/main/resources/base/media/icon.png | Bin 6790 -> 0 bytes .../signature/openharmony_sx.p7b | Bin 3437 -> 0 bytes .../want/actsgetwantalltest/Test.json | 4 +- .../src/main/js/default/pages/index/index.js | 12 +- .../src/main/js/test/ActsGetWantAllTest.js | 280 +--- .../src/main/js/default/pages/index/index.js | 25 +- 566 files changed, 843 insertions(+), 14496 deletions(-) delete mode 100644 aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/BUILD.gn delete mode 100644 aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/Test.json delete mode 100644 aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/config.json delete mode 100644 aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/test/ActsKillProcessTest.test.js delete mode 100644 aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/test/List.test.js delete mode 100644 aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/BUILD.gn delete mode 100644 aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/config.json delete mode 100644 aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/BUILD.gn delete mode 100644 aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/entry/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/entry/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/entry/src/main/js/resources/base/media/icon.png rename aafwk/aafwk_standard/{ActsAbilityDelegatorCaseTest => actsabilitydelegatorcase}/BUILD.gn (100%) rename aafwk/aafwk_standard/{ActsAbilityDelegatorCaseTest => actsabilitydelegatorcase}/Test.json (100%) rename aafwk/aafwk_standard/{ActsAbilityDelegatorCaseTest => actsabilitydelegatorcase}/entry/src/main/config.json (100%) rename aafwk/aafwk_standard/{ActsAbilityDelegatorCaseTest => actsabilitydelegatorcase}/entry/src/main/js/default/app.js (100%) rename aafwk/aafwk_standard/{ActsAbilityDelegatorCaseTest => actsabilitydelegatorcase}/entry/src/main/js/default/i18n/en-US.json (100%) rename aafwk/aafwk_standard/{ActsAbilityDelegatorCaseTest => actsabilitydelegatorcase}/entry/src/main/js/default/i18n/zh-CN.json (100%) rename aafwk/aafwk_standard/{ActsAbilityDelegatorCaseTest => actsabilitydelegatorcase}/entry/src/main/js/default/pages/index/index.css (100%) rename aafwk/aafwk_standard/{ActsAbilityDelegatorCaseTest => actsabilitydelegatorcase}/entry/src/main/js/default/pages/index/index.hml (100%) rename aafwk/aafwk_standard/{ActsAbilityDelegatorCaseTest => actsabilitydelegatorcase}/entry/src/main/js/default/pages/index/index.js (100%) rename aafwk/aafwk_standard/{ActsAbilityDelegatorCaseTest => actsabilitydelegatorcase}/entry/src/main/js/resources/base/element/string.json (100%) rename aafwk/aafwk_standard/{ActsAbilityDelegatorCaseTest => actsabilitydelegatorcase}/entry/src/main/js/resources/base/media/icon.png (100%) rename aafwk/aafwk_standard/{ActsAbilityDelegatorCaseTest => actsabilitydelegatorcase}/entry/src/main/js/test/ActsAbilityDelegatorCaseTest.test.js (99%) rename aafwk/aafwk_standard/{ActsAbilityDelegatorCaseTest => actsabilitydelegatorcase}/entry/src/main/js/test/List.test.js (100%) rename aafwk/aafwk_standard/{ActsAbilityDelegatorCaseTest => actsabilitydelegatorcase}/signature/openharmony_sx.p7b (100%) rename aafwk/aafwk_standard/{serviceability/sceneProject/particletestserver => actsabilitydistributetest}/BUILD.gn (70%) rename aafwk/aafwk_standard/{fa/fa_statelistener_test => actsabilitydistributetest}/Test.json (100%) mode change 100755 => 100644 rename aafwk/aafwk_standard/{ActsAbilityLifecycleStateNewTest => actsabilitydistributetest}/signature/openharmony_sx.p7b (100%) rename aafwk/aafwk_standard/{serviceability/sceneProject/particlestartability => actsabilitydistributetest}/src/main/config.json (89%) rename aafwk/aafwk_standard/{amsmultiapp/amsmultidataabilityclone/entry => actsabilitydistributetest}/src/main/js/default/app.js (99%) create mode 100644 aafwk/aafwk_standard/actsabilitydistributetest/src/main/js/default/i18n/en-US.json create mode 100644 aafwk/aafwk_standard/actsabilitydistributetest/src/main/js/default/i18n/zh-CN.json rename aafwk/aafwk_standard/{ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7 => actsabilitydistributetest}/src/main/js/default/pages/index/index.css (100%) rename aafwk/aafwk_standard/{ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7 => actsabilitydistributetest}/src/main/js/default/pages/index/index.hml (100%) rename aafwk/aafwk_standard/{amsmultiapp/MultiAppPageConnectService/entry => actsabilitydistributetest}/src/main/js/default/pages/index/index.js (88%) create mode 100644 aafwk/aafwk_standard/actsabilitydistributetest/src/main/js/default/test/FeatureAbilityDistribute.test.js rename aafwk/aafwk_standard/{amsmultiapp/amsmultidataabilityclone/entry/src/main/js => actsabilitydistributetest/src/main/js/default}/test/List.test.js (92%) rename aafwk/aafwk_standard/{amsmultiapp/amsmultidataabilityclone/entry/src/main/js => actsabilitydistributetest/src/main}/resources/base/element/string.json (82%) rename aafwk/aafwk_standard/{ActsAbilityLifecycleStateNewTest/entry/src/main/js => actsabilitydistributetest/src/main}/resources/base/media/icon.png (100%) rename aafwk/aafwk_standard/{ActsAbilityLifecycleStateNewTest => actsabilitylifecyclestatenew}/BUILD.gn (100%) rename aafwk/aafwk_standard/{ActsAbilityLifecycleStateNewTest => actsabilitylifecyclestatenew}/Test.json (100%) rename aafwk/aafwk_standard/{ActsAbilityLifecycleStateNewTest => actsabilitylifecyclestatenew}/entry/src/main/config.json (100%) rename aafwk/aafwk_standard/{ActsAbilityLifecycleStateNewTest => actsabilitylifecyclestatenew}/entry/src/main/js/default/app.js (100%) rename aafwk/aafwk_standard/{ActsAbilityLifecycleStateNewTest => actsabilitylifecyclestatenew}/entry/src/main/js/default/i18n/en-US.json (100%) rename aafwk/aafwk_standard/{ActsAbilityLifecycleStateNewTest => actsabilitylifecyclestatenew}/entry/src/main/js/default/i18n/zh-CN.json (100%) rename aafwk/aafwk_standard/{ActsAbilityLifecycleStateNewTest => actsabilitylifecyclestatenew}/entry/src/main/js/default/pages/index/index.css (100%) rename aafwk/aafwk_standard/{ActsAbilityLifecycleStateNewTest => actsabilitylifecyclestatenew}/entry/src/main/js/default/pages/index/index.hml (100%) rename aafwk/aafwk_standard/{ActsAbilityLifecycleStateNewTest => actsabilitylifecyclestatenew}/entry/src/main/js/default/pages/index/index.js (100%) rename aafwk/aafwk_standard/{ActsAbilityLifecycleStateNewTest => actsabilitylifecyclestatenew}/entry/src/main/js/resources/base/element/string.json (100%) rename aafwk/aafwk_standard/{ActsDataAbilityJsTest => actsabilitylifecyclestatenew}/entry/src/main/js/resources/base/media/icon.png (100%) rename aafwk/aafwk_standard/{ActsAbilityLifecycleStateNewTest => actsabilitylifecyclestatenew}/entry/src/main/js/test/ActsAbilityLifecycleStateNewTest.test.js (100%) rename aafwk/aafwk_standard/{ActsAbilityLifecycleStateNewTest => actsabilitylifecyclestatenew}/entry/src/main/js/test/List.test.js (100%) rename aafwk/aafwk_standard/{ActsStServiceAbilityClientCaseTest => actsabilitylifecyclestatenew}/signature/openharmony_sx.p7b (100%) rename aafwk/aafwk_standard/{ActsDataAbilityJsTest => actsdataabilityjs}/BUILD.gn (100%) rename aafwk/aafwk_standard/{ActsDataAbilityJsTest => actsdataabilityjs}/Test.json (100%) rename aafwk/aafwk_standard/{ActsDataAbilityJsTest => actsdataabilityjs}/entry/src/main/config.json (100%) rename aafwk/aafwk_standard/{ActsDataAbilityJsTest => actsdataabilityjs}/entry/src/main/js/default/app.js (100%) rename aafwk/aafwk_standard/{ActsDataAbilityJsTest => actsdataabilityjs}/entry/src/main/js/default/i18n/en-US.json (100%) rename aafwk/aafwk_standard/{ActsDataAbilityJsTest => actsdataabilityjs}/entry/src/main/js/default/i18n/zh-CN.json (100%) rename aafwk/aafwk_standard/{ActsDataAbilityJsTest => actsdataabilityjs}/entry/src/main/js/default/pages/index/index.css (100%) rename aafwk/aafwk_standard/{ActsDataAbilityJsTest => actsdataabilityjs}/entry/src/main/js/default/pages/index/index.hml (100%) rename aafwk/aafwk_standard/{ActsDataAbilityJsTest => actsdataabilityjs}/entry/src/main/js/default/pages/index/index.js (100%) rename aafwk/aafwk_standard/{ActsDataAbilityJsTest => actsdataabilityjs}/entry/src/main/js/resources/base/element/string.json (100%) rename aafwk/aafwk_standard/{ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test => actsdataabilityjs}/entry/src/main/js/resources/base/media/icon.png (100%) rename aafwk/aafwk_standard/{ActsDataAbilityJsTest => actsdataabilityjs}/entry/src/main/js/test/ActsDataAbilityJsTest.test.js (99%) rename aafwk/aafwk_standard/{ActsDataAbilityJsTest => actsdataabilityjs}/entry/src/main/js/test/List.test.js (100%) rename aafwk/aafwk_standard/{ActsDataAbilityJsTest => actsdataabilityjs}/signature/openharmony_sx.p7b (100%) mode change 100755 => 100644 rename aafwk/aafwk_standard/{ActsStServiceAbilityClientCaseTest => actsstserviceabilityclientcase}/BUILD.gn (100%) rename aafwk/aafwk_standard/{ActsStServiceAbilityClientCaseTest => actsstserviceabilityclientcase}/Test.json (100%) rename aafwk/aafwk_standard/{ActsStServiceAbilityClientCaseTest => actsstserviceabilityclientcase}/entry/src/main/config.json (100%) rename aafwk/aafwk_standard/{ActsStServiceAbilityClientCaseTest => actsstserviceabilityclientcase}/entry/src/main/js/default/app.js (100%) rename aafwk/aafwk_standard/{ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test => actsstserviceabilityclientcase}/entry/src/main/js/default/i18n/en-US.json (100%) rename aafwk/aafwk_standard/{ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test => actsstserviceabilityclientcase}/entry/src/main/js/default/i18n/zh-CN.json (100%) rename aafwk/aafwk_standard/{ActsStServiceAbilityClientCaseTest => actsstserviceabilityclientcase}/entry/src/main/js/default/pages/index/index.css (100%) rename aafwk/aafwk_standard/{ActsStServiceAbilityClientCaseTest => actsstserviceabilityclientcase}/entry/src/main/js/default/pages/index/index.hml (100%) rename aafwk/aafwk_standard/{ActsStServiceAbilityClientCaseTest => actsstserviceabilityclientcase}/entry/src/main/js/default/pages/index/index.js (100%) rename aafwk/aafwk_standard/{ActsStServiceAbilityClientCaseTest => actsstserviceabilityclientcase}/entry/src/main/js/resources/base/element/string.json (100%) rename aafwk/aafwk_standard/{ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7 => actsstserviceabilityclientcase/entry}/src/main/js/resources/base/media/icon.png (100%) rename aafwk/aafwk_standard/{ActsStServiceAbilityClientCaseTest => actsstserviceabilityclientcase}/entry/src/main/js/test/ActsStServiceAbilityClientCaseTest.test.js (100%) rename aafwk/aafwk_standard/{ActsStServiceAbilityClientCaseTest => actsstserviceabilityclientcase}/entry/src/main/js/test/List.test.js (100%) rename aafwk/aafwk_standard/{fa/fa_statelistener_test => actsstserviceabilityclientcase}/signature/openharmony_sx.p7b (100%) mode change 100755 => 100644 delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage/BUILD.gn delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage/Test.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/config.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/test/List.test.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/test/MangerAbilityJsunit.test.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/BUILD.gn delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/Test.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/config.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/test/List.test.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/test/MangerAbilityJsunit.test.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/BUILD.gn delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/config.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/BUILD.gn delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/Test.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/config.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/test/List.test.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/test/MangerAbilityJsunit.test.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/BUILD.gn delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/config.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/BUILD.gn delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/Test.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/config.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/test/List.test.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/test/MangerAbilityJsunit.test.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/BUILD.gn delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/config.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/test/List.test.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/test/MangerAbilityJsunit.test.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/BUILD.gn delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/config.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/BUILD.gn delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/Test.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/config.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/test/List.test.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/test/MangerAbilityJsunit.test.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/BUILD.gn delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/config.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/test/List.test.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/test/MangerAbilityJsunit.test.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/BUILD.gn delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/Test.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/config.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/test/List.test.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/test/MangerAbilityJsunit.test.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/BUILD.gn delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/config.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/test/List.test.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/test/MangerAbilityJsunit.test.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/BUILD.gn delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/config.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/BUILD.gn delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/config.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/BUILD.gn delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/config.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiapptester/BUILD.gn delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiapptester/Test.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiapptester/entry/src/main/config.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiapptester/entry/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiapptester/entry/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiapptester/entry/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiapptester/entry/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiapptester/entry/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiapptester/entry/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiapptester/entry/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiapptester/entry/src/main/js/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiapptester/entry/src/main/js/test/List.test.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiapptester/entry/src/main/js/test/MangerAbilityJsunit.test.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultiapptester/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/BUILD.gn delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/Test.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/config.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/test/MultiDataAbilityJsSt.test.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/BUILD.gn delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/Test.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/config.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/test/List.test.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/test/MultiDataAbilityJsSt.test.js delete mode 100644 aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/BUILD.gn delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/BUILD.gn delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/Test.json delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/config.json delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/test/ActsProcessManageJsTest.test.js delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/test/List.test.js delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/BUILD.gn delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/config.json delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/BUILD.gn delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/config.json delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/BUILD.gn delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/config.json delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/BUILD.gn delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/config.json delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/resources/base/media/icon.png delete mode 100755 aafwk/aafwk_standard/fa/fa_statelistener_test/BUILD.gn delete mode 100755 aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/config.json delete mode 100755 aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/app.js delete mode 100755 aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/i18n/en-US.json delete mode 100755 aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/i18n/zh-CN.json delete mode 100755 aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/pages/index/index.css delete mode 100755 aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/pages/index/index.hml delete mode 100755 aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/pages/index/index.js delete mode 100755 aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/pages/second/second.css delete mode 100755 aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/pages/second/second.hml delete mode 100755 aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/pages/second/second.js delete mode 100755 aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/app.js delete mode 100755 aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/i18n/en-US.json delete mode 100755 aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/i18n/zh-CN.json delete mode 100755 aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/pages/index/index.css delete mode 100755 aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/pages/index/index.hml delete mode 100755 aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/pages/index/index.js delete mode 100755 aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/pages/second/second.css delete mode 100755 aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/pages/second/second.hml delete mode 100755 aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/pages/second/second.js delete mode 100755 aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/test/List.test.js delete mode 100755 aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/test/startFULL.test.js delete mode 100755 aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/resources/base/element/string.json delete mode 100755 aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/resources/base/media/icon.png create mode 100644 aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/test/StartAbilityJsunit.test.js delete mode 100644 aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/BUILD.gn delete mode 100644 aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/config.json delete mode 100644 aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/lanuageConfigapi7/BUILD.gn delete mode 100644 aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/BUILD.gn delete mode 100644 aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/Test.json delete mode 100644 aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/config.json delete mode 100644 aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/test/List.test.js delete mode 100644 aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/test/lanuageConfigapi7.test.js delete mode 100644 aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/BUILD.gn delete mode 100644 aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/Test.json delete mode 100644 aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/src/main/js/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/serviceability/sceneProject/particletestserver/Test.json delete mode 100644 aafwk/aafwk_standard/serviceability/sceneProject/particletestserver/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/serviceability/sceneProject/particletestserver/src/main/config.json delete mode 100644 aafwk/aafwk_standard/serviceability/sceneProject/particletestserver/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/serviceability/sceneProject/particletestserver/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/serviceability/sceneProject/particletestserver/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/serviceability/sceneProject/particletestserver/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/serviceability/sceneProject/particletestserver/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/serviceability/sceneProject/particletestserver/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/serviceability/sceneProject/particletestserver/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/serviceability/sceneProject/particletestserver/src/main/js/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/serviceability/stserviceabilityserver/BUILD.gn delete mode 100644 aafwk/aafwk_standard/serviceability/stserviceabilityserver/Test.json delete mode 100644 aafwk/aafwk_standard/serviceability/stserviceabilityserver/entry/src/main/config.json delete mode 100644 aafwk/aafwk_standard/serviceability/stserviceabilityserver/entry/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/serviceability/stserviceabilityserver/entry/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/serviceability/stserviceabilityserver/entry/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/serviceability/stserviceabilityserver/entry/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/serviceability/stserviceabilityserver/entry/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/serviceability/stserviceabilityserver/entry/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/serviceability/stserviceabilityserver/entry/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/serviceability/stserviceabilityserver/entry/src/main/js/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/serviceability/stserviceabilityserver/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/serviceability/stserviceabilityserversecond/BUILD.gn delete mode 100644 aafwk/aafwk_standard/serviceability/stserviceabilityserversecond/Test.json delete mode 100644 aafwk/aafwk_standard/serviceability/stserviceabilityserversecond/entry/src/main/config.json delete mode 100644 aafwk/aafwk_standard/serviceability/stserviceabilityserversecond/entry/src/main/js/default/app.js delete mode 100644 aafwk/aafwk_standard/serviceability/stserviceabilityserversecond/entry/src/main/js/default/i18n/en-US.json delete mode 100644 aafwk/aafwk_standard/serviceability/stserviceabilityserversecond/entry/src/main/js/default/i18n/zh-CN.json delete mode 100644 aafwk/aafwk_standard/serviceability/stserviceabilityserversecond/entry/src/main/js/default/pages/index/index.css delete mode 100644 aafwk/aafwk_standard/serviceability/stserviceabilityserversecond/entry/src/main/js/default/pages/index/index.hml delete mode 100644 aafwk/aafwk_standard/serviceability/stserviceabilityserversecond/entry/src/main/js/default/pages/index/index.js delete mode 100644 aafwk/aafwk_standard/serviceability/stserviceabilityserversecond/entry/src/main/js/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/serviceability/stserviceabilityserversecond/entry/src/main/js/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/serviceability/stserviceabilityserversecond/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/stage/BUILD.gn delete mode 100644 aafwk/aafwk_standard/stage/actsamscontexttest/AppScope/app.json delete mode 100644 aafwk/aafwk_standard/stage/actsamscontexttest/AppScope/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/stage/actsamscontexttest/AppScope/resources/base/media/app_icon.png delete mode 100644 aafwk/aafwk_standard/stage/actsamscontexttest/BUILD.gn delete mode 100644 aafwk/aafwk_standard/stage/actsamscontexttest/Test.json delete mode 100644 aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/ets/Application/AbilityStage.ts delete mode 100644 aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/ets/MainAbility/MainAbility.ts delete mode 100644 aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/ets/pages/index/index.ets delete mode 100644 aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/ets/pages/second/second.ets delete mode 100644 aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/ets/test/Ability.test.ets delete mode 100644 aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/ets/test/List.test.ets delete mode 100644 aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/module.json delete mode 100644 aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/resources/base/profile/main_pages.json delete mode 100644 aafwk/aafwk_standard/stage/actsamscontexttest/signature/openharmony_sx.p7b delete mode 100644 aafwk/aafwk_standard/stage/stageenvchangetest/BUILD.gn delete mode 100644 aafwk/aafwk_standard/stage/stageenvchangetest/Test.json delete mode 100644 aafwk/aafwk_standard/stage/stageenvchangetest/entry/src/main/config.json delete mode 100644 aafwk/aafwk_standard/stage/stageenvchangetest/entry/src/main/ets/AbilityStage.ts delete mode 100644 aafwk/aafwk_standard/stage/stageenvchangetest/entry/src/main/ets/MainAbility/MainAbility.ts delete mode 100644 aafwk/aafwk_standard/stage/stageenvchangetest/entry/src/main/ets/MainAbility/app.ets delete mode 100644 aafwk/aafwk_standard/stage/stageenvchangetest/entry/src/main/ets/MainAbility/pages/index.ets delete mode 100644 aafwk/aafwk_standard/stage/stageenvchangetest/entry/src/main/ets/MainAbility/pages/second.ets delete mode 100644 aafwk/aafwk_standard/stage/stageenvchangetest/entry/src/main/ets/test/List.test.ets delete mode 100644 aafwk/aafwk_standard/stage/stageenvchangetest/entry/src/main/ets/test/MissionManager_test.ets delete mode 100644 aafwk/aafwk_standard/stage/stageenvchangetest/entry/src/main/resources/base/element/string.json delete mode 100644 aafwk/aafwk_standard/stage/stageenvchangetest/entry/src/main/resources/base/media/icon.png delete mode 100644 aafwk/aafwk_standard/stage/stageenvchangetest/signature/openharmony_sx.p7b diff --git a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/BUILD.gn b/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/BUILD.gn deleted file mode 100644 index d2c0009ac..000000000 --- a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/BUILD.gn +++ /dev/null @@ -1,31 +0,0 @@ -# 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 -# -# 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("ActsKillProcessWithAccountApi7Test") { - hap_name = "ActsKillProcessWithAccountApi7Test" - hap_profile = "./entry/src/main/config.json" - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./entry/src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./entry/src/main/js/resources" ] - hap_profile = "./entry/src/main/config.json" -} diff --git a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/Test.json b/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/Test.json deleted file mode 100644 index 9c63a1118..000000000 --- a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/Test.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "description": "Configuration for hjsunit Tests", - "driver": { - "type": "JSUnitTest", - "test-timeout": "60000", - "package": "com.example.myapplication.actsapi7killtest", - "shell-timeout": "60000" - }, - "kits": [ - { - "test-file-name": [ - "ActsKillProcessWithAccountApi7Test.hap", - "ActsKillProcessWithAccountCloseApi7.hap" - ], - "type": "AppInstallKit", - "cleanup-apps": true - }, - { - "type": "ShellKit", - "run-command": [ - "remount" - ] - }, - { - "type": "PushKit", - "push": [ - "ActsKillProcessWithAccountCloseApi7.hap->/data/ActsKillProcessWithAccountCloseApi7.hap" - ] - - }, - { - "type": "ShellKit", - "run-command": [ - "chmod 644 /data/*.hap" - ] - } - ] -} diff --git a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/config.json b/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/config.json deleted file mode 100644 index a2d8038c2..000000000 --- a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/config.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "app": { - "bundleName": "com.example.myapplication.actsapi7killtest", - "vendor": "example", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.example.myapplication.actsapi7killtest", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry" - }, - "abilities": [ - { - "skills": [ - { - "entities": [ - "entity.system.home" - ], - "actions": [ - "action.system.home" - ] - } - ], - "name": "com.example.myapplication.actsapi7killtest.MainAbility", - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "launchType": "singleton", - "visible": true - } - ], - "reqPermissions": [ - { - "name":"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", - "reason":"need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" - }, - { - "name":"ohos.permission.GET_BUNDLE_INFO", - "reason":"need use ohos.permission.GET_BUNDLE_INFO" - }, - { - "name":"ohos.permission.CHANGE_ABILITY_ENABLED_STATE", - "reason":"need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE" - }, - { - "name":"ohos.permission.REMOVE_CACHE_FILES", - "reason":"need use ohos.permission.REMOVE_CACHE_FILES" - }, - { - "name":"ohos.permission.LISTEN_BUNDLE_CHANGE", - "reason":"need use ohos.permission.LISTEN_BUNDLE_CHANGE" - }, - { - "name":"ohos.permission.INSTALL_BUNDLE", - "reason":"need use ohos.permission.INSTALL_BUNDLE" - }, - { - "name":"ohos.permission.MANAGE_MISSIONS", - "reason":"need use ohos.permission.MANAGE_MISSIONS" - }, - { - "name":"ohos.permission.GET_RUNNING_INFO", - "reason":"need use ohos.permission.GET_RUNNING_INFO" - }, - { - "name":"ohos.permission.CLEAN_BACKGROUND_PROCESSES", - "reason":"need use ohos.permission.CLEAN_BACKGROUND_PROCESSES" - }, - { - "name":"ohos.permission.CLEAN_APPLICATION_DATA", - "reason":"need use ohos.permission.CLEAN_APPLICATION_DATA" - }, - { - "name":"ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS", - "reason":"need use ohos.permission.GET_RUNNING_INFO" - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/default/app.js b/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/default/app.js deleted file mode 100644 index 11ca2c1d6..000000000 --- a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/default/app.js +++ /dev/null @@ -1,28 +0,0 @@ -/* - * 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 - * - * 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('ActsProcessManageJsTest onCreate'); - }, - onDestroy() { - console.info('ActsProcessManageJsTest onDestroy'); - }, - onShow() { - console.info('ActsProcessManageJsTest onShow'); - }, - onHide() { - console.info('ActsProcessManageJsTest onHide'); - } -}; diff --git a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/default/pages/index/index.css deleted file mode 100644 index cfd4c53e3..000000000 --- a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,14 +0,0 @@ -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} - -.btn { - width: 200px; - height: 80px; -} diff --git a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 83c5e0fca..000000000 --- a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,6 +0,0 @@ -
- - {{ $t('strings.hello') }} {{ title }} - - -
diff --git a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/default/pages/index/index.js deleted file mode 100644 index a6d4c3ea6..000000000 --- a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,84 +0,0 @@ -/* - * 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 - * - * 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 { Core, ExpectExtend } from 'deccjsunit/index' - -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') - -export default { - data: { - title: "", - testTime: 0 - }, - onInit() { - console.info('ActsProcessManageJsTest onInit'); - this.title = this.$t('strings.world'); - }, - onShow() { - console.info('ActsProcessManageJsTest onShow'); - console.info('ActsProcessManageJsTest testTime' + this.testTime); - if (this.testTime == 0) { - const core = Core.getInstance() - const expectExtend = new ExpectExtend({ - 'id': 'extend' - }) - core.addService('expect', expectExtend) - core.init() - const configService = core.getDefaultService('config') - this.timeout = 30000; - configService.setConfig(this) - - require('../../../test/List.test') - core.execute() - } - this.testTime++; - }, - onReady() { - console.info('ActsProcessManageJsTest onReady'); - }, - onActive() { - console.info('ActsProcessManageJsTest onActive'); - }, - onInactive() { - console.info('ActsProcessManageJsTest onInactive'); - }, - onHide() { - console.info('ActsProcessManageJsTest onHide'); - }, - onDestroy() { - console.info('ActsProcessManageJsTest onDestroy'); - }, - onBackPress() { - console.info('ActsProcessManageJsTest onBackPress'); - }, - onNewRequest() { - console.info('ActsProcessManageJsTest onNewRequest'); - }, - onStartContinuation() { - console.info('ActsProcessManageJsTest onStartContinuation'); - }, - onSaveData(value) { - console.info('ActsProcessManageJsTest onSaveData:' + JSON.stringify(value)); - }, - onRestoreData(value) { - console.info('ActsProcessManageJsTest onRestoreData:' + JSON.stringify(value)); - }, - onCompleteContinuation(code) { - console.info('ActsProcessManageJsTest onCompleteContinuation:' + JSON.stringify(code)); - }, - onConfigurationUpdated(configuration) { - console.info('ActsProcessManageJsTest onConfigurationUpdated:' + JSON.stringify(configuration)); - } -} diff --git a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/resources/base/element/string.json deleted file mode 100644 index 03574a36c..000000000 --- a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "actsparticleabilitytest" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/test/ActsKillProcessTest.test.js b/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/test/ActsKillProcessTest.test.js deleted file mode 100644 index a3a739e8c..000000000 --- a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/test/ActsKillProcessTest.test.js +++ /dev/null @@ -1,287 +0,0 @@ -/* - * 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 - * - * 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, beforeAll, beforeEach, afterEach, afterAll, it, expect } from "deccjsunit/index" -import appManager from '@ohos.application.AppManager'; -import featureAbility from '@ohos.ability.featureAbility' - -const ACCOUNT_ID = 100; -const NULL_ACCOUNT_ID = 102; -const BUNDLE_NAME = 'com.example.actskillprocesswithaccountcloseapi7'; -const NULL_BUNDLE_NAME = 'com.aaa.bbb'; -const START_ABILITY_NAME = 'com.example.actskillprocesswithaccountcloseapi7.MainAbility'; - -describe('ActskillProcessWithaccountTest', function () { - - beforeEach(async (done) => { - console.log('======>beforeEach killProcessWithAccountFATest<======='); - - await featureAbility.startAbility({ - want: - { - bundleName: BUNDLE_NAME, - abilityName: START_ABILITY_NAME - } - }).then(async () => { - console.log("====>end ACTS_KillProcessWithAccountFA startability ====>success!") - done(); - }) - }) - - function sleep(time) { - let delta; - if (typeof time != 'number' || time <= 0) { - delta = 100; - } else { - delta = Math.round(time); - } - for (let start = Date.now(); Date.now() - start <= delta;); - } - - function checkRunningProcess(name, dataInfo) { - for (let i = 0, len = dataInfo.length; i < len; i++) { - if (dataInfo[i].processName == name) { - return true; - } - } - return false; - } - - /** - * @tc.number: ACTS_KillProcessWithAccountFA_0100 - * @tc.name: Provide the system interface of the specified user management application. - * @tc.desc: Validates the ability to stop the specified process for the specified user. - */ - it('ACTS_KillProcessWithAccountFA_0100', 0, async function (done) { - console.debug("====>ACTS_KillProcessWithAccountFA_0100 start startAbility====>"); - - var procrssinfo = await appManager.getProcessRunningInfos() - console.log('ACTS_KillProcessWithAccountFA_0100 ==1== getProcessRunningInfos ======> ' - + JSON.stringify(procrssinfo)); - var infores = checkRunningProcess(BUNDLE_NAME, procrssinfo) - console.log("====>ACTS_KillProcessWithAccountFA_0100====>infores = " + infores) - expect(infores).assertEqual(true); - - await appManager.killProcessWithAccount(BUNDLE_NAME, ACCOUNT_ID).then(async () => { - console.log('ACTS_KillProcessWithAccountFA_0100 killProcess ======> start'); - }) - - setTimeout(async () => { - var copyprocrssinfo = await appManager.getProcessRunningInfos() - console.log('ACTS_KillProcessWithAccountFA_0100 getProcessRunningInfos ======> ' - + JSON.stringify(copyprocrssinfo)); - var outcopy = checkRunningProcess(BUNDLE_NAME, copyprocrssinfo) - console.log("====>ACTS_KillProcessWithAccountFA_0100====>outcopy = " + outcopy) - expect(outcopy).assertEqual(false); - done(); - }, 3000) - }) - - /** - * @tc.number: ACTS_KillProcessWithAccountFA_0300 - * @tc.name: Provide the system interface of the specified user management application. - * @tc.desc: Authentication cannot stop the specified process for the specified user. - */ - it('ACTS_KillProcessWithAccountFA_0300', 0, async function (done) { - console.debug("====>ACTS_KillProcessWithAccountFA_0300 start startAbility====>"); - - var getinfo = await appManager.getProcessRunningInfos() - console.log('ACTS_KillProcessWithAccountFA_0300 getProcessRunningInfos =1= ======> ' - + JSON.stringify(getinfo)); - var res = checkRunningProcess(BUNDLE_NAME, getinfo) - console.log("====>ACTS_KillProcessWithAccountFA_0300====>res = " + res) - expect(res).assertEqual(true); - - appManager.killProcessWithAccount(NULL_BUNDLE_NAME, ACCOUNT_ID).then(() => { - console.log('ACTS_KillProcessWithAccountFA_0300 ======> '); - }) - - setTimeout(async () => { - var procrssinfo = await appManager.getProcessRunningInfos() - console.log('ACTS_KillProcessWithAccountFA_0300 ==1== getProcessRunningInfos ======> ' - + JSON.stringify(procrssinfo)); - var infores = checkRunningProcess(BUNDLE_NAME, procrssinfo) - console.log("====>ACTS_KillProcessWithAccountFA_0300====>infores = " + infores) - expect(infores).assertEqual(true); - - await appManager.killProcessWithAccount(BUNDLE_NAME, ACCOUNT_ID).then(async () => { - console.log('ACTS_KillProcessWithAccountFA_0300 killProcess ======> start'); - sleep(500) - var copyprocrssinfo = await appManager.getProcessRunningInfos() - console.log('ACTS_KillProcessWithAccountFA_0300 getProcessRunningInfos ======> ' - + JSON.stringify(copyprocrssinfo)); - var outcopy = checkRunningProcess(BUNDLE_NAME, copyprocrssinfo) - console.log("====>ACTS_KillProcessWithAccountFA_0300====> outcopy = " + outcopy) - expect(outcopy).assertEqual(false); - done(); - }) - }, 1500) - }) - - /** - * @tc.number: ACTS_KillProcessWithAccountFA_0400 - * @tc.name: Provide the system interface of the specified user management application. - * @tc.desc: Authentication cannot stop the specified process for the specified user. - */ - it('ACTS_KillProcessWithAccountFA_0400', 0, async function (done) { - console.debug("====>ACTS_KillProcessWithAccountFA_0400 start startAbility====>"); - - var getinfo = await appManager.getProcessRunningInfos() - console.log('ACTS_KillProcessWithAccountFA_0400 getProcessRunningInfos =1= ======> ' - + JSON.stringify(getinfo)); - var res = checkRunningProcess(BUNDLE_NAME, getinfo) - console.log("====>ACTS_KillProcessWithAccountFA_0400====>res = " + res) - expect(res).assertEqual(true); - - appManager.killProcessWithAccount(BUNDLE_NAME, NULL_ACCOUNT_ID).then(() => { - console.log('ACTS_KillProcessWithAccountFA_0400 killProcess ======> start'); - }) - - setTimeout(async () => { - var procrssinfo = await appManager.getProcessRunningInfos() - console.log('ACTS_KillProcessWithAccountFA_0400 ==1== getProcessRunningInfos ======> ' - + JSON.stringify(procrssinfo)); - var infores = checkRunningProcess(BUNDLE_NAME, procrssinfo) - console.log("====>ACTS_KillProcessWithAccountFA_0400====>infores = " + infores) - expect(infores).assertEqual(true); - - appManager.killProcessWithAccount(BUNDLE_NAME, ACCOUNT_ID).then(async () => { - console.log('ACTS_KillProcessWithAccountFA_0400 killProcess2 ======> start'); - - sleep(500) - var copyprocrssinfo = await appManager.getProcessRunningInfos() - console.log('ACTS_KillProcessWithAccountFA_0400 ==2== getProcessRunningInfos ======>' - + JSON.stringify(copyprocrssinfo)); - var out = checkRunningProcess(BUNDLE_NAME, copyprocrssinfo) - console.log("====>ACTS_KillProcessWithAccountFA_0400====>infores = " + out) - expect(out).assertEqual(false); - done(); - }) - }, 1500) - }) - - /** - * @tc.number: ACTS_KillProcessWithAccountFA_0500 - * @tc.name: Provide the system interface of the specified user management application. - * @tc.desc: Validates the ability to stop the specified process for the specified user. - */ - it('ACTS_KillProcessWithAccountFA_0500', 0, async function (done) { - console.debug("====>ACTS_KillProcessWithAccountFA_0500 start startAbility====>"); - - var procrssinfo = await appManager.getProcessRunningInfos() - console.log('ACTS_KillProcessWithAccountFA_0500 ==1== getProcessRunningInfos ======> ' - + JSON.stringify(procrssinfo)); - var infores = checkRunningProcess(BUNDLE_NAME, procrssinfo) - console.log("====>ACTS_KillProcessWithAccountFA_0500====>infores = " + infores) - expect(infores).assertEqual(true); - - await appManager.killProcessWithAccount(BUNDLE_NAME, ACCOUNT_ID, (async () => { - console.log('ACTS_KillProcessWithAccountFA_0500 killProcess ======> start'); - })) - - setTimeout(async () => { - var copyprocrssinfo = await appManager.getProcessRunningInfos() - console.log('ACTS_KillProcessWithAccountFA_0500 getProcessRunningInfos ======> ' - + JSON.stringify(copyprocrssinfo)); - var outcopy = checkRunningProcess(BUNDLE_NAME, copyprocrssinfo) - console.log("====>ACTS_KillProcessWithAccountFA_0500====>outcopy = " + outcopy) - expect(outcopy).assertEqual(false); - done(); - }, 3000) - }) - - /** - * @tc.number: ACTS_KillProcessWithAccountFA_0700 - * @tc.name: Provide the system interface of the specified user management application. - * @tc.desc: Authentication cannot stop the specified process for the specified user. - */ - it('ACTS_KillProcessWithAccountFA_0700', 0, async function (done) { - console.debug("====>ACTS_KillProcessWithAccountFA_0700 start startAbility====>"); - - var getinfo = await appManager.getProcessRunningInfos() - console.log('ACTS_KillProcessWithAccountFA_0700 getProcessRunningInfos =1= ======> ' - + JSON.stringify(getinfo)); - var res = checkRunningProcess(BUNDLE_NAME, getinfo) - console.log("====>ACTS_KillProcessWithAccountFA_0700====>res = " + res) - expect(res).assertEqual(true); - - appManager.killProcessWithAccount(NULL_BUNDLE_NAME, ACCOUNT_ID, (() => { - console.log('ACTS_KillProcessWithAccountFA_0700 killProcess ======> start'); - })) - - setTimeout(async () => { - var procrssinfo = await appManager.getProcessRunningInfos() - console.log('ACTS_KillProcessWithAccountFA_0700 ==1== getProcessRunningInfos ======> ' - + JSON.stringify(procrssinfo)); - var infores = checkRunningProcess(BUNDLE_NAME, procrssinfo) - console.log("====>ACTS_KillProcessWithAccountFA_0700====>infores = " + infores) - expect(infores).assertEqual(true); - - await appManager.killProcessWithAccount(BUNDLE_NAME, ACCOUNT_ID).then(async () => { - console.log('ACTS_KillProcessWithAccountFA_0700 killProcess ======> start'); - sleep(500) - var copyprocrssinfo = await appManager.getProcessRunningInfos() - console.log('ACTS_KillProcessWithAccountFA_0700 getProcessRunningInfos ======> ' - + JSON.stringify(copyprocrssinfo)); - var outcopy = checkRunningProcess(BUNDLE_NAME, copyprocrssinfo) - console.log("====>ACTS_KillProcessWithAccountFA_0700====> outcopy = " + outcopy) - expect(outcopy).assertEqual(false); - done(); - }) - }, 1500) - }) - - /** - * @tc.number: ACTS_KillProcessWithAccountFA_0800 - * @tc.name: Provide the system interface of the specified user management application. - * @tc.desc: Authentication cannot stop the specified process for the specified user. - */ - it('ACTS_KillProcessWithAccountFA_0800', 0, async function (done) { - console.debug("====>ACTS_KillProcessWithAccountFA_0800 start startAbility====>"); - - var getinfo = await appManager.getProcessRunningInfos() - console.log('ACTS_KillProcessWithAccountFA_0800 getProcessRunningInfos =1= ======> ' - + JSON.stringify(getinfo)); - var res = checkRunningProcess(BUNDLE_NAME, getinfo) - console.log("====>ACTS_KillProcessWithAccountFA_0800====>res = " + res) - expect(res).assertEqual(true); - - appManager.killProcessWithAccount(BUNDLE_NAME, NULL_ACCOUNT_ID, (() => { - console.log('ACTS_KillProcessWithAccountFA_0800 killProcess ======> start'); - })) - - setTimeout(async () => { - var procrssinfo = await appManager.getProcessRunningInfos() - console.log('ACTS_KillProcessWithAccountFA_0800 ==1== getProcessRunningInfos ======> ' - + JSON.stringify(procrssinfo)); - var infores = checkRunningProcess(BUNDLE_NAME, procrssinfo) - console.log("====>ACTS_KillProcessWithAccountFA_0800====>infores = " + infores) - expect(infores).assertEqual(true); - - await appManager.killProcessWithAccount(BUNDLE_NAME, ACCOUNT_ID).then(async () => { - console.log('ACTS_KillProcessWithAccountFA_0800 killProcess ======> start'); - sleep(500) - var copyprocrssinfo = await appManager.getProcessRunningInfos() - console.log('ACTS_KillProcessWithAccountFA_0800 getProcessRunningInfos ======> ' - + JSON.stringify(copyprocrssinfo)); - var outcopy = checkRunningProcess(BUNDLE_NAME, copyprocrssinfo) - console.log("====>ACTS_KillProcessWithAccountFA_0800====> outcopy = " + outcopy) - expect(outcopy).assertEqual(false); - done(); - }) - }, 1500) - }) - -}) \ No newline at end of file diff --git a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/test/List.test.js b/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/test/List.test.js deleted file mode 100644 index 9eea0f05f..000000000 --- a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/test/List.test.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * 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 - * - * 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. - */ -require('./ActsKillProcessTest.test.js') \ No newline at end of file diff --git a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/signature/openharmony_sx.p7b deleted file mode 100644 index cc53179a48f88f20acc379c138a001e9a15838f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3442 zcmcgvYj6|S6}BF>F-F+L*anwiBOa!J?7OmLOQwYEN~;%M$tz2?WlYUVT0LxOwU$<1 zS(Haa;)Zu=rr?H0Y#s&@105h3XNE^Z10^9aB$Vk;3~>l;p)@qbNk}NPE878^fghdB zpdZ>f=bn4-chC9Gcjtnbh)PPC(V}blR>Vu@x5Y$tASRm6=kXvBNKHyv*rMZ+0wJFV zVu@*w19@$+!~|hX_@71MCNdcE1}KRm;3UPR(5y!eituv|F;oBwfOwWT9QHanQx2ph zcBPV($X(o@tXS@pD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CLx&s)?jN!{FZ^p?$bVg9CVFUP(={HaZ-U4>~| z=?%!v&bGepy8D)nQKNetudn;FcFgwIL|2dO+;+b%^ZvBlRl%OTpT3BPZ2Bc7$=ZKy zN5IP|oP5C6 zu=&u(-?F=3+PLLX^`Uk9@;gSZIX~)1Y4^m}md%hyYj?I!kZis9K|na!Ys+Ug@xhdL zru;InpmTDvdF+lgeQm3OVQ#bfyD)l#-qEyWb065)XjuU3x?G-jR|WOX%tqrvjhqhKbWtIr4vS?5W~5?1m9|5&+2u z{wqIMEdMQYXX)?mm3r#-oG#va{aE_xOBvS}yV6ZJbk=JtmW}sx>HmH4R#)aHw=Rw0 z#Ol{~gHl)Aro86NYoABWEtHw3K8*7Q{w2fKg{!sST?8^mE zj0bZho5Q^hK*Mt>+t)L{bD0H}=Exg$E`)GEx$uH11O5u0)^&a(S_= zqy`i|9u-1jVcuFgr(k5xqDILM=e~ zc{#;vD-tsmmGjTOa;B*7yD=xXwyzeC*e}ny+-|#O-3sw1C7i80M~^ssbgpv!d$W#+ YX9HpW+h1JFRc8v8e%3PML|^*<0J%6(*8l(j diff --git a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/BUILD.gn b/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/BUILD.gn deleted file mode 100644 index bc30d324d..000000000 --- a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/BUILD.gn +++ /dev/null @@ -1,34 +0,0 @@ -# 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 -# -# 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_hap("ActsKillProcessWithAccountCloseApi7") { - hap_name = "ActsKillProcessWithAccountCloseApi7" - hap_profile = "./src/main/config.json" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./src/main/js/resources" ] - hap_profile = "./src/main/config.json" -} diff --git a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/signature/openharmony_sx.p7b deleted file mode 100644 index cc53179a48f88f20acc379c138a001e9a15838f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3442 zcmcgvYj6|S6}BF>F-F+L*anwiBOa!J?7OmLOQwYEN~;%M$tz2?WlYUVT0LxOwU$<1 zS(Haa;)Zu=rr?H0Y#s&@105h3XNE^Z10^9aB$Vk;3~>l;p)@qbNk}NPE878^fghdB zpdZ>f=bn4-chC9Gcjtnbh)PPC(V}blR>Vu@x5Y$tASRm6=kXvBNKHyv*rMZ+0wJFV zVu@*w19@$+!~|hX_@71MCNdcE1}KRm;3UPR(5y!eituv|F;oBwfOwWT9QHanQx2ph zcBPV($X(o@tXS@pDCIyQA(SM5iexSq2`RW}rkRdU4w62S2$7tFplONI8)AZ9dzgvu zHy9BJ)p;p~bO(vJmkVqnd|s!QX%?3*5>o+2VkcdJU>uoTDN_{7rEms7eLfNjJ>u5!kIq36rWYs)jMd?QZlm z)SJq2Tn)2U7}H`ARTMTLZet|^+bnQ{(ZsD_##z*DQ&-~nJd|b19ooupg;vvSuTq9d z3tEFA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3OVQ#bfyD)l#-qEyWb065)XjuU3x?G-jR|WOX%tqrvjhqhKbWtIr4vS?5W~5?1m9|5&+2u z{wqIMEdMQYXX)?mm3r#-oG#va{aE_xOBvS}yV6ZJbk=JtmW}sx>HmH4R#)aHw=Rw0 z#Ol{~gHl)Aro86NYoABWEtHw3K8*7Q{w2fKg{!sST?8^mE zj0bZho5Q^hK*Mt>+t)L{bD0H}=Exg$E`)GEx$uH11O5u0)^&a(S_= zqy`i|9u-1jVcuFgr(k5xqDILM=e~ zc{#;vD-tsmmGjTOa;B*7yD=xXwyzeC*e}ny+-|#O-3sw1C7i80M~^ssbgpv!d$W#+ YX9HpW+h1JFRc8v8e%3PML|^*<0J%6(*8l(j diff --git a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/config.json b/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/config.json deleted file mode 100644 index 855f8170c..000000000 --- a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/config.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "app": { - "bundleName": "com.example.actskillprocesswithaccountcloseapi7", - "vendor": "example", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.example.actskillprocesswithaccountcloseapi7", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry" - }, - "abilities": [ - { - "skills": [ - { - "entities": [ - "entity.system.home" - ], - "actions": [ - "action.system.home" - ] - } - ], - "name": "com.example.actskillprocesswithaccountcloseapi7.MainAbility", - "visible": true, - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "launchType": "standard" - } - ], - "reqPermissions": [ - { - "name":"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", - "reason":"need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" - }, - { - "name":"ohos.permission.GET_BUNDLE_INFO", - "reason":"need use ohos.permission.GET_BUNDLE_INFO" - }, - { - "name":"ohos.permission.CHANGE_ABILITY_ENABLED_STATE", - "reason":"need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE" - }, - { - "name":"ohos.permission.REMOVE_CACHE_FILES", - "reason":"need use ohos.permission.REMOVE_CACHE_FILES" - }, - { - "name":"ohos.permission.LISTEN_BUNDLE_CHANGE", - "reason":"need use ohos.permission.LISTEN_BUNDLE_CHANGE" - }, - { - "name":"ohos.permission.MANAGE_MISSIONS", - "reason":"need use ohos.permission.MANAGE_MISSIONS" - }, - { - "name":"ohos.permission.GET_RUNNING_INFO", - "reason":"need use ohos.permission.GET_RUNNING_INFO" - }, - { - "name":"ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS", - "reason":"need use ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS" - }, - { - "name":"ohos.permission.CLEAN_BACKGROUND_PROCESSES", - "reason":"need use ohos.permission.CLEAN_BACKGROUND_PROCESSES" - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/js/default/app.js b/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/js/default/app.js deleted file mode 100644 index d2c248770..000000000 --- a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/js/default/app.js +++ /dev/null @@ -1,28 +0,0 @@ -/* - * 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 - * - * 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('ProcessManageSystemAppB onCreate'); - }, - onDestroy() { - console.info('ProcessManageSystemAppB onDestroy'); - }, - onShow() { - console.info('ProcessManageSystemAppB onShow'); - }, - onHide() { - console.info('ProcessManageSystemAppB onHide'); - } -}; diff --git a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d97..000000000 --- a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748..000000000 --- a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/js/default/pages/index/index.js deleted file mode 100644 index ced02a728..000000000 --- a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * 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 - * - * 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 commonEvent from '@ohos.commonevent' - -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') - -export default { - data: { - title: "" - }, - onInit() { - console.info('ACTS_ProcessManage SystemAppB onInit'); - this.title = "ACTS_ProcessManage SystemAppB"; - }, - onReady() { - console.info('ACTS_ProcessManage SystemAppB onReady'); - }, - onActive() { - console.info('ACTS_ProcessManage SystemAppB onActive'); - }, - onShow() { - console.info('ACTS_ProcessManage SystemAppB onShow'); - }, - onInactive() { - console.info('ACTS_ProcessManage SystemAppB onInactive'); - }, - onHide() { - console.info('ACTS_ProcessManage SystemAppB onHide'); - }, - onDestroy() { - console.info('ACTS_ProcessManage SystemAppB onDestroy'); - }, - onBackPress() { - console.info('ACTS_ProcessManage SystemAppB onBackPress'); - }, - onNewRequest() { - console.info('ACTS_ProcessManage SystemAppB onNewRequest'); - }, - onStartContinuation() { - console.info('ACTS_ProcessManage SystemAppB onStartContinuation'); - }, - onSaveData(value) { - console.info('ACTS_ProcessManage SystemAppB onSaveData:' + JSON.stringify(value)); - }, - onRestoreData(value) { - console.info('ACTS_ProcessManage SystemAppB onRestoreData:' + JSON.stringify(value)); - }, - onCompleteContinuation(code) { - console.info('ACTS_ProcessManage SystemAppB onCompleteContinuation:' + JSON.stringify(code)); - }, - onConfigurationUpdated(configuration) { - console.info('ACTS_ProcessManage SystemAppB onConfigurationUpdated:' + JSON.stringify(configuration)); - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/js/resources/base/element/string.json deleted file mode 100644 index fd60cdefa..000000000 --- a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "particlestartability" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/BUILD.gn b/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/BUILD.gn deleted file mode 100644 index fddb3e5b1..000000000 --- a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/BUILD.gn +++ /dev/null @@ -1,24 +0,0 @@ -# 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 -# -# 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") - -group("ActsKillProcessWithAccountApi7") { - testonly = true - if (is_standard_system) { - deps = [ - "ActsKillProcessWithAccountApi7Test:ActsKillProcessWithAccountApi7Test", - "ActsKillProcessWithAccountCloseApi7:ActsKillProcessWithAccountCloseApi7", - ] - } -} diff --git a/aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/entry/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/entry/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d97..000000000 --- a/aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/entry/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/entry/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/entry/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748..000000000 --- a/aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/entry/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/entry/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/entry/src/main/js/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 zrdpa{2QLqPJ4Y{j7=Mrl{BaxrkdY69+c~(w{Fv-v&aR%aEI&JYSeRTLWm!zbv;?)_ ziZB;fwGbbeL5Q}YLx`J$lp~A09KK8t_z}PZ=4ZzgdeKtgoc+o5EvN9A1K1_<>M?MBqb#!ASf&# zEX?<)!RH(7>1P+j=jqG(58}TVN-$psA6K}atCuI!KTJD&FMmH-78ZejBm)0qc{ESp z|LuG1{QnBUJRg_E=h1#XMWt2%fcoN@l7eAS!Es?Q+;XsRNPhiiE=@AqlLkJzF`O18 zbsbSmKN=aaq8k3NF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7M!iafJSU`IV}QY5Wa z(n44-9oA}?J{a+ah*@31WTs#&J#o1`H98#6IQf;Wv0N_!);f&9g7o-k(lW5rWnDUR zQBFIRG+X=6NnsI@mxnwm;tf5;_Uxg?jZ8m-m0}&6+DA!qam(p$mN5R})yA_7m$q@| zFEd|dpS595rxQr-n#GjI5i-AhnUE>Cr;jpCqSrD~EwK_DqI^7%3#p5)%T_od!t3SOmH9MyXeeGO2(UQL;ax|x?Ncixmeo1=$ z{-);Au{*tfzOG?KQ~K|ak8-HQ?`Pekhe2WM(8s{xv-p>Zmu_6{G!-oE$7$mY`MOJorI=+mMx?H;`pr!;fVYz?5~yXBACruWB`Ph zZM}90_<^OBxIhyZ9BW$`>6JvO;%VFpqVr8|7t3~AmxYak6?`Pp#c;**_SYmi`&z23 z`p6_~ePvH)C6x-G9$hgL=eVALq`-AiamN>!3~Lxw&{H(b{B(7xSRm6<3<{%{yXiH# zos5Rv1L+8fUKJLo%P>4I&$}y delay) { break; @@ -140,7 +140,7 @@ describe('ActsAmsCallBackFifthScene', function () { ' + error.code + ', data length [' + info.length + ']'); expect(Array.isArray(info)).assertEqual(true); expect(info.length).assertLarger(0); - for (var i = 0; i < info.length; i++) { + for (let i = 0; i < info.length; i++) { console.info('Acts_Ams_test_6600 getProcessRunningInfo[' + i + "]: " + JSON.stringify(info[i])); expect(typeof (info[i].pid)).assertEqual("number"); expect(info[i].pid).assertLarger(0); @@ -165,14 +165,14 @@ describe('ActsAmsCallBackFifthScene', function () { * @tc.desc : Query Recent Ability Mission Infos(by CallBack) */ it('Acts_Ams_test_7000', 0, async function (done) { - var maxnum = 10; + let maxnum = 10; missionManager.getMissionInfos("", maxnum, (error, data) => { console.info('Acts_Ams_test_7000 getMissionInfos error.code : \ ' + error.code + ',data length [' + data.length + ']'); expect(Array.isArray(data)).assertEqual(true); expect(data.length).assertEqual(4); - for (var i = 0; i < data.length; i++) { + for (let i = 0; i < data.length; i++) { console.info('Acts_Ams_test_7000 getMissionInfos data[' + i + "]: " + JSON.stringify(data[i])); expect(typeof (data[i].missionId)).assertEqual("number"); expect(data[i].missionId).assertLarger(0); @@ -201,9 +201,9 @@ describe('ActsAmsCallBackFifthScene', function () { * @tc.desc : Move Mission To Top(by CallBack) */ it('Acts_Ams_test_7600', 0, async function (done) { - var maxnum = 10; - var result = await missionManager.getMissionInfos("", maxnum); - for (var i = 0; i < result.length; i++) { + let maxnum = 10; + let result = await missionManager.getMissionInfos("", maxnum); + for (let i = 0; i < result.length; i++) { console.info('Acts_Ams_test_7600 getMissionInfos result[' + i + "]: " + JSON.stringify(result[i])); } missionManager.moveMissionToFront(result[0].missionId, @@ -216,22 +216,4 @@ describe('ActsAmsCallBackFifthScene', function () { ); setTimeout(timeout, 5000); }) - - /* - * @tc.number : Acts_Ams_test_8000 - * @tc.name : killProcessesByBundleName : Kill Processes By BundleName - * @tc.desc : Kill Processes By BundleName(by CallBack) - */ - it('Acts_Ams_test_8000', 0, async function (done) { - appManager.killProcessesByBundleName('com.ix.verify.io', - (error, info) => { - console.info('Acts_Ams_test_8000 killProcessesByBundleName error.code: \ - ' + error.code + ',data [' + info + ']'); - expect(typeof (info)).assertEqual("number"); - expect(info).assertEqual(0); - done(); - } - ); - setTimeout(timeout, 5000); - }) }) \ No newline at end of file diff --git a/aafwk/aafwk_standard/abilitymanager/actsamscallbackfirstscene/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/actsamscallbackfirstscene/entry/src/main/js/default/pages/index/index.js index 3ba401843..90fad1b64 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamscallbackfirstscene/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamscallbackfirstscene/entry/src/main/js/default/pages/index/index.js @@ -12,16 +12,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import file from '@system.file' + import {Core, ExpectExtend} from 'deccjsunit/index' const injectRef = Object.getPrototypeOf(global) || global injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') -var once = true +let once = true export default { data: { - title: "" + title: '' }, onInit() { this.title = this.$t('strings.world'); diff --git a/aafwk/aafwk_standard/abilitymanager/actsamscallbackfirstscene/entry/src/main/js/test/MangerAbilityJsunit.test.js b/aafwk/aafwk_standard/abilitymanager/actsamscallbackfirstscene/entry/src/main/js/test/MangerAbilityJsunit.test.js index a69d5bb48..f8cc182c0 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamscallbackfirstscene/entry/src/main/js/test/MangerAbilityJsunit.test.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamscallbackfirstscene/entry/src/main/js/test/MangerAbilityJsunit.test.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 @@ -154,21 +154,6 @@ describe('ActsAmsCallBackFirstScene', function () { }); }) - /* - * @tc.number : Acts_Ams_test_1600 - * @tc.name : killProcessesByBundleName : Kill Processes By BundleName - * @tc.desc : Kill Processes By BundleName(by CallBack) - */ - it('Acts_Ams_test_1600', 0, async function (done) { - appManager.killProcessesByBundleName('com.ix.simulate.feature', - (error, info) => { - console.info('Acts_Ams_test_1600 killProcessesByBundleName error.code: \ - ' + error.code + ',data [' + info + ']'); - expect(error.code).assertEqual(0); - done(); - }); - }) - /* * @tc.number : Acts_Ams_test_1200 * @tc.name : moveMissionToFront : Move Mission To Top diff --git a/aafwk/aafwk_standard/abilitymanager/actsamscallbackfourthscene/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/actsamscallbackfourthscene/entry/src/main/js/default/pages/index/index.js index 8b48ca374..952dcd80e 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamscallbackfourthscene/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamscallbackfourthscene/entry/src/main/js/default/pages/index/index.js @@ -12,15 +12,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import file from '@system.file' + import {Core, ExpectExtend} from 'deccjsunit/index' const injectRef = Object.getPrototypeOf(global) || global injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') -var once = true +let once = true export default { data: { - title: "" + title: '' }, onInit() { this.title = this.$t('strings.world'); diff --git a/aafwk/aafwk_standard/abilitymanager/actsamscallbackfourthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js b/aafwk/aafwk_standard/abilitymanager/actsamscallbackfourthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js index 1ec7c4d7b..8aebf06ab 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamscallbackfourthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamscallbackfourthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js @@ -17,7 +17,7 @@ import missionManager from '@ohos.application.missionManager' import appManager from "@ohos.application.appManager" import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index' -var abilityNameList = [ +let abilityNameList = [ "com.ohos.launcher.MainAbility", "com.ohos.callui.ServiceAbility", "com.example.SimulateFeatureAbilityFir", @@ -27,7 +27,7 @@ var abilityNameList = [ "com.example.actsamscallbackfourthscene.MainAbility" ] -var bundleNameList = [ +let bundleNameList = [ "com.ohos.launcher", "com.ohos.systemui", "com.ohos.callui", @@ -45,10 +45,10 @@ var bundleNameList = [ describe('ActsAmsCallBackFourthScene', function () { console.info('----ActsAmsCallBackFourthScene----'); beforeAll(async function (done) { - var maxnum = 10; - var data = await missionManager.getMissionInfos("", maxnum); + let maxnum = 10; + let data = await missionManager.getMissionInfos("", maxnum); console.log('ActsAmsCallBackFourthScene beforeAll getMissionInfos data: ' + JSON.stringify(data)); - for (var i = 0; i < data.length; i++) { + for (let i = 0; i < data.length; i++) { if (data[i].want.bundleName != 'com.example.actsamscallbackfourthscene') { console.log("ActsAmsCallBackFourthScene, missionId: " + data[i].missionId) missionManager.clearMission(data[i].missionId, @@ -137,7 +137,7 @@ describe('ActsAmsCallBackFourthScene', function () { } function sleep(delay) { - var start = new Date().getTime(); + let start = new Date().getTime(); while (true) { if (new Date().getTime() - start > delay) { break; @@ -160,7 +160,7 @@ describe('ActsAmsCallBackFourthScene', function () { ' + error.code + ', data length [' + info.length + ']'); expect(Array.isArray(info)).assertEqual(true); expect(info.length).assertLarger(0); - for (var i = 0; i < info.length; i++) { + for (let i = 0; i < info.length; i++) { console.info('Acts_Ams_test_5000 getProcessRunningInfo[' + i + "]: " + JSON.stringify(info[i])); expect(typeof (info[i].pid)).assertEqual("number"); expect(info[i].pid).assertLarger(0); @@ -183,14 +183,14 @@ describe('ActsAmsCallBackFourthScene', function () { * @tc.desc : Query Recent Ability Mission Infos(by CallBack) */ it('Acts_Ams_test_5400', 0, async function (done) { - var maxnum = 100; + let maxnum = 100; missionManager.getMissionInfos("", maxnum, (error, data) => { console.info('Acts_Ams_test_5400 getMissionInfos error.code : \ ' + error.code + ',data length [' + data.length + ']'); expect(Array.isArray(data)).assertEqual(true); expect(data.length).assertEqual(4); - for (var i = 0; i < data.length; i++) { + for (let i = 0; i < data.length; i++) { console.info('Acts_Ams_test_5400 getMissionInfos data[' + i + "]: " + JSON.stringify(data[i])); expect(typeof (data[i].missionId)).assertEqual("number"); expect(data[i].missionId).assertLarger(0); @@ -217,10 +217,10 @@ describe('ActsAmsCallBackFourthScene', function () { * @tc.desc : Remove Mission(by CallBack) */ it('Acts_Ams_test_5600', 0, async function (done) { - var maxnum = 30; - var result = await missionManager.getMissionInfos("", maxnum); + let maxnum = 30; + let result = await missionManager.getMissionInfos("", maxnum); let id = 0; - for (var i = 0; i < result.length; i++) { + for (let i = 0; i < result.length; i++) { console.info('Acts_Ams_test_5600 getMissionInfos result[' + i + "]: " + JSON.stringify(result[i])); if (result[i].want.abilityName != 'com.example.actsamscallbackfourthscene.MainAbility' && result[i].runningState == 0) { @@ -244,9 +244,9 @@ describe('ActsAmsCallBackFourthScene', function () { * @tc.desc : Move Mission To Top(by CallBack) */ it('Acts_Ams_test_6000', 0, async function (done) { - var maxnum = 30; - var result = await missionManager.getMissionInfos("", maxnum); - for (var i = 0; i < result.length; i++) { + let maxnum = 30; + let result = await missionManager.getMissionInfos("", maxnum); + for (let i = 0; i < result.length; i++) { console.info('Acts_Ams_test_6000 getMissionInfos result[' + i + "]: " + JSON.stringify(result[i])); } missionManager.moveMissionToFront(result[1].missionId, @@ -258,35 +258,20 @@ describe('ActsAmsCallBackFourthScene', function () { }); }) - /* - * @tc.number : Acts_Ams_test_6400 - * @tc.name : killProcessesByBundleName : Kill Processes By BundleName - * @tc.desc : Kill Processes By BundleName(by CallBack) - */ - it('Acts_Ams_test_6400', 0, async function (done) { - appManager.killProcessesByBundleName('xxxxxxxxx', - (error) => { - console.info('Acts_Ams_test_6400 killProcessesByBundleName error.code ' + error.code); - expect(error.code).assertEqual(2097215); - done(); - }); - }) - /* * @tc.number : Acts_Ams_test_11900 * @tc.name : clearMissions : delete Missions * @tc.desc : delete Missions(by CallBack) */ it('Acts_Ams_test_11900', 0, async function (done) { - var maxnum = 30; - var result = await missionManager.getMissionInfos("", maxnum); - for (var i = 0; i < result.length; i++) { - console.info('Acts_Ams_test_11900 getMissionInfos result[' + i + "]: " + JSON.stringify(result[i])); + let maxnum = 30; + let result = await missionManager.getMissionInfos("", maxnum); + for (let i = 0; i < result.length; i++) { + console.info('getMissionInfos result[' + i + "]: " + JSON.stringify(result[i])); } missionManager.clearAllMissions( (error, info) => { - console.info('Acts_Ams_test_11900 clearAllMissions error.code: \ - ' + error.code + ',data [' + info + ']'); + console.info('clearAllMissions error.code: \ ' + error.code + ',data [' + info + ']'); expect(error.code).assertEqual(0); done(); }); diff --git a/aafwk/aafwk_standard/abilitymanager/actsamscallbacksecondscene/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/actsamscallbacksecondscene/entry/src/main/js/default/pages/index/index.js index 590bd0c3b..f470b9c0a 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamscallbacksecondscene/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamscallbacksecondscene/entry/src/main/js/default/pages/index/index.js @@ -12,15 +12,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import file from '@system.file' + import {Core, ExpectExtend} from 'deccjsunit/index' const injectRef = Object.getPrototypeOf(global) || global injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') -var once = true +let once = true export default { data: { - title: "" + title: '' }, onInit() { this.title = this.$t('strings.world'); diff --git a/aafwk/aafwk_standard/abilitymanager/actsamscallbacksecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js b/aafwk/aafwk_standard/abilitymanager/actsamscallbacksecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js index 277e6edd8..287c4390a 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamscallbacksecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamscallbacksecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js @@ -17,7 +17,7 @@ import missionManager from '@ohos.application.missionManager' import appManager from "@ohos.application.appManager" import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit' -var abilityNameList = [ +let abilityNameList = [ "com.ohos.launcher.MainAbility", "com.ohos.callui.ServiceAbility", "com.example.SimulateFeatureAbilityFir", @@ -25,7 +25,7 @@ var abilityNameList = [ "com.example.actsamscallbacksecondscene.MainAbility" ] -var bundleNameList = [ +let bundleNameList = [ "com.ohos.launcher", "com.ohos.systemui", "com.ohos.callui", @@ -41,10 +41,10 @@ var bundleNameList = [ describe('ActsAmsCallBackSecondScene', function () { console.info('----ActsAmsCallBackSecondScene----'); beforeAll(async function (done) { - var maxnum = 10; - var data = await missionManager.getMissionInfos("", maxnum); + let maxnum = 10; + let data = await missionManager.getMissionInfos("", maxnum); console.log('ActsAmsCallBackSecondScene beforeAll getMissionInfos data: ' + JSON.stringify(data)); - for (var i = 0; i < data.length; i++) { + for (let i = 0; i < data.length; i++) { if (data[i].want.bundleName != 'com.example.actsamscallbacksecondscene') { console.log("ActsAmsCallBackSecondScene, missionId: " + data[i].missionId) missionManager.clearMission(data[i].missionId, @@ -99,7 +99,7 @@ describe('ActsAmsCallBackSecondScene', function () { } function sleep(delay) { - var start = new Date().getTime(); + let start = new Date().getTime(); while (true) { if (new Date().getTime() - start > delay) { break; @@ -122,7 +122,7 @@ describe('ActsAmsCallBackSecondScene', function () { ' + error.code + ', data length [' + info.length + ']'); expect(Array.isArray(info)).assertEqual(true); expect(info.length).assertLarger(0); - for (var i = 0; i < info.length; i++) { + for (let i = 0; i < info.length; i++) { console.info('Acts_Ams_test_1800 getProcessRunningInfo[' + i + "]: " + JSON.stringify(info[i])); expect(typeof (info[i].pid)).assertEqual("number"); expect(info[i].pid).assertLarger(0); @@ -145,14 +145,14 @@ describe('ActsAmsCallBackSecondScene', function () { * @tc.desc : Query Running Ability Mission Infos(by CallBack) */ it('Acts_Ams_test_2000', 0, async function (done) { - var maxnum = 20; + let maxnum = 20; missionManager.getMissionInfos("", maxnum, (error, info) => { console.info('Acts_Ams_test_2000 getMissionInfos error.code : \ ' + error.code + ',data length [' + info.length + ']'); expect(Array.isArray(info)).assertEqual(true); expect(info.length).assertEqual(3); - for (var i = 0; i < info.length; i++) { + for (let i = 0; i < info.length; i++) { console.info('Acts_Ams_test_2000 getMissionInfos data[' + i + "]: " + JSON.stringify(info[i])); expect(typeof (info[i].missionId)).assertEqual("number"); expect(info[i].missionId).assertLarger(0); @@ -179,9 +179,9 @@ describe('ActsAmsCallBackSecondScene', function () { * @tc.desc : Remove Mission(by CallBack) */ it('Acts_Ams_test_2400', 0, async function (done) { - var maxnum = 20; - var result = await missionManager.getMissionInfos("", maxnum); - for (var i = 0; i < result.length; i++) { + let maxnum = 20; + let result = await missionManager.getMissionInfos("", maxnum); + for (let i = 0; i < result.length; i++) { console.info('Acts_Ams_test_2400 getMissionInfos result[' + i + "]: " + JSON.stringify(result[i])); } missionManager.clearMission(result[1].missionId, @@ -199,9 +199,9 @@ describe('ActsAmsCallBackSecondScene', function () { * @tc.desc : Move Mission To Top(by CallBack) */ it('Acts_Ams_test_2800', 0, async function (done) { - var maxnum = 20; - var result = await missionManager.getMissionInfos("", maxnum); - for (var i = 0; i < result.length; i++) { + let maxnum = 20; + let result = await missionManager.getMissionInfos("", maxnum); + for (let i = 0; i < result.length; i++) { console.info('Acts_Ams_test_2800 getMissionInfos result[' + i + "]: " + JSON.stringify(result[i])); } missionManager.moveMissionToFront(result[0].missionId, @@ -212,19 +212,4 @@ describe('ActsAmsCallBackSecondScene', function () { done(); }); }) - - /* - * @tc.number : Acts_Ams_test_3200 - * @tc.name : killProcessesByBundleName : Kill Processes By BundleName - * @tc.desc : Kill Processes By BundleName(by CallBack) - */ - it('Acts_Ams_test_3200', 0, async function (done) { - appManager.killProcessesByBundleName('XXXXXXXXXXXX', - (error, info) => { - console.info('Acts_Ams_test_3200 killProcessesByBundleName error.code: \ - ' + error.code + ',data [' + info + ']'); - expect(error.code).assertEqual(2097215); - done(); - }); - }) }) \ No newline at end of file diff --git a/aafwk/aafwk_standard/abilitymanager/actsamscallbackthirdscene/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/actsamscallbackthirdscene/entry/src/main/js/default/pages/index/index.js index 590bd0c3b..f470b9c0a 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamscallbackthirdscene/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamscallbackthirdscene/entry/src/main/js/default/pages/index/index.js @@ -12,15 +12,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import file from '@system.file' + import {Core, ExpectExtend} from 'deccjsunit/index' const injectRef = Object.getPrototypeOf(global) || global injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') -var once = true +let once = true export default { data: { - title: "" + title: '' }, onInit() { this.title = this.$t('strings.world'); diff --git a/aafwk/aafwk_standard/abilitymanager/actsamscallbackthirdscene/entry/src/main/js/test/MangerAbilityJsunit.test.js b/aafwk/aafwk_standard/abilitymanager/actsamscallbackthirdscene/entry/src/main/js/test/MangerAbilityJsunit.test.js index ce2ad873a..38fd9e110 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamscallbackthirdscene/entry/src/main/js/test/MangerAbilityJsunit.test.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamscallbackthirdscene/entry/src/main/js/test/MangerAbilityJsunit.test.js @@ -17,7 +17,7 @@ import missionManager from '@ohos.application.missionManager' import appManager from "@ohos.application.appManager" import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index' -var abilityNameList = [ +let abilityNameList = [ "com.ohos.launcher.MainAbility", "com.ohos.callui.ServiceAbility", "com.example.SimulateFeatureAbilityFir", @@ -25,7 +25,7 @@ var abilityNameList = [ "com.example.actsamscallbackthirdscene.MainAbility" ] -var bundleNameList = [ +let bundleNameList = [ "com.ohos.launcher", "com.ohos.systemui", "com.ohos.callui", @@ -40,10 +40,10 @@ var bundleNameList = [ describe('ActsAmsCallBackThirdScene', function () { console.info('----ActsAmsCallBackThirdScene----'); beforeAll(async function (done) { - var maxnum = 10; - var data = await missionManager.getMissionInfos("", maxnum); + let maxnum = 10; + let data = await missionManager.getMissionInfos("", maxnum); console.log('ActsAmsCallBackThirdScene beforeAll getMissionInfos data: ' + JSON.stringify(data)); - for (var i = 0; i < data.length; i++) { + for (let i = 0; i < data.length; i++) { if (data[i].want.bundleName != 'com.example.actsamscallbackthirdscene') { console.log("ActsAmsCallBackThirdScene, missionId: " + data[i].missionId) missionManager.clearMission(data[i].missionId, @@ -92,7 +92,7 @@ describe('ActsAmsCallBackThirdScene', function () { }); function sleep(delay) { - var start = new Date().getTime(); + let start = new Date().getTime(); while (true) { if (new Date().getTime() - start > delay) { break; @@ -115,7 +115,7 @@ describe('ActsAmsCallBackThirdScene', function () { ' + error.code + ', data length [' + info.length + ']'); expect(Array.isArray(info)).assertEqual(true); expect(info.length).assertLarger(0); - for (var i = 0; i < info.length; i++) { + for (let i = 0; i < info.length; i++) { console.info('Acts_Ams_test_3400 getProcessRunningInfo[' + i + "]: " + JSON.stringify(info[i])); expect(typeof (info[i].pid)).assertEqual("number"); expect(info[i].pid).assertLarger(0); @@ -138,14 +138,14 @@ describe('ActsAmsCallBackThirdScene', function () { * @tc.desc : Query Running Ability Mission Infos(by CallBack) */ it('Acts_Ams_test_3600', 0, async function (done) { - var maxnum = 20; + let maxnum = 20; missionManager.getMissionInfos("", maxnum, (error, info) => { console.info('Acts_Ams_test_3600 getMissionInfos error.code : \ ' + error.code + ',data length [' + info.length + ']'); expect(Array.isArray(info)).assertEqual(true); expect(info.length).assertEqual(3); - for (var i = 0; i < info.length; i++) { + for (let i = 0; i < info.length; i++) { console.info('Acts_Ams_test_3600 getMissionInfos info[' + i + "]: " + JSON.stringify(info[i])); expect(typeof (info[i].missionId)).assertEqual("number"); expect(info[i].missionId).assertLarger(0); @@ -172,9 +172,9 @@ describe('ActsAmsCallBackThirdScene', function () { * @tc.desc : Move Mission To Top(by CallBack) */ it('Acts_Ams_test_4400', 0, async function (done) { - var maxnum = 20; - var result = await missionManager.getMissionInfos("", maxnum); - for (var i = 0; i < result.length; i++) { + let maxnum = 20; + let result = await missionManager.getMissionInfos("", maxnum); + for (let i = 0; i < result.length; i++) { console.info('Acts_Ams_test_4400 getMissionInfos result[' + i + "]: " + JSON.stringify(result[i])); } missionManager.moveMissionToFront(result[0].missionId, @@ -186,21 +186,4 @@ describe('ActsAmsCallBackThirdScene', function () { } ); }) - - /* - * @tc.number : Acts_Ams_test_4800 - * @tc.name : killProcessesByBundleName : Kill Processes By BundleName - * @tc.desc : Kill Processes By BundleName(by CallBack) - */ - it('Acts_Ams_test_4800', 0, async function (done) { - appManager.killProcessesByBundleName('xxxxxxxxxxx', - (error, info) => { - console.info('Acts_Ams_test_4800 killProcessesByBundleName error.code: \ - ' + error.code + ',data [' + info + ']'); - expect(error.code).assertEqual(2097215); - done(); - } - ); - done(); - }) }) \ No newline at end of file diff --git a/aafwk/aafwk_standard/abilitymanager/actsamstestfifthscene/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/actsamstestfifthscene/entry/src/main/js/default/pages/index/index.js index 8b48ca374..952dcd80e 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamstestfifthscene/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamstestfifthscene/entry/src/main/js/default/pages/index/index.js @@ -12,15 +12,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import file from '@system.file' + import {Core, ExpectExtend} from 'deccjsunit/index' const injectRef = Object.getPrototypeOf(global) || global injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') -var once = true +let once = true export default { data: { - title: "" + title: '' }, onInit() { this.title = this.$t('strings.world'); diff --git a/aafwk/aafwk_standard/abilitymanager/actsamstestfifthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js b/aafwk/aafwk_standard/abilitymanager/actsamstestfifthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js index f9879fc24..96a9aa877 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamstestfifthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamstestfifthscene/entry/src/main/js/test/MangerAbilityJsunit.test.js @@ -17,7 +17,7 @@ import missionManager from '@ohos.application.missionManager' import appManager from "@ohos.application.appManager" import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index' -var abilityNameList = [ +let abilityNameList = [ "com.ohos.launcher.MainAbility", "com.ohos.callui.ServiceAbility", "com.example.SimulateFeatureAbilityFir", @@ -26,7 +26,7 @@ var abilityNameList = [ "com.example.actsamstestfifthscene.MainAbility" ] -var bundleNameList = [ +let bundleNameList = [ "com.ohos.launcher", "com.ohos.systemui", "com.ohos.callui", @@ -42,10 +42,10 @@ var bundleNameList = [ describe('ActsAmsTestFifthScene', function () { console.info('----ActsAmsTestFifthScene----'); beforeAll(async function (done) { - var maxnum = 10; - var data = await missionManager.getMissionInfos("", maxnum); + let maxnum = 10; + let data = await missionManager.getMissionInfos("", maxnum); console.log('ActsAmsTestFifthScene beforeAll getMissionInfos data: ' + JSON.stringify(data)); - for (var i = 0; i < data.length; i++) { + for (let i = 0; i < data.length; i++) { if (data[i].want.bundleName != 'com.example.actsamstestfifthscene') { console.log("ActsAmsTestFifthScene, missionId: " + data[i].missionId) missionManager.clearMission(data[i].missionId, @@ -132,7 +132,7 @@ describe('ActsAmsTestFifthScene', function () { } function sleep(delay) { - var start = new Date().getTime(); + let start = new Date().getTime(); while (true) { if (new Date().getTime() - start > delay) { break; @@ -149,10 +149,10 @@ describe('ActsAmsTestFifthScene', function () { console.info("sleep begin"); sleep(5000); console.info("sleep end"); - var info = await appManager.getProcessRunningInfos(); + let info = await appManager.getProcessRunningInfos(); expect(Array.isArray(info)).assertEqual(true); expect(info.length).assertLarger(0); - for (var i = 0; i < info.length; i++) { + for (let i = 0; i < info.length; i++) { console.info('Acts_Ams_test_0100 getProcessRunningInfo[' + i + "]: " + JSON.stringify(info[i])); expect(typeof (info[i].pid)).assertEqual("number"); expect(info[i].pid).assertLarger(0); @@ -175,14 +175,14 @@ describe('ActsAmsTestFifthScene', function () { */ it('Acts_Ams_test_1100', 0, async function (done) { console.log('Acts_Ams_test_1100 begin'); - var maxnum = 10; - var result = await missionManager.getMissionInfos("", maxnum).catch(err => { + let maxnum = 10; + let result = await missionManager.getMissionInfos("", maxnum).catch(err => { console.log('Acts_Ams_test_1100 getMissionInfos failed: ' + err); }); - for (var i = 0; i < result.length; i++) { + for (let i = 0; i < result.length; i++) { console.info('Acts_Ams_test_1100 getMissionInfos result[' + i + "]: " + JSON.stringify(result[i])); } - var info = await missionManager.moveMissionToFront(result[0].missionId).catch(err => { + let info = await missionManager.moveMissionToFront(result[0].missionId).catch(err => { console.log('Acts_Ams_test_1100 moveMissionToFront failed: ' + err); expect(err).assertEqual(0); }); @@ -196,12 +196,12 @@ describe('ActsAmsTestFifthScene', function () { * @tc.desc : Query Running Ability Mission Infos(by Promise) */ it('Acts_Ams_test_0300', 0, async function (done) { - var maxnum = 10; + let maxnum = 10; await missionManager.getMissionInfos("", maxnum).then(data => { console.info('Acts_Ams_test_0300 getMissionInfos data ' + JSON.stringify(data)); expect(Array.isArray(data)).assertEqual(true); expect(data.length).assertEqual(4); - for (var i = 0; i < data.length; i++) { + for (let i = 0; i < data.length; i++) { console.info('Acts_Ams_test_0300 getMissionInfos data[' + i + "]: " + JSON.stringify(data[i])); expect(typeof (data[i].missionId)).assertEqual("number"); expect(data[i].missionId).assertLarger(0); @@ -224,21 +224,4 @@ describe('ActsAmsTestFifthScene', function () { console.log('Acts_Ams_test_0300 getMissionInfos failed: ' + err); }); }) - - /* - * @tc.number : Acts_Ams_test_1500 - * @tc.name : killProcessesByBundleName : Kill Processes By BundleName - * @tc.desc : Kill Processes By BundleName(by Promise) - */ - it('Acts_Ams_test_1500', 0, async function (done) { - console.info('Acts_test_1500 killProcessesByBundleName data'); - appManager.killProcessesByBundleName('com.ix.simulate.feature').then(data => { - console.log('Acts_test_1500 success: ' + data); - done(); - }).catch(err => { - console.log('Acts_test_1500 failed: ' + err.code); - expect(err.code).assertEqual(2097182); - done(); - }); - }) }) \ No newline at end of file diff --git a/aafwk/aafwk_standard/abilitymanager/actsamstestfirstscene/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/actsamstestfirstscene/entry/src/main/js/default/pages/index/index.js index 590bd0c3b..f470b9c0a 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamstestfirstscene/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamstestfirstscene/entry/src/main/js/default/pages/index/index.js @@ -12,15 +12,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import file from '@system.file' + import {Core, ExpectExtend} from 'deccjsunit/index' const injectRef = Object.getPrototypeOf(global) || global injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') -var once = true +let once = true export default { data: { - title: "" + title: '' }, onInit() { this.title = this.$t('strings.world'); diff --git a/aafwk/aafwk_standard/abilitymanager/actsamstestfirstscene/entry/src/main/js/test/MangerAbilityJsunit.test.js b/aafwk/aafwk_standard/abilitymanager/actsamstestfirstscene/entry/src/main/js/test/MangerAbilityJsunit.test.js index 8fb68c8dd..7c8d01935 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamstestfirstscene/entry/src/main/js/test/MangerAbilityJsunit.test.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamstestfirstscene/entry/src/main/js/test/MangerAbilityJsunit.test.js @@ -169,16 +169,4 @@ describe('ActsAmsTestFirstScene', function () { } done(); }) - - /* - * @tc.number : Acts_Ams_test_1500 - * @tc.name : killProcessesByBundleName : Kill Processes By BundleName - * @tc.desc : Kill Processes By BundleName(by Promise) - */ - it('Acts_Ams_test_1500', 0, async function (done) { - var info = await appManager.killProcessesByBundleName('com.ix.simulate.feature'); - console.info('Acts_Ams_test_1500 killProcessesByBundleName data [' + info + ']'); - expect(info).assertEqual(0); - done(); - }) }) \ No newline at end of file diff --git a/aafwk/aafwk_standard/abilitymanager/actsamstestfourthscene/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/actsamstestfourthscene/entry/src/main/js/default/pages/index/index.js index 590bd0c3b..f470b9c0a 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamstestfourthscene/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamstestfourthscene/entry/src/main/js/default/pages/index/index.js @@ -12,15 +12,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import file from '@system.file' + import {Core, ExpectExtend} from 'deccjsunit/index' const injectRef = Object.getPrototypeOf(global) || global injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') -var once = true +let once = true export default { data: { - title: "" + title: '' }, onInit() { this.title = this.$t('strings.world'); diff --git a/aafwk/aafwk_standard/abilitymanager/actsamstestsecondscene/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/actsamstestsecondscene/entry/src/main/js/default/pages/index/index.js index 590bd0c3b..f470b9c0a 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamstestsecondscene/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamstestsecondscene/entry/src/main/js/default/pages/index/index.js @@ -12,15 +12,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import file from '@system.file' + import {Core, ExpectExtend} from 'deccjsunit/index' const injectRef = Object.getPrototypeOf(global) || global injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') -var once = true +let once = true export default { data: { - title: "" + title: '' }, onInit() { this.title = this.$t('strings.world'); diff --git a/aafwk/aafwk_standard/abilitymanager/actsamstestsecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js b/aafwk/aafwk_standard/abilitymanager/actsamstestsecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js index 0f4e7787d..cb98a278a 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamstestsecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamstestsecondscene/entry/src/main/js/test/MangerAbilityJsunit.test.js @@ -193,20 +193,4 @@ describe('ActsAmsTestSecondScene', function () { } done(); }) - - /* - * @tc.number : Acts_Ams_test_3100 - * @tc.name : killProcessesByBundleName : Kill Processes By BundleName - * @tc.desc : Kill Processes By BundleName(by Promise) - */ - it('Acts_Ams_test_3100', 0, async function (done) { - console.info('Acts_test_3100 killProcessesByBundleName data'); - appManager.killProcessesByBundleName('XXXXXXXXXXXX').then(data => { - console.log('Acts_test_3100 success: ' + data); - }).catch(err => { - console.log('Acts_test_3100 failed: ' + err.code); - expect(err.code).assertEqual(2097215); - done(); - }); - }) }) \ No newline at end of file diff --git a/aafwk/aafwk_standard/abilitymanager/actsamstestthirdscene/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/actsamstestthirdscene/entry/src/main/js/default/pages/index/index.js index 590bd0c3b..f470b9c0a 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamstestthirdscene/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamstestthirdscene/entry/src/main/js/default/pages/index/index.js @@ -12,15 +12,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import file from '@system.file' + import {Core, ExpectExtend} from 'deccjsunit/index' const injectRef = Object.getPrototypeOf(global) || global injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') -var once = true +let once = true export default { data: { - title: "" + title: '' }, onInit() { this.title = this.$t('strings.world'); diff --git a/aafwk/aafwk_standard/abilitymanager/actsamstestthirdscene/entry/src/main/js/test/MangerAbilityJsunit.test.js b/aafwk/aafwk_standard/abilitymanager/actsamstestthirdscene/entry/src/main/js/test/MangerAbilityJsunit.test.js index 7e93f7dcb..87c487a80 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamstestthirdscene/entry/src/main/js/test/MangerAbilityJsunit.test.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamstestthirdscene/entry/src/main/js/test/MangerAbilityJsunit.test.js @@ -195,20 +195,4 @@ describe('ActsAmsTestThirdScene', function () { console.info('Acts_Ams_test_4300 moveMissionToFront data [' + info + ']'); done(); }) - - /* - * @tc.number : Acts_Ams_test_4700 - * @tc.name : killProcessesByBundleName : Kill Processes By BundleName - * @tc.desc : Kill Processes By BundleName(by Promise) - */ - it('Acts_Ams_test_4700', 0, async function (done) { - console.info('Acts_test_4700 killProcessesByBundleName data'); - appManager.killProcessesByBundleName('XXXXXXXX').then(data => { - console.log('Acts_test_4700 success: ' + data); - }).catch(err => { - console.log('Acts_test_4700 failed: ' + err.code); - expect(err.code).assertEqual(2097215); - done(); - }); - }) }) \ No newline at end of file diff --git a/aafwk/aafwk_standard/abilitymanager/clearmissionscallback/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/clearmissionscallback/src/main/js/default/pages/index/index.js index a0ec58541..0ca7c7050 100644 --- a/aafwk/aafwk_standard/abilitymanager/clearmissionscallback/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/clearmissionscallback/src/main/js/default/pages/index/index.js @@ -17,10 +17,10 @@ import {Core, ExpectExtend, ReportExtend} from 'deccjsunit/index' const injectRef = Object.getPrototypeOf(global) || global injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') -var once = true +let once = true export default { data: { - title: "" + title: '' }, onInit() { this.title = this.$t('strings.world'); diff --git a/aafwk/aafwk_standard/abilitymanager/clearmissionspromise/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/clearmissionspromise/src/main/js/default/pages/index/index.js index a0ec58541..0ca7c7050 100644 --- a/aafwk/aafwk_standard/abilitymanager/clearmissionspromise/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/clearmissionspromise/src/main/js/default/pages/index/index.js @@ -17,10 +17,10 @@ import {Core, ExpectExtend, ReportExtend} from 'deccjsunit/index' const injectRef = Object.getPrototypeOf(global) || global injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') -var once = true +let once = true export default { data: { - title: "" + title: '' }, onInit() { this.title = this.$t('strings.world'); diff --git a/aafwk/aafwk_standard/abilitymanager/sceneProject/simulateEAbility/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/sceneProject/simulateEAbility/src/main/js/default/pages/index/index.js index 7acf69de4..f2094c496 100644 --- a/aafwk/aafwk_standard/abilitymanager/sceneProject/simulateEAbility/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/sceneProject/simulateEAbility/src/main/js/default/pages/index/index.js @@ -18,7 +18,7 @@ injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') export default { data: { - title: "" + title: '' }, onInit() { this.title = this.$t('strings.world'); diff --git a/aafwk/aafwk_standard/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/default/pages/index/index.js index 23ac44c8d..4b957b078 100644 --- a/aafwk/aafwk_standard/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/default/pages/index/index.js @@ -17,7 +17,7 @@ injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') export default { data: { - title: "" + title: '' }, onInit() { this.title = this.$t('strings.world'); diff --git a/aafwk/aafwk_standard/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/default/pages/index/index.js index 23ac44c8d..4b957b078 100644 --- a/aafwk/aafwk_standard/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/default/pages/index/index.js @@ -17,7 +17,7 @@ injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') export default { data: { - title: "" + title: '' }, onInit() { this.title = this.$t('strings.world'); diff --git a/aafwk/aafwk_standard/abilitymanager/sceneProject/verifyAAbility/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/sceneProject/verifyAAbility/src/main/js/default/pages/index/index.js index 23ac44c8d..4b957b078 100644 --- a/aafwk/aafwk_standard/abilitymanager/sceneProject/verifyAAbility/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/sceneProject/verifyAAbility/src/main/js/default/pages/index/index.js @@ -17,7 +17,7 @@ injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') export default { data: { - title: "" + title: '' }, onInit() { this.title = this.$t('strings.world'); diff --git a/aafwk/aafwk_standard/abilitymanager/sceneProject/verifyIAbility/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/sceneProject/verifyIAbility/src/main/js/default/pages/index/index.js index 23ac44c8d..4b957b078 100644 --- a/aafwk/aafwk_standard/abilitymanager/sceneProject/verifyIAbility/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/sceneProject/verifyIAbility/src/main/js/default/pages/index/index.js @@ -17,7 +17,7 @@ injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') export default { data: { - title: "" + title: '' }, onInit() { this.title = this.$t('strings.world'); diff --git a/aafwk/aafwk_standard/ActsAbilityDelegatorCaseTest/BUILD.gn b/aafwk/aafwk_standard/actsabilitydelegatorcase/BUILD.gn similarity index 100% rename from aafwk/aafwk_standard/ActsAbilityDelegatorCaseTest/BUILD.gn rename to aafwk/aafwk_standard/actsabilitydelegatorcase/BUILD.gn diff --git a/aafwk/aafwk_standard/ActsAbilityDelegatorCaseTest/Test.json b/aafwk/aafwk_standard/actsabilitydelegatorcase/Test.json similarity index 100% rename from aafwk/aafwk_standard/ActsAbilityDelegatorCaseTest/Test.json rename to aafwk/aafwk_standard/actsabilitydelegatorcase/Test.json diff --git a/aafwk/aafwk_standard/ActsAbilityDelegatorCaseTest/entry/src/main/config.json b/aafwk/aafwk_standard/actsabilitydelegatorcase/entry/src/main/config.json similarity index 100% rename from aafwk/aafwk_standard/ActsAbilityDelegatorCaseTest/entry/src/main/config.json rename to aafwk/aafwk_standard/actsabilitydelegatorcase/entry/src/main/config.json diff --git a/aafwk/aafwk_standard/ActsAbilityDelegatorCaseTest/entry/src/main/js/default/app.js b/aafwk/aafwk_standard/actsabilitydelegatorcase/entry/src/main/js/default/app.js similarity index 100% rename from aafwk/aafwk_standard/ActsAbilityDelegatorCaseTest/entry/src/main/js/default/app.js rename to aafwk/aafwk_standard/actsabilitydelegatorcase/entry/src/main/js/default/app.js diff --git a/aafwk/aafwk_standard/ActsAbilityDelegatorCaseTest/entry/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/actsabilitydelegatorcase/entry/src/main/js/default/i18n/en-US.json similarity index 100% rename from aafwk/aafwk_standard/ActsAbilityDelegatorCaseTest/entry/src/main/js/default/i18n/en-US.json rename to aafwk/aafwk_standard/actsabilitydelegatorcase/entry/src/main/js/default/i18n/en-US.json diff --git a/aafwk/aafwk_standard/ActsAbilityDelegatorCaseTest/entry/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/actsabilitydelegatorcase/entry/src/main/js/default/i18n/zh-CN.json similarity index 100% rename from aafwk/aafwk_standard/ActsAbilityDelegatorCaseTest/entry/src/main/js/default/i18n/zh-CN.json rename to aafwk/aafwk_standard/actsabilitydelegatorcase/entry/src/main/js/default/i18n/zh-CN.json diff --git a/aafwk/aafwk_standard/ActsAbilityDelegatorCaseTest/entry/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/actsabilitydelegatorcase/entry/src/main/js/default/pages/index/index.css similarity index 100% rename from aafwk/aafwk_standard/ActsAbilityDelegatorCaseTest/entry/src/main/js/default/pages/index/index.css rename to aafwk/aafwk_standard/actsabilitydelegatorcase/entry/src/main/js/default/pages/index/index.css diff --git a/aafwk/aafwk_standard/ActsAbilityDelegatorCaseTest/entry/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/actsabilitydelegatorcase/entry/src/main/js/default/pages/index/index.hml similarity index 100% rename from aafwk/aafwk_standard/ActsAbilityDelegatorCaseTest/entry/src/main/js/default/pages/index/index.hml rename to aafwk/aafwk_standard/actsabilitydelegatorcase/entry/src/main/js/default/pages/index/index.hml diff --git a/aafwk/aafwk_standard/ActsAbilityDelegatorCaseTest/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/actsabilitydelegatorcase/entry/src/main/js/default/pages/index/index.js similarity index 100% rename from aafwk/aafwk_standard/ActsAbilityDelegatorCaseTest/entry/src/main/js/default/pages/index/index.js rename to aafwk/aafwk_standard/actsabilitydelegatorcase/entry/src/main/js/default/pages/index/index.js diff --git a/aafwk/aafwk_standard/ActsAbilityDelegatorCaseTest/entry/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/actsabilitydelegatorcase/entry/src/main/js/resources/base/element/string.json similarity index 100% rename from aafwk/aafwk_standard/ActsAbilityDelegatorCaseTest/entry/src/main/js/resources/base/element/string.json rename to aafwk/aafwk_standard/actsabilitydelegatorcase/entry/src/main/js/resources/base/element/string.json diff --git a/aafwk/aafwk_standard/ActsAbilityDelegatorCaseTest/entry/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/actsabilitydelegatorcase/entry/src/main/js/resources/base/media/icon.png similarity index 100% rename from aafwk/aafwk_standard/ActsAbilityDelegatorCaseTest/entry/src/main/js/resources/base/media/icon.png rename to aafwk/aafwk_standard/actsabilitydelegatorcase/entry/src/main/js/resources/base/media/icon.png diff --git a/aafwk/aafwk_standard/ActsAbilityDelegatorCaseTest/entry/src/main/js/test/ActsAbilityDelegatorCaseTest.test.js b/aafwk/aafwk_standard/actsabilitydelegatorcase/entry/src/main/js/test/ActsAbilityDelegatorCaseTest.test.js similarity index 99% rename from aafwk/aafwk_standard/ActsAbilityDelegatorCaseTest/entry/src/main/js/test/ActsAbilityDelegatorCaseTest.test.js rename to aafwk/aafwk_standard/actsabilitydelegatorcase/entry/src/main/js/test/ActsAbilityDelegatorCaseTest.test.js index d44f8aa0e..9a8eb59c1 100644 --- a/aafwk/aafwk_standard/ActsAbilityDelegatorCaseTest/entry/src/main/js/test/ActsAbilityDelegatorCaseTest.test.js +++ b/aafwk/aafwk_standard/actsabilitydelegatorcase/entry/src/main/js/test/ActsAbilityDelegatorCaseTest.test.js @@ -268,7 +268,7 @@ describe('ActsStServiceAbilityTest', function () { done(); } var context = featureAbility.getContext() - var result = context.getDisplayOrientation().then((data) => { + var result = await context.getDisplayOrientation().then((data) => { clearTimeout(currentAlertTimeout); console.debug("ACTS_AGetDisplayOrientation_0200====DisplayOrientation>" + JSON.stringify(DisplayOrientation) + " , err= " + err); diff --git a/aafwk/aafwk_standard/ActsAbilityDelegatorCaseTest/entry/src/main/js/test/List.test.js b/aafwk/aafwk_standard/actsabilitydelegatorcase/entry/src/main/js/test/List.test.js similarity index 100% rename from aafwk/aafwk_standard/ActsAbilityDelegatorCaseTest/entry/src/main/js/test/List.test.js rename to aafwk/aafwk_standard/actsabilitydelegatorcase/entry/src/main/js/test/List.test.js diff --git a/aafwk/aafwk_standard/ActsAbilityDelegatorCaseTest/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/actsabilitydelegatorcase/signature/openharmony_sx.p7b similarity index 100% rename from aafwk/aafwk_standard/ActsAbilityDelegatorCaseTest/signature/openharmony_sx.p7b rename to aafwk/aafwk_standard/actsabilitydelegatorcase/signature/openharmony_sx.p7b diff --git a/aafwk/aafwk_standard/serviceability/sceneProject/particletestserver/BUILD.gn b/aafwk/aafwk_standard/actsabilitydistributetest/BUILD.gn similarity index 70% rename from aafwk/aafwk_standard/serviceability/sceneProject/particletestserver/BUILD.gn rename to aafwk/aafwk_standard/actsabilitydistributetest/BUILD.gn index 1300dff81..b46415340 100644 --- a/aafwk/aafwk_standard/serviceability/sceneProject/particletestserver/BUILD.gn +++ b/aafwk/aafwk_standard/actsabilitydistributetest/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. +# Copyright (c) 2020-2021 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 @@ -10,25 +10,22 @@ # 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_hap("ParticleTestServer") { +ohos_js_hap_suite("ActsAbilityDistributeTest") { hap_profile = "./src/main/config.json" - hap_name = "ParticleTestServer" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true deps = [ ":hjs_demo_js_assets", - ":hjs_demo_resources", + ":hjs_demo_js_resources", ] certificate_profile = "./signature/openharmony_sx.p7b" + hap_name = "ActsAbilityDistributeTest" } ohos_js_assets("hjs_demo_js_assets") { source_dir = "./src/main/js/default" } -ohos_resources("hjs_demo_resources") { - sources = [ "./src/main/js/resources" ] +ohos_resources("hjs_demo_js_resources") { + sources = [ "./src/main/resources" ] hap_profile = "./src/main/config.json" } diff --git a/aafwk/aafwk_standard/fa/fa_statelistener_test/Test.json b/aafwk/aafwk_standard/actsabilitydistributetest/Test.json old mode 100755 new mode 100644 similarity index 100% rename from aafwk/aafwk_standard/fa/fa_statelistener_test/Test.json rename to aafwk/aafwk_standard/actsabilitydistributetest/Test.json diff --git a/aafwk/aafwk_standard/ActsAbilityLifecycleStateNewTest/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/actsabilitydistributetest/signature/openharmony_sx.p7b similarity index 100% rename from aafwk/aafwk_standard/ActsAbilityLifecycleStateNewTest/signature/openharmony_sx.p7b rename to aafwk/aafwk_standard/actsabilitydistributetest/signature/openharmony_sx.p7b diff --git a/aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/src/main/config.json b/aafwk/aafwk_standard/actsabilitydistributetest/src/main/config.json similarity index 89% rename from aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/src/main/config.json rename to aafwk/aafwk_standard/actsabilitydistributetest/src/main/config.json index 14f806d4b..bcfe3d9c9 100644 --- a/aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/src/main/config.json +++ b/aafwk/aafwk_standard/actsabilitydistributetest/src/main/config.json @@ -1,6 +1,6 @@ { "app": { - "bundleName": "com.example.particlestartability", + "bundleName": "com.example.actsabilitydistributetest", "vendor": "example", "version": { "code": 1, @@ -8,13 +8,12 @@ }, "apiVersion": { "compatible": 4, - "target": 5, - "releaseType": "Beta1" + "target": 5 } }, "deviceConfig": {}, "module": { - "package": "com.example.particlestartability", + "package": "com.example.actsabilitydistributetest", "name": ".MyApplication", "deviceType": [ "phone" @@ -26,6 +25,7 @@ }, "abilities": [ { + "visible": true, "skills": [ { "entities": [ @@ -36,8 +36,7 @@ ] } ], - "name": "com.example.particlestartability.MainAbility", - "visible": true, + "name": "com.example.actsabilitydistributetest.MainAbility", "icon": "$media:icon", "description": "$string:mainability_description", "label": "$string:app_name", @@ -80,4 +79,4 @@ } ] } -} \ No newline at end of file +} diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/default/app.js b/aafwk/aafwk_standard/actsabilitydistributetest/src/main/js/default/app.js similarity index 99% rename from aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/default/app.js rename to aafwk/aafwk_standard/actsabilitydistributetest/src/main/js/default/app.js index 4b241cccb..e423f4bce 100644 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/default/app.js +++ b/aafwk/aafwk_standard/actsabilitydistributetest/src/main/js/default/app.js @@ -12,6 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + export default { onCreate() { console.info('AceApplication onCreate'); diff --git a/aafwk/aafwk_standard/actsabilitydistributetest/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/actsabilitydistributetest/src/main/js/default/i18n/en-US.json new file mode 100644 index 000000000..25b4997e5 --- /dev/null +++ b/aafwk/aafwk_standard/actsabilitydistributetest/src/main/js/default/i18n/en-US.json @@ -0,0 +1,6 @@ +{ + "strings": { + "hello": "Hello", + "world": "OpenHarmony" + } +} \ No newline at end of file diff --git a/aafwk/aafwk_standard/actsabilitydistributetest/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/actsabilitydistributetest/src/main/js/default/i18n/zh-CN.json new file mode 100644 index 000000000..b9543e191 --- /dev/null +++ b/aafwk/aafwk_standard/actsabilitydistributetest/src/main/js/default/i18n/zh-CN.json @@ -0,0 +1,6 @@ +{ + "strings": { + "hello": "您好", + "world": "鸿蒙OS" + } +} \ No newline at end of file diff --git a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/actsabilitydistributetest/src/main/js/default/pages/index/index.css similarity index 100% rename from aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/js/default/pages/index/index.css rename to aafwk/aafwk_standard/actsabilitydistributetest/src/main/js/default/pages/index/index.css diff --git a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/actsabilitydistributetest/src/main/js/default/pages/index/index.hml similarity index 100% rename from aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/js/default/pages/index/index.hml rename to aafwk/aafwk_standard/actsabilitydistributetest/src/main/js/default/pages/index/index.hml diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/actsabilitydistributetest/src/main/js/default/pages/index/index.js similarity index 88% rename from aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/default/pages/index/index.js rename to aafwk/aafwk_standard/actsabilitydistributetest/src/main/js/default/pages/index/index.js index c1ff8fdb1..1202d5deb 100644 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/actsabilitydistributetest/src/main/js/default/pages/index/index.js @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Huawei Device Co., Ltd. + * Copyright (C) 2021 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 @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import file from '@system.file' + import {Core, ExpectExtend} from 'deccjsunit/index' const injectRef = Object.getPrototypeOf(global) || global @@ -20,17 +20,16 @@ injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') export default { data: { - title: "" + title: '' }, onInit() { this.title = this.$t('strings.world'); }, onShow() { console.info('onShow finish') - const core = Core.getInstance() const expectExtend = new ExpectExtend({ - 'id': 'extend' + id: 'extend' }) core.addService('expect', expectExtend) core.init() @@ -38,11 +37,10 @@ export default { const configService = core.getDefaultService('config') configService.setConfig(this) - require('../../../test/List.test') + require('../../test/List.test') core.execute() }, onReady() { console.info('onReady'); }, } - diff --git a/aafwk/aafwk_standard/actsabilitydistributetest/src/main/js/default/test/FeatureAbilityDistribute.test.js b/aafwk/aafwk_standard/actsabilitydistributetest/src/main/js/default/test/FeatureAbilityDistribute.test.js new file mode 100644 index 000000000..76b7dddd0 --- /dev/null +++ b/aafwk/aafwk_standard/actsabilitydistributetest/src/main/js/default/test/FeatureAbilityDistribute.test.js @@ -0,0 +1,180 @@ +/* + * Copyright (C) 2021 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. + */ + +// @ts-nocheck +import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index' +import abilityFeatureAbility from '@ohos.ability.featureAbility' + +var timeSleep = 3000; + +describe('DistributedTest', function(){ + function sleep(time) { + return new Promise((resolve) => setTimeout(resolve, time)); + } + + + /** + * @tc.number SUB_AA_OpenHarmony_ContinueAbility_0300 + * @tc.name testContinueAbility0300 + * @tc.desc T + * @tc.size : MEDIUM + * @tc.type : Function + * @tc.level : Level 3 + */ + it('testContinueAbility0300', 0, async function (done) { + console.log('testContinueAbility0300 run start'); + abilityFeatureAbility.continueAbility(undefined, (err, data) => { + console.log('testContinueAbility0300 err is :' + JSON.stringify(err) + ', value is :' + + JSON.stringify(data)); + }) + await sleep(timeSleep); + console.log('testContinueAbility0300 run end'); + done(); + }) + + /** + * @tc.number SUB_AA_OpenHarmony_ContinueAbility_0400 + * @tc.name testContinueAbility0200 + * @tc.desc T + * @tc.size : MEDIUM + * @tc.type : Function + * @tc.level : Level 3 + */ + it('testContinueAbility0400', 0, async function (done) { + console.log('testContinueAbility0400 run start'); + abilityFeatureAbility.continueAbility("", (err, data) => { + console.log('testContinueAbility0400 err is :' + JSON.stringify(err) + ', value is :' + + JSON.stringify(data)); + }) + await sleep(timeSleep); + console.log('testContinueAbility0400 run end'); + done(); + }) + + /** + * @tc.number SUB_AA_OpenHarmony_ContinueAbility_0500 + * @tc.name testContinueAbility0500 + * @tc.desc T + * @tc.size : MEDIUM + * @tc.type : Function + * @tc.level : Level 3 + */ + it('testContinueAbility0500', 0, async function (done) { + let options = { + deviceId : undefined, + reversible : false, + } + console.log('testContinueAbility0500 run start'); + abilityFeatureAbility.continueAbility(options, (err, data) => { + console.log('testContinueAbility0500 err is :' + JSON.stringify(err) + ', value is :' + + JSON.stringify(data)); + }) + await sleep(timeSleep); + console.log('testContinueAbility0500 run end'); + done(); + }) + + /** + * @tc.number SUB_AA_OpenHarmony_ContinueAbility_0600 + * @tc.name testContinueAbility0600 + * @tc.desc T + * @tc.size : MEDIUM + * @tc.type : Function + * @tc.level : Level 3 + */ + it('testContinueAbility0600', 0, async function (done) { + let options = { + deviceId : "", + reversible : false, + } + console.log('testContinueAbility0600 run start'); + abilityFeatureAbility.continueAbility(options, (err, data) => { + console.log('testContinueAbility0600 err is :' + JSON.stringify(err) + ', value is :' + + JSON.stringify(data)); + }) + await sleep(timeSleep); + console.log('testContinueAbility0600 run end'); + done(); + }) + + /** + * @tc.number SUB_AA_OpenHarmony_ContinueAbility_0700 + * @tc.name testContinueAbility0700 + * @tc.desc T + * @tc.size : MEDIUM + * @tc.type : Function + * @tc.level : Level 3 + */ + it('testContinueAbility0700', 0, async function (done) { + let options = { + reversible : false, + } + console.log('testContinueAbility0700 run start'); + abilityFeatureAbility.continueAbility(options, (err, data) => { + console.log('testContinueAbility0700 err is :' + JSON.stringify(err) + ', value is :' + + JSON.stringify(data)); + }) + await sleep(timeSleep); + console.log('testContinueAbility0700 run end'); + done(); + }) + + /** + * @tc.number SUB_AA_OpenHarmony_ContinueAbility_0900 + * @tc.name testContinueAbility0900 + * @tc.desc T + * @tc.size : MEDIUM + * @tc.type : Function + * @tc.level : Level 3 + */ + it('testContinueAbility0900', 0, async function (done) { + let options = { + deviceId : "2BB6F91131F74C1174904195FE72B6068F8F82280F6CE93BDFE0EFF9B37F9DD26", + reversible : false, + } + console.log('testContinueAbility0900 run start'); + abilityFeatureAbility.continueAbility(options, (err, data) => { + console.log('testContinueAbility0900 err is :' + JSON.stringify(err) + ', value is :' + + JSON.stringify(data)); + }) + await sleep(timeSleep); + console.log('testContinueAbility0900 run end'); + done(); + }) + + /** + * @tc.number SUB_AA_OpenHarmony_ContinueAbility_1000 + * @tc.name testContinueAbility0900 + * @tc.desc T + * @tc.size : MEDIUM + * @tc.type : Function + * @tc.level : Level 3 + */ + it('testContinueAbility1000', 0, async function (done) { + let options = { + deviceId : "2BB6F91131F74C1174904195FE72B6068F8F82280F6CE93BDFE0EFF9B37F9DD26", + reversible : false, + } + for(var i = 0; i < 10; i++) { + abilityFeatureAbility.continueAbility(options, (err, data) => { + console.log('testContinueAbility1000 err is :' + JSON.stringify(err) + ', value is :' + + JSON.stringify(data)); + }) + } + await sleep(timeSleep); + console.log('testContinueAbility1000 run end'); + done(); + }) +}) \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/test/List.test.js b/aafwk/aafwk_standard/actsabilitydistributetest/src/main/js/default/test/List.test.js similarity index 92% rename from aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/test/List.test.js rename to aafwk/aafwk_standard/actsabilitydistributetest/src/main/js/default/test/List.test.js index 8e91c8b1d..7c7aad9ad 100644 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/test/List.test.js +++ b/aafwk/aafwk_standard/actsabilitydistributetest/src/main/js/default/test/List.test.js @@ -12,4 +12,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -require('./MultiDataAbilityJsSt.test.js') \ No newline at end of file + +require('./FeatureAbilityDistribute.test.js') + diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/actsabilitydistributetest/src/main/resources/base/element/string.json similarity index 82% rename from aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/resources/base/element/string.json rename to aafwk/aafwk_standard/actsabilitydistributetest/src/main/resources/base/element/string.json index baf5b3c1c..a5239a2b3 100644 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/resources/base/element/string.json +++ b/aafwk/aafwk_standard/actsabilitydistributetest/src/main/resources/base/element/string.json @@ -2,7 +2,7 @@ "string": [ { "name": "app_name", - "value": "STDataAbility" + "value": "StartupJSApiTest" }, { "name": "mainability_description", diff --git a/aafwk/aafwk_standard/ActsAbilityLifecycleStateNewTest/entry/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/actsabilitydistributetest/src/main/resources/base/media/icon.png similarity index 100% rename from aafwk/aafwk_standard/ActsAbilityLifecycleStateNewTest/entry/src/main/js/resources/base/media/icon.png rename to aafwk/aafwk_standard/actsabilitydistributetest/src/main/resources/base/media/icon.png diff --git a/aafwk/aafwk_standard/ActsAbilityLifecycleStateNewTest/BUILD.gn b/aafwk/aafwk_standard/actsabilitylifecyclestatenew/BUILD.gn similarity index 100% rename from aafwk/aafwk_standard/ActsAbilityLifecycleStateNewTest/BUILD.gn rename to aafwk/aafwk_standard/actsabilitylifecyclestatenew/BUILD.gn diff --git a/aafwk/aafwk_standard/ActsAbilityLifecycleStateNewTest/Test.json b/aafwk/aafwk_standard/actsabilitylifecyclestatenew/Test.json similarity index 100% rename from aafwk/aafwk_standard/ActsAbilityLifecycleStateNewTest/Test.json rename to aafwk/aafwk_standard/actsabilitylifecyclestatenew/Test.json diff --git a/aafwk/aafwk_standard/ActsAbilityLifecycleStateNewTest/entry/src/main/config.json b/aafwk/aafwk_standard/actsabilitylifecyclestatenew/entry/src/main/config.json similarity index 100% rename from aafwk/aafwk_standard/ActsAbilityLifecycleStateNewTest/entry/src/main/config.json rename to aafwk/aafwk_standard/actsabilitylifecyclestatenew/entry/src/main/config.json diff --git a/aafwk/aafwk_standard/ActsAbilityLifecycleStateNewTest/entry/src/main/js/default/app.js b/aafwk/aafwk_standard/actsabilitylifecyclestatenew/entry/src/main/js/default/app.js similarity index 100% rename from aafwk/aafwk_standard/ActsAbilityLifecycleStateNewTest/entry/src/main/js/default/app.js rename to aafwk/aafwk_standard/actsabilitylifecyclestatenew/entry/src/main/js/default/app.js diff --git a/aafwk/aafwk_standard/ActsAbilityLifecycleStateNewTest/entry/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/actsabilitylifecyclestatenew/entry/src/main/js/default/i18n/en-US.json similarity index 100% rename from aafwk/aafwk_standard/ActsAbilityLifecycleStateNewTest/entry/src/main/js/default/i18n/en-US.json rename to aafwk/aafwk_standard/actsabilitylifecyclestatenew/entry/src/main/js/default/i18n/en-US.json diff --git a/aafwk/aafwk_standard/ActsAbilityLifecycleStateNewTest/entry/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/actsabilitylifecyclestatenew/entry/src/main/js/default/i18n/zh-CN.json similarity index 100% rename from aafwk/aafwk_standard/ActsAbilityLifecycleStateNewTest/entry/src/main/js/default/i18n/zh-CN.json rename to aafwk/aafwk_standard/actsabilitylifecyclestatenew/entry/src/main/js/default/i18n/zh-CN.json diff --git a/aafwk/aafwk_standard/ActsAbilityLifecycleStateNewTest/entry/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/actsabilitylifecyclestatenew/entry/src/main/js/default/pages/index/index.css similarity index 100% rename from aafwk/aafwk_standard/ActsAbilityLifecycleStateNewTest/entry/src/main/js/default/pages/index/index.css rename to aafwk/aafwk_standard/actsabilitylifecyclestatenew/entry/src/main/js/default/pages/index/index.css diff --git a/aafwk/aafwk_standard/ActsAbilityLifecycleStateNewTest/entry/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/actsabilitylifecyclestatenew/entry/src/main/js/default/pages/index/index.hml similarity index 100% rename from aafwk/aafwk_standard/ActsAbilityLifecycleStateNewTest/entry/src/main/js/default/pages/index/index.hml rename to aafwk/aafwk_standard/actsabilitylifecyclestatenew/entry/src/main/js/default/pages/index/index.hml diff --git a/aafwk/aafwk_standard/ActsAbilityLifecycleStateNewTest/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/actsabilitylifecyclestatenew/entry/src/main/js/default/pages/index/index.js similarity index 100% rename from aafwk/aafwk_standard/ActsAbilityLifecycleStateNewTest/entry/src/main/js/default/pages/index/index.js rename to aafwk/aafwk_standard/actsabilitylifecyclestatenew/entry/src/main/js/default/pages/index/index.js diff --git a/aafwk/aafwk_standard/ActsAbilityLifecycleStateNewTest/entry/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/actsabilitylifecyclestatenew/entry/src/main/js/resources/base/element/string.json similarity index 100% rename from aafwk/aafwk_standard/ActsAbilityLifecycleStateNewTest/entry/src/main/js/resources/base/element/string.json rename to aafwk/aafwk_standard/actsabilitylifecyclestatenew/entry/src/main/js/resources/base/element/string.json diff --git a/aafwk/aafwk_standard/ActsDataAbilityJsTest/entry/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/actsabilitylifecyclestatenew/entry/src/main/js/resources/base/media/icon.png similarity index 100% rename from aafwk/aafwk_standard/ActsDataAbilityJsTest/entry/src/main/js/resources/base/media/icon.png rename to aafwk/aafwk_standard/actsabilitylifecyclestatenew/entry/src/main/js/resources/base/media/icon.png diff --git a/aafwk/aafwk_standard/ActsAbilityLifecycleStateNewTest/entry/src/main/js/test/ActsAbilityLifecycleStateNewTest.test.js b/aafwk/aafwk_standard/actsabilitylifecyclestatenew/entry/src/main/js/test/ActsAbilityLifecycleStateNewTest.test.js similarity index 100% rename from aafwk/aafwk_standard/ActsAbilityLifecycleStateNewTest/entry/src/main/js/test/ActsAbilityLifecycleStateNewTest.test.js rename to aafwk/aafwk_standard/actsabilitylifecyclestatenew/entry/src/main/js/test/ActsAbilityLifecycleStateNewTest.test.js diff --git a/aafwk/aafwk_standard/ActsAbilityLifecycleStateNewTest/entry/src/main/js/test/List.test.js b/aafwk/aafwk_standard/actsabilitylifecyclestatenew/entry/src/main/js/test/List.test.js similarity index 100% rename from aafwk/aafwk_standard/ActsAbilityLifecycleStateNewTest/entry/src/main/js/test/List.test.js rename to aafwk/aafwk_standard/actsabilitylifecyclestatenew/entry/src/main/js/test/List.test.js diff --git a/aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/actsabilitylifecyclestatenew/signature/openharmony_sx.p7b similarity index 100% rename from aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/signature/openharmony_sx.p7b rename to aafwk/aafwk_standard/actsabilitylifecyclestatenew/signature/openharmony_sx.p7b diff --git a/aafwk/aafwk_standard/actsabilitymanageretstest/entry/src/main/ets/MainAbility/pages/index.ets b/aafwk/aafwk_standard/actsabilitymanageretstest/entry/src/main/ets/MainAbility/pages/index.ets index 3b15bb026..51ecade02 100644 --- a/aafwk/aafwk_standard/actsabilitymanageretstest/entry/src/main/ets/MainAbility/pages/index.ets +++ b/aafwk/aafwk_standard/actsabilitymanageretstest/entry/src/main/ets/MainAbility/pages/index.ets @@ -12,161 +12,47 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +import testsuite2 from "../test/List.test.ets"; import file from '@system.file'; import {Core, ExpectExtend, ReportExtend} from "deccjsunit/index.ets"; -import testsuite from "../test/List.test.ets"; -import featureAbility from "@ohos.ability.featureAbility"; - -async function startService2() { - var str = { - "want": { - "bundleName": "com.ohos.acecollaboration", - "abilityName": "com.ohos.acecollaboration.ServiceAbility2", - }, - }; - var data = featureAbility.startAbility(str); - console.info('particleAbility_connectAbility_test_0100 startAbility succeeded: ' + JSON.stringify(data)); -} -async function startService3() { - var str = { - "want": { - "bundleName": "com.ohos.acecollaboration", - "abilityName": "com.ohos.acecollaboration.ServiceAbility3", - }, - }; - var data = featureAbility.startAbility(str); - console.info('particleAbility_connectAbility_test_0200 startAbility succeeded: ' + JSON.stringify(data)); -} -async function startService4() { - var str = { - "want": { - "bundleName": "com.ohos.acecollaboration", - "abilityName": "com.ohos.acecollaboration.ServiceAbility4", - }, - }; - var data = featureAbility.startAbility(str); - console.info('particleAbility_connectAbility_test_0300 startAbility succeeded: ' + JSON.stringify(data)); -} -async function startService5() { - var str = { - "want": { - "bundleName": "com.ohos.acecollaboration", - "abilityName": "com.ohos.acecollaboration.ServiceAbility5", - }, - }; - var data = featureAbility.startAbility(str); - console.info('particleAbility_connectAbility_test_0400 startAbility succeeded: ' + JSON.stringify(data)); -} -async function startService6(){ - var str = { - "want": { - "bundleName": "com.ohos.acecollaboration", - "abilityName": "com.ohos.acecollaboration.ServiceAbility6", - }, - }; - var data = featureAbility.startAbility(str); - console.info('particleAbility_connectAbility_test_0500 startAbility succeeded: ' + JSON.stringify(data)); -} -async function startService7(){ - var str = { - "want": { - "bundleName": "com.ohos.acecollaboration", - "abilityName": "com.ohos.acecollaboration.ServiceAbility7", - }, - }; - var data = featureAbility.startAbility(str); - console.info('particleAbility_connectAbility_test_0600 startAbility succeeded: ' + JSON.stringify(data)); -} @Entry @Component struct MyComponent { aboutToAppear() { - console.info("start run testcase!!!!") - featureAbility.getWant() - .then((Want) => { - const core = Core.getInstance(); - const expectExtend = new ExpectExtend({ - 'id': 'extend' - }); - core.addService('expect', expectExtend); - const reportExtend = new ReportExtend(file); - core.addService('report', reportExtend); - core.init(); - core.subscribeEvent('task', reportExtend); - const configService = core.getDefaultService('config'); - console.info('parameters---->' + JSON.stringify(Want.parameters)); - configService.setConfig(Want.parameters); - testsuite(); - core.execute(); - console.info('Operation successful. Data: ' + JSON.stringify(Want)); - }) - .catch((error) => { - console.error('Operation failed. Cause: ' + JSON.stringify(error)); - }) + console.info("start run testcase2!!!!") + const core = Core.getInstance(); + const expectExtend = new ExpectExtend({ + 'id': 'extend' + }); + core.addService('expect', expectExtend); + const reportExtend = new ReportExtend(file); + core.addService('report', reportExtend); + core.init(); + core.subscribeEvent('task', reportExtend); + const configService = core.getDefaultService('config'); + configService.setConfig(this) + testsuite2(); + core.execute(); } build() { - Flex({ - direction: FlexDirection.Column, - alignItems: ItemAlign.Center, - justifyContent: FlexAlign.Center - }) { - Text('ACE ETS TEST 组件协同') + Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { + Text('Hello World') .fontSize(50) .fontWeight(FontWeight.Bold) - Button('disconnectAbility_promise') - .fontSize(40) - .height(40) - .margin({ top: 20 }) - .fontWeight(FontWeight.Bold) - .onClick(() => { - startService2(); - }); - Button('disconnectAbility_callback') - .fontSize(40) - .height(40) - .margin({ top: 20 }) - .fontWeight(FontWeight.Bold) - .onClick(() => { - startService3(); - }); - Button('connectotherAbility') - .fontSize(40) - .height(40) - .margin({ top: 20 }) - .fontWeight(FontWeight.Bold) - .onClick(() => { - startService4(); - }); - Button('connectnull') - .fontSize(40) - .height(40) - .margin({ top: 20 }) - .fontWeight(FontWeight.Bold) - .onClick(() => { - startService5(); - }); - Button('connecterror') - .fontSize(40) - .height(40) - .margin({top:20}) - .fontWeight(FontWeight.Bold) - .onClick(() => { - startService6(); - }); - Button('connectAPI8') - .fontSize(40) - .height(40) - .margin({top:20}) - .fontWeight(FontWeight.Bold) - .onClick(() => { - startService7(); - }); - + Button() { + Text('next page') + .fontSize(25) + .fontWeight(FontWeight.Bold) + }.type(ButtonType.Capsule) + .margin({ + top: 20 + }) + .backgroundColor('#0D9FFB') } .width('100%') .height('100%') } -} - +} \ No newline at end of file diff --git a/aafwk/aafwk_standard/actsabilitymanageretstest/entry/src/main/ets/MainAbility/test/addContextAndAbilityJsunit.test.ets b/aafwk/aafwk_standard/actsabilitymanageretstest/entry/src/main/ets/MainAbility/test/addContextAndAbilityJsunit.test.ets index 1aab04acc..4ac7809b9 100644 --- a/aafwk/aafwk_standard/actsabilitymanageretstest/entry/src/main/ets/MainAbility/test/addContextAndAbilityJsunit.test.ets +++ b/aafwk/aafwk_standard/actsabilitymanageretstest/entry/src/main/ets/MainAbility/test/addContextAndAbilityJsunit.test.ets @@ -15,6 +15,7 @@ import {describe, it, expect} from "deccjsunit/index.ets"; import Utils from './Utils'; import ability_featureAbility from '@ohos.ability.featureAbility'; +import ability_particleAbility from '@ohos.ability.particleAbility'; import abilityManager from "@ohos.app.abilitymanager" const TAG_TEST_0100 = ' context_isUpdatingConfigurations_test_0100 '; diff --git a/aafwk/aafwk_standard/actsabilitymanageretstest/entry/src/main/ets/MainAbility2/pages/index.ets b/aafwk/aafwk_standard/actsabilitymanageretstest/entry/src/main/ets/MainAbility2/pages/index.ets index e90a861b0..5fd176012 100644 --- a/aafwk/aafwk_standard/actsabilitymanageretstest/entry/src/main/ets/MainAbility2/pages/index.ets +++ b/aafwk/aafwk_standard/actsabilitymanageretstest/entry/src/main/ets/MainAbility2/pages/index.ets @@ -22,27 +22,19 @@ import {Core, ExpectExtend, ReportExtend} from "deccjsunit/index.ets"; struct MyComponent { aboutToAppear() { console.info("start run testcase2!!!!") - featureAbility.getWant() - .then((Want) => { - const core = Core.getInstance(); - const expectExtend = new ExpectExtend({ - 'id': 'extend' - }); - core.addService('expect', expectExtend); - const reportExtend = new ReportExtend(file); - core.addService('report', reportExtend); - core.init(); - core.subscribeEvent('task', reportExtend); - const configService = core.getDefaultService('config'); - console.info('parameters2---->' + JSON.stringify(Want.parameters)); - configService.setConfig(Want.parameters); - testsuite2(); - core.execute(); - console.info('Operation successful2. Data: ' + JSON.stringify(Want)); - }) - .catch((error) => { - console.error('Operation failed2. Cause: ' + JSON.stringify(error)); - }) + const core = Core.getInstance(); + const expectExtend = new ExpectExtend({ + 'id': 'extend' + }); + core.addService('expect', expectExtend); + const reportExtend = new ReportExtend(file); + core.addService('report', reportExtend); + core.init(); + core.subscribeEvent('task', reportExtend); + const configService = core.getDefaultService('config'); + configService.setConfig(this) + testsuite2(); + core.execute(); } build() { diff --git a/aafwk/aafwk_standard/actsabilitymanageretstest/myapplication1/src/main/ets/MainAbility/pages/index.ets b/aafwk/aafwk_standard/actsabilitymanageretstest/myapplication1/src/main/ets/MainAbility/pages/index.ets index d39e37aa6..8e4b3ecd5 100644 --- a/aafwk/aafwk_standard/actsabilitymanageretstest/myapplication1/src/main/ets/MainAbility/pages/index.ets +++ b/aafwk/aafwk_standard/actsabilitymanageretstest/myapplication1/src/main/ets/MainAbility/pages/index.ets @@ -23,27 +23,19 @@ import featureAbility from "@ohos.ability.featureAbility"; struct Index { aboutToAppear() { console.info("start run testcase!!!!") - featureAbility.getWant() - .then((Want) => { - const core = Core.getInstance(); - const expectExtend = new ExpectExtend({ - 'id': 'extend' - }); - core.addService('expect', expectExtend); - const reportExtend = new ReportExtend(file); - core.addService('report', reportExtend); - core.init(); - core.subscribeEvent('task', reportExtend); - const configService = core.getDefaultService('config'); - console.info('parameters---->' + JSON.stringify(Want.parameters)); - configService.setConfig(Want.parameters); - testsuite_app1(); - core.execute(); - console.info('Operation successful. Data: ' + JSON.stringify(Want)); - }) - .catch((error) => { - console.error('Operation failed. Cause: ' + JSON.stringify(error)); - }) + const core = Core.getInstance(); + const expectExtend = new ExpectExtend({ + 'id': 'extend' + }); + core.addService('expect', expectExtend); + const reportExtend = new ReportExtend(file); + core.addService('report', reportExtend); + core.init(); + core.subscribeEvent('task', reportExtend); + const configService = core.getDefaultService('config'); + configService.setConfig(this) + testsuite_app1(); + core.execute(); } build() { Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { diff --git a/aafwk/aafwk_standard/ActsDataAbilityJsTest/BUILD.gn b/aafwk/aafwk_standard/actsdataabilityjs/BUILD.gn similarity index 100% rename from aafwk/aafwk_standard/ActsDataAbilityJsTest/BUILD.gn rename to aafwk/aafwk_standard/actsdataabilityjs/BUILD.gn diff --git a/aafwk/aafwk_standard/ActsDataAbilityJsTest/Test.json b/aafwk/aafwk_standard/actsdataabilityjs/Test.json similarity index 100% rename from aafwk/aafwk_standard/ActsDataAbilityJsTest/Test.json rename to aafwk/aafwk_standard/actsdataabilityjs/Test.json diff --git a/aafwk/aafwk_standard/ActsDataAbilityJsTest/entry/src/main/config.json b/aafwk/aafwk_standard/actsdataabilityjs/entry/src/main/config.json similarity index 100% rename from aafwk/aafwk_standard/ActsDataAbilityJsTest/entry/src/main/config.json rename to aafwk/aafwk_standard/actsdataabilityjs/entry/src/main/config.json diff --git a/aafwk/aafwk_standard/ActsDataAbilityJsTest/entry/src/main/js/default/app.js b/aafwk/aafwk_standard/actsdataabilityjs/entry/src/main/js/default/app.js similarity index 100% rename from aafwk/aafwk_standard/ActsDataAbilityJsTest/entry/src/main/js/default/app.js rename to aafwk/aafwk_standard/actsdataabilityjs/entry/src/main/js/default/app.js diff --git a/aafwk/aafwk_standard/ActsDataAbilityJsTest/entry/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/actsdataabilityjs/entry/src/main/js/default/i18n/en-US.json similarity index 100% rename from aafwk/aafwk_standard/ActsDataAbilityJsTest/entry/src/main/js/default/i18n/en-US.json rename to aafwk/aafwk_standard/actsdataabilityjs/entry/src/main/js/default/i18n/en-US.json diff --git a/aafwk/aafwk_standard/ActsDataAbilityJsTest/entry/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/actsdataabilityjs/entry/src/main/js/default/i18n/zh-CN.json similarity index 100% rename from aafwk/aafwk_standard/ActsDataAbilityJsTest/entry/src/main/js/default/i18n/zh-CN.json rename to aafwk/aafwk_standard/actsdataabilityjs/entry/src/main/js/default/i18n/zh-CN.json diff --git a/aafwk/aafwk_standard/ActsDataAbilityJsTest/entry/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/actsdataabilityjs/entry/src/main/js/default/pages/index/index.css similarity index 100% rename from aafwk/aafwk_standard/ActsDataAbilityJsTest/entry/src/main/js/default/pages/index/index.css rename to aafwk/aafwk_standard/actsdataabilityjs/entry/src/main/js/default/pages/index/index.css diff --git a/aafwk/aafwk_standard/ActsDataAbilityJsTest/entry/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/actsdataabilityjs/entry/src/main/js/default/pages/index/index.hml similarity index 100% rename from aafwk/aafwk_standard/ActsDataAbilityJsTest/entry/src/main/js/default/pages/index/index.hml rename to aafwk/aafwk_standard/actsdataabilityjs/entry/src/main/js/default/pages/index/index.hml diff --git a/aafwk/aafwk_standard/ActsDataAbilityJsTest/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/actsdataabilityjs/entry/src/main/js/default/pages/index/index.js similarity index 100% rename from aafwk/aafwk_standard/ActsDataAbilityJsTest/entry/src/main/js/default/pages/index/index.js rename to aafwk/aafwk_standard/actsdataabilityjs/entry/src/main/js/default/pages/index/index.js diff --git a/aafwk/aafwk_standard/ActsDataAbilityJsTest/entry/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/actsdataabilityjs/entry/src/main/js/resources/base/element/string.json similarity index 100% rename from aafwk/aafwk_standard/ActsDataAbilityJsTest/entry/src/main/js/resources/base/element/string.json rename to aafwk/aafwk_standard/actsdataabilityjs/entry/src/main/js/resources/base/element/string.json diff --git a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/actsdataabilityjs/entry/src/main/js/resources/base/media/icon.png similarity index 100% rename from aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/resources/base/media/icon.png rename to aafwk/aafwk_standard/actsdataabilityjs/entry/src/main/js/resources/base/media/icon.png diff --git a/aafwk/aafwk_standard/ActsDataAbilityJsTest/entry/src/main/js/test/ActsDataAbilityJsTest.test.js b/aafwk/aafwk_standard/actsdataabilityjs/entry/src/main/js/test/ActsDataAbilityJsTest.test.js similarity index 99% rename from aafwk/aafwk_standard/ActsDataAbilityJsTest/entry/src/main/js/test/ActsDataAbilityJsTest.test.js rename to aafwk/aafwk_standard/actsdataabilityjs/entry/src/main/js/test/ActsDataAbilityJsTest.test.js index a8d8b5ea8..9f6241a45 100644 --- a/aafwk/aafwk_standard/ActsDataAbilityJsTest/entry/src/main/js/test/ActsDataAbilityJsTest.test.js +++ b/aafwk/aafwk_standard/actsdataabilityjs/entry/src/main/js/test/ActsDataAbilityJsTest.test.js @@ -727,7 +727,7 @@ it('ACTS_ARelease_0100', 0, async function (done) { it("ACTS_Call_0100", 0, async function (done) { console.log('ACTS_Call_0100 start......'); var pacMap = { - 'group_name': 'test1', + 'groupName': 'test1', 'ringtone_modify_time': 28 }; var rDAHelper @@ -735,7 +735,7 @@ it("ACTS_Call_0100", 0, async function (done) { rDAHelper = featureAbility.acquireDataAbilityHelper(dataAbilityUri); console.debug('ACTS_AbeforeAll rDAHelper ====>: ' + rDAHelper + " ,JSON. " + JSON.stringify(rDAHelper)); expect(typeof (rDAHelper)).assertEqual("object"); - pacMap.group_name = 'test2'; + pacMap.groupName = 'test2'; rDAHelper.call(dataAbilityUri, 'insert', '', pacMap).then((data) => { console.info('ACTS_Call_0100 succeeded data: ' + JSON.stringify(data)); }).catch((error) => { @@ -759,10 +759,10 @@ it("ACTS_Call_0100", 0, async function (done) { */ it("ACTS_Call_0200", 0, async function (done) { console.log('ACTS_Call_0200 start......'); - var arg = "{\"equalTo\": \"group_name\"}"; + var arg = "{\"equalTo\": \"groupName\"}"; var pacMap = { - "group_name": "test1", - "columns": "group_name,ringtone_modify_time" + "groupName": "test1", + "columns": "groupName,ringtone_modify_time" }; var rDAHelper try { @@ -794,7 +794,7 @@ it("ACTS_Call_0300", 0, async function (done) { var arg = "{\"equalTo\": \"ringtone_modify_time\"}"; var pacMap = { 'ringtone_modify_time': 28, - 'group_name': 'testupdata1' + 'groupName': 'testupdata1' }; var rDAHelper try { diff --git a/aafwk/aafwk_standard/ActsDataAbilityJsTest/entry/src/main/js/test/List.test.js b/aafwk/aafwk_standard/actsdataabilityjs/entry/src/main/js/test/List.test.js similarity index 100% rename from aafwk/aafwk_standard/ActsDataAbilityJsTest/entry/src/main/js/test/List.test.js rename to aafwk/aafwk_standard/actsdataabilityjs/entry/src/main/js/test/List.test.js diff --git a/aafwk/aafwk_standard/ActsDataAbilityJsTest/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/actsdataabilityjs/signature/openharmony_sx.p7b old mode 100755 new mode 100644 similarity index 100% rename from aafwk/aafwk_standard/ActsDataAbilityJsTest/signature/openharmony_sx.p7b rename to aafwk/aafwk_standard/actsdataabilityjs/signature/openharmony_sx.p7b diff --git a/aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/BUILD.gn b/aafwk/aafwk_standard/actsstserviceabilityclientcase/BUILD.gn similarity index 100% rename from aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/BUILD.gn rename to aafwk/aafwk_standard/actsstserviceabilityclientcase/BUILD.gn diff --git a/aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/Test.json b/aafwk/aafwk_standard/actsstserviceabilityclientcase/Test.json similarity index 100% rename from aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/Test.json rename to aafwk/aafwk_standard/actsstserviceabilityclientcase/Test.json diff --git a/aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/entry/src/main/config.json b/aafwk/aafwk_standard/actsstserviceabilityclientcase/entry/src/main/config.json similarity index 100% rename from aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/entry/src/main/config.json rename to aafwk/aafwk_standard/actsstserviceabilityclientcase/entry/src/main/config.json diff --git a/aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/entry/src/main/js/default/app.js b/aafwk/aafwk_standard/actsstserviceabilityclientcase/entry/src/main/js/default/app.js similarity index 100% rename from aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/entry/src/main/js/default/app.js rename to aafwk/aafwk_standard/actsstserviceabilityclientcase/entry/src/main/js/default/app.js diff --git a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/actsstserviceabilityclientcase/entry/src/main/js/default/i18n/en-US.json similarity index 100% rename from aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/default/i18n/en-US.json rename to aafwk/aafwk_standard/actsstserviceabilityclientcase/entry/src/main/js/default/i18n/en-US.json diff --git a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/actsstserviceabilityclientcase/entry/src/main/js/default/i18n/zh-CN.json similarity index 100% rename from aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountApi7Test/entry/src/main/js/default/i18n/zh-CN.json rename to aafwk/aafwk_standard/actsstserviceabilityclientcase/entry/src/main/js/default/i18n/zh-CN.json diff --git a/aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/entry/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/actsstserviceabilityclientcase/entry/src/main/js/default/pages/index/index.css similarity index 100% rename from aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/entry/src/main/js/default/pages/index/index.css rename to aafwk/aafwk_standard/actsstserviceabilityclientcase/entry/src/main/js/default/pages/index/index.css diff --git a/aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/entry/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/actsstserviceabilityclientcase/entry/src/main/js/default/pages/index/index.hml similarity index 100% rename from aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/entry/src/main/js/default/pages/index/index.hml rename to aafwk/aafwk_standard/actsstserviceabilityclientcase/entry/src/main/js/default/pages/index/index.hml diff --git a/aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/actsstserviceabilityclientcase/entry/src/main/js/default/pages/index/index.js similarity index 100% rename from aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/entry/src/main/js/default/pages/index/index.js rename to aafwk/aafwk_standard/actsstserviceabilityclientcase/entry/src/main/js/default/pages/index/index.js diff --git a/aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/entry/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/actsstserviceabilityclientcase/entry/src/main/js/resources/base/element/string.json similarity index 100% rename from aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/entry/src/main/js/resources/base/element/string.json rename to aafwk/aafwk_standard/actsstserviceabilityclientcase/entry/src/main/js/resources/base/element/string.json diff --git a/aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/actsstserviceabilityclientcase/entry/src/main/js/resources/base/media/icon.png similarity index 100% rename from aafwk/aafwk_standard/ActsKillProcessWithAccountApi7/ActsKillProcessWithAccountCloseApi7/src/main/js/resources/base/media/icon.png rename to aafwk/aafwk_standard/actsstserviceabilityclientcase/entry/src/main/js/resources/base/media/icon.png diff --git a/aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/entry/src/main/js/test/ActsStServiceAbilityClientCaseTest.test.js b/aafwk/aafwk_standard/actsstserviceabilityclientcase/entry/src/main/js/test/ActsStServiceAbilityClientCaseTest.test.js similarity index 100% rename from aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/entry/src/main/js/test/ActsStServiceAbilityClientCaseTest.test.js rename to aafwk/aafwk_standard/actsstserviceabilityclientcase/entry/src/main/js/test/ActsStServiceAbilityClientCaseTest.test.js diff --git a/aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/entry/src/main/js/test/List.test.js b/aafwk/aafwk_standard/actsstserviceabilityclientcase/entry/src/main/js/test/List.test.js similarity index 100% rename from aafwk/aafwk_standard/ActsStServiceAbilityClientCaseTest/entry/src/main/js/test/List.test.js rename to aafwk/aafwk_standard/actsstserviceabilityclientcase/entry/src/main/js/test/List.test.js diff --git a/aafwk/aafwk_standard/fa/fa_statelistener_test/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/actsstserviceabilityclientcase/signature/openharmony_sx.p7b old mode 100755 new mode 100644 similarity index 100% rename from aafwk/aafwk_standard/fa/fa_statelistener_test/signature/openharmony_sx.p7b rename to aafwk/aafwk_standard/actsstserviceabilityclientcase/signature/openharmony_sx.p7b diff --git a/aafwk/aafwk_standard/amsabilitymanager/amsMissionSnapshotTest/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/amsabilitymanager/amsMissionSnapshotTest/entry/src/main/js/default/pages/index/index.js index 42033ba07..f69872bd9 100644 --- a/aafwk/aafwk_standard/amsabilitymanager/amsMissionSnapshotTest/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/amsabilitymanager/amsMissionSnapshotTest/entry/src/main/js/default/pages/index/index.js @@ -12,13 +12,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + import file from '@system.file' -import app from '@system.app' import {Core, ExpectExtend, ReportExtend} from 'deccjsunit/index' export default { data: { - title: "" + title: '' }, onInit() { this.title = this.$t('strings.world'); @@ -27,7 +27,7 @@ export default { console.info('====onShow finish====<') const core = Core.getInstance() const expectExtend = new ExpectExtend({ - 'id': 'extend' + id: 'extend' }) const reportExtend = new ReportExtend(file) core.addService('expect', expectExtend) diff --git a/aafwk/aafwk_standard/amsabilitymanager/amsMissionSnapshotTestSingleton/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/amsabilitymanager/amsMissionSnapshotTestSingleton/entry/src/main/js/default/pages/index/index.js index fdea7b5a4..22264b70a 100644 --- a/aafwk/aafwk_standard/amsabilitymanager/amsMissionSnapshotTestSingleton/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/amsabilitymanager/amsMissionSnapshotTestSingleton/entry/src/main/js/default/pages/index/index.js @@ -15,7 +15,7 @@ import commonEvent from '@ohos.commonEvent' export default { data: { - title: "" + title: '' }, onInit() { this.title = this.$t('strings.world'); diff --git a/aafwk/aafwk_standard/amsabilitymanager/amsMissionSnapshotTestSingletonS/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/amsabilitymanager/amsMissionSnapshotTestSingletonS/entry/src/main/js/default/pages/index/index.js index 1e2efcc97..a2aac5635 100644 --- a/aafwk/aafwk_standard/amsabilitymanager/amsMissionSnapshotTestSingletonS/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/amsabilitymanager/amsMissionSnapshotTestSingletonS/entry/src/main/js/default/pages/index/index.js @@ -15,7 +15,7 @@ import commonEvent from '@ohos.commonEvent' export default { data: { - title: "" + title: '' }, onInit() { this.title = this.$t('strings.world'); diff --git a/aafwk/aafwk_standard/amsdatauriutils/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/amsdatauriutils/entry/src/main/js/default/pages/index/index.js index 4bfa4f7e4..efc8c58f3 100644 --- a/aafwk/aafwk_standard/amsdatauriutils/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/amsdatauriutils/entry/src/main/js/default/pages/index/index.js @@ -12,13 +12,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + import file from '@system.file' -import app from '@system.app' import {Core, ExpectExtend, ReportExtend} from 'deccjsunit/index' export default { data: { - title: "" + title: '' }, onInit() { this.title = this.$t('strings.world'); @@ -27,7 +27,7 @@ export default { console.info('====onShow finish====<') const core = Core.getInstance() const expectExtend = new ExpectExtend({ - 'id': 'extend' + id: 'extend' }) const reportExtend = new ReportExtend(file) core.addService('expect', expectExtend) diff --git a/aafwk/aafwk_standard/amsgetabilityprocessinfo/actsgetabilityprocessinfotest/entry/src/main/js/test/ActsProcessManageJsTest.test.js b/aafwk/aafwk_standard/amsgetabilityprocessinfo/actsgetabilityprocessinfotest/entry/src/main/js/test/ActsProcessManageJsTest.test.js index 12c844f46..fbee3beb2 100644 --- a/aafwk/aafwk_standard/amsgetabilityprocessinfo/actsgetabilityprocessinfotest/entry/src/main/js/test/ActsProcessManageJsTest.test.js +++ b/aafwk/aafwk_standard/amsgetabilityprocessinfo/actsgetabilityprocessinfotest/entry/src/main/js/test/ActsProcessManageJsTest.test.js @@ -14,11 +14,7 @@ */ import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "deccjsunit/index" -import commonEvent from '@ohos.commonevent' -import bundle from '@ohos.bundle' -import missionManager from '@ohos.application.missionManager' import abilityManager from '@ohos.application.AbilityManager' -import featureAbility from '@ohos.ability.featureAbility' import appManager from '@ohos.application.AppManager' describe('ActsAbilityRunningInfosTest', function () { @@ -34,12 +30,6 @@ describe('ActsAbilityRunningInfosTest', function () { expect(dataInfo[i].pid).assertLarger(500); expect(dataInfo[i].startTime).assertLarger(3000); expect(dataInfo[i].abilityState).assertLarger(0); - expect(dataInfo[i].abilityState==abilityManager.AbilityState.FOREGROUND || - dataInfo[i].abilityState==abilityManager.AbilityState.BACKGROUNDING - || (dataInfo[i].abilityState!=abilityManager.AbilityState.INITIAL - ) || (dataInfo[i].abilityState!=abilityManager.AbilityState.FOREGROUNDING - ) || (dataInfo[i].abilityState!=abilityManager.AbilityState.BACKGROUNDING - )).assertTrue(); return true; } } @@ -58,36 +48,7 @@ describe('ActsAbilityRunningInfosTest', function () { } /* - * @tc.number: ACTS_getAbilityRunningInfos_0100 - * @tc.name: Application running ability information query - * @tc.desc: Verify applications are started to query getAbilityRunningInfos ability information - * (by promise) - */ - it('ACTS_getAbilityRunningInfos_0100', 0, async function (done) { - console.log('ACTS_getAbilityRunningInfos_0100==== ACTS_getAbilityRunningInfos_0100 ====>' + JSON.stringify(data)) - expect(checkRunningAbility('com.ohos.launcher.MainAbility', data)).assertTrue(); - done(); - }) - - /* - * @tc.number: ACTS_getAbilityRunningInfos_0200 - * @tc.name: Application running ability information query - * @tc.desc: Verify applications are started to query getAbilityRunningInfos ability information - * (by callback) - */ - it('ACTS_getAbilityRunningInfos_0200', 0, async function (done) { - console.log('ACTS_getAbilityRunningInfos_0200===={ - console.info('====> ACTS_getAbilityRunningInfos_0200 ====>' + JSON.stringify(data)) - expect(checkRunningAbility('com.ohos.launcher.MainAbility', data)).assertTrue(); - done(); - }) - }) - - /* - * @tc.number: ACTS_getAbilityRunningInfos_0100 + * @tc.number: ACTS_getProcessRunningInfos_0100 * @tc.name: Application running ability information query * @tc.desc: Verify applications are started to query getProcessRunningInfos ability information * (by promise) diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/BUILD.gn b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/BUILD.gn deleted file mode 100644 index 5634310dd..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/BUILD.gn +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright (c) 2021 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("ActsAmsMultiPageApp") { - hap_profile = "./entry/src/main/config.json" - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" - hap_name = "ActsAmsMultiPageApp" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./entry/src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./entry/src/main/js/resources" ] - hap_profile = "./entry/src/main/config.json" -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/Test.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/Test.json deleted file mode 100644 index 3ec911dfc..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/Test.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "description": "Configuration for hjunit demo Tests" -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/config.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/config.json deleted file mode 100644 index af8609290..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/config.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "app": { - "bundleName": "com.example.actsamsmultipageapp", - "vendor": "example", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.example.actsamsmultipageapp", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry", - "installationFree": true - }, - "abilities": [ - { - "visible": true, - "name": "com.example.actsamsmultipageapp.MainAbility", - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "isVisible": "true", - "launchType": "singleton" - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/default/app.js b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/default/app.js deleted file mode 100644 index c15844220..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 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('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d97..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/default/pages/index/index.css deleted file mode 100644 index a6053c61f..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) 2021 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. - */ - -.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; -} -.btn { - width: 50%; - height: 100px; - font-size: 40px; -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 61ea59d93..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,21 +0,0 @@ - - -
- - {{ $t('strings.hello') }} {{title}} - - -
diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/default/pages/index/index.js deleted file mode 100644 index c1ff8fdb1..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (c) 2021 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 file from '@system.file' -import {Core, ExpectExtend} from 'deccjsunit/index' - -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') - - const core = Core.getInstance() - const expectExtend = new ExpectExtend({ - 'id': 'extend' - }) - core.addService('expect', expectExtend) - core.init() - - const configService = core.getDefaultService('config') - configService.setConfig(this) - - require('../../../test/List.test') - core.execute() - }, - onReady() { - console.info('onReady'); - }, -} - diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/resources/base/element/string.json deleted file mode 100644 index f94ce7e64..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "JsHelloWorld" - }, - { - "name": "mainability_description", - "value": "hap sample empty page" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage/entry/src/main/js/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 zrdpa{2QLqPJ4Y{j7=Mrl{BaxrkdY69+c~(w{Fv-v&aR%aEI&JYSeRTLWm!zbv;?)_ ziZB;fwGbbeL5Q}YLx`J$lp~A09KK8t_z}PZ=4ZzgdeKtgoc+o5EvN9A1K1_<>M?MBqb#!ASf&# zEX?<)!RH(7>1P+j=jqG(58}TVN-$psA6K}atCuI!KTJD&FMmH-78ZejBm)0qc{ESp z|LuG1{QnBUJRg_E=h1#XMWt2%fcoN@l7eAS!Es?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HCxsIN_F{T1A545};;+fsyC&qChi+YV zr~M63H8ZLCPYmsjY>ls9cL%I)F|JIW-#+48$+lD4k*(P*kDM%zx_fvu4u5ZYUnI}5 zdrycFq>xFU)&X3p@pP2u%$o}}YcRn(MhJ&B2o?KS@cIVz>Ye%o^xV?CB{_Qhu z;}_q1bvO^g{8<3!gYbo4Di{8qzV+(9 zdlmksohQmRTs@qB;(Wo?dER_ux6XQb@q$tQPW?CMu6GVQd;R=iR;-S{Kr%Zks7>b1 zNs{|-+jhObYE}NR&`TGGr^h^4bjh%c>R#@=8nM&Md>_a+zVulsl;){flFekV1t9ob z+SqfV_Pv3$2f)bQ8%Ul2>fdYR^1zs0BQF~olsOj5AodC&Q_7SMFzsz2 z9newxE&jodk~tNHwl%LBMMDbrk=(^b diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/BUILD.gn b/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/BUILD.gn deleted file mode 100644 index feb66fcc1..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/BUILD.gn +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright (c) 2021 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("ActsAmsMultiPageAppConnectService") { - hap_profile = "./entry/src/main/config.json" - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" - hap_name = "ActsAmsMultiPageAppConnectService" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./entry/src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./entry/src/main/js/resources" ] - hap_profile = "./entry/src/main/config.json" -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/Test.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/Test.json deleted file mode 100644 index 3ec911dfc..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/Test.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "description": "Configuration for hjunit demo Tests" -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/config.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/config.json deleted file mode 100644 index 36fcb5995..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/config.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "app": { - "bundleName": "com.example.actsamsmultipageappconnectservice", - "vendor": "example", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.example.actsamsmultipageappconnectservice", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry", - "installationFree": true - }, - "abilities": [ - { - "visible": true, - "name": "com.example.actsamsmultipageappconnectservice.MainAbility", - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "isVisible": "true", - "launchType": "singleton" - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/default/app.js b/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/default/app.js deleted file mode 100644 index c15844220..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 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('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d97..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/default/pages/index/index.css deleted file mode 100644 index a6053c61f..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) 2021 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. - */ - -.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; -} -.btn { - width: 50%; - height: 100px; - font-size: 40px; -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 234e04c1c..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,20 +0,0 @@ - - -
- - MultiAppPageConnectServiceA - -
diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/resources/base/element/string.json deleted file mode 100644 index f94ce7e64..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "JsHelloWorld" - }, - { - "name": "mainability_description", - "value": "hap sample empty page" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/entry/src/main/js/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 zrdpa{2QLqPJ4Y{j7=Mrl{BaxrkdY69+c~(w{Fv-v&aR%aEI&JYSeRTLWm!zbv;?)_ ziZB;fwGbbeL5Q}YLx`J$lp~A09KK8t_z}PZ=4ZzgdeKtgoc+o5EvN9A1K1_<>M?MBqb#!ASf&# zEX?<)!RH(7>1P+j=jqG(58}TVN-$psA6K}atCuI!KTJD&FMmH-78ZejBm)0qc{ESp z|LuG1{QnBUJRg_E=h1#XMWt2%fcoN@l7eAS!Es?Q+;XsRNPhiiE=@AqlLkJzF`O18 zbsbSmKN=aaq8k3NFYZfDWpKmM!coBU0(XnL8R{4=i|wi{!uWYM2je{U{B*K2PVdu&=E zTq*-XsEsJ$u5H4g6DIm2Y!DN`>^v|AqlwuCD;w45K0@eqauiqWf7l&o)+YLHm~|L~ z7$0v5mkobriU!H<@mVJHLlmQqzQ3d6Rh_-|%Yy2li*tHO>_vcnuZ7OR_xkAIuIU&x z-|8Y0wj|6|a6_I(v91y%k_kNw6pnkNdxjqG8!%Vz_d%c_!X+6-;1`GC9_FpjoHev5fEV7RhJ>r=mh-jp$fqbqRJ=obwdgLDVP5+s zy1=_DWG0Y-Jb3t^WXmkr(d9~08k-|#Ly zaNOmT(^9tIb&eb4%CzIT zAm3CUtWSr1t4?h1kk#NBi{U|pJslvME{q|_eS^3En>SOqSxyuN1x;Is@8~m?*>}** znrRFArP!K_52RpX*&JHMR<^lVdm8ypJ}0R(SD(51j;6@ni$6bQ+2XL+R^|NnSp5}(kzvMZ^(@4fD_{QVu$(&K6H|C37TG1Am9Re{<<3gd z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ish')}); - console.log('ActsAmsMultiPageAppConnectService ConnectAbility onDisconnect element.deviceId : ' - + element.deviceId) - console.log('ActsAmsMultiPageAppConnectService ConnectAbility onDisconnect element.bundleName : ' - + element.bundleName) - console.log('ActsAmsMultiPageAppConnectService ConnectAbility onDisconnect element.abilityName : ' - + element.abilityName) - } - - function onFailedCallback(code) { - console.log('ActsAmsMultiPageAppConnectService ConnectAbility onFailed errCode : ' + code) - } - }); - - - /* - * @tc.number : AMS_MultiApp_0300 - * @tc.name : connectAbility : connect pageAbility - * @tc.desc : pageAbility->serviceAbility - */ - it('AMS_MultiApp_0300', 0, async function (done) { - var subscriber; - var CommonEventSubscribeInfo = { - events: ["ACTS_MultiAppPageConnectService_onConnect1", - "ACTS_MultiAppPageConnectService_onConnect2"], - }; - function unsubscribe(caller, subscriber) { - commonEvent.unsubscribe(subscriber, (err, data) => { - console.debug("=ACTS_MissionSnapshot_unsubscribe (err,data)=======>" - + (caller) - + (" , json err【") + JSON.stringify(err) + (" 】") - + ("json data【") + JSON.stringify(data) + (" 】") - + " ,err=" + err + " ,data=" + data); - done(); - }); - } - commonEvent.createSubscriber(CommonEventSubscribeInfo).then(async (data) => { - console.debug("=AMS_MultiApp_0300 createSubscriber .then(data)=======>" - + ("json data【") + JSON.stringify(data) + (" 】") - + " ,data=" + data); - subscriber = data; - await commonEvent.subscribe(subscriber, async (err, data) => { - console.debug("=AMS_MultiApp_0300 subscribe (err,data)=======>" - + ("json err【") + JSON.stringify(err) + (" 】") - + ("json data【") + JSON.stringify(data) + (" 】") - + " ,err=" + err + " ,data=" + data); - if (data.event == "ACTS_MultiAppPageConnectService_onConnect2") - { - console.debug("=======AMS_MultiApp_0300 Ontology======="); - expect(data.event).assertEqual("ACTS_MultiAppPageConnectService_onConnect2"); - } - else if (data.event == "ACTS_MultiAppPageConnectService_onConnect1") - { - console.debug("=======AMS_MultiApp_0300 Clone======="); - expect(data.event).assertEqual("ACTS_MultiAppPageConnectService_onConnect1"); - } - unsubscribe("subscribe", subscriber); - }); - }); - }) -}) diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnectService/signature/openharmony_sx.p7b deleted file mode 100644 index 9be1e98fa4c0c28ca997ed660112fa16b194f0f5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3437 zcmcgvX>b$g8MY4FF(5FQyMT=#m||qU)nQ9cId-MBB-<-lvSdq&snM}IENNF>t+bK| zgowuF2vC|SxSZxNN5eHhV%(WPpbeB9Fc3;JDMtzMBv1-XAc2N~c2_tCXW&OCGw6qQ z-s9VS-tT?h=bI0tMS+~WDXqHJyCPmLzdbE-fV8Nd&*MRZfG8(#POFZG3xs@Lb{0ry z=R8j3wWo!5g=yjKx#BoZMFS)uA)H}cTp@-^K`9VV?RC3J59@}eik*>n|pRKOLZ zxdn7G!Yv@9O#y<&eUy{)vMXb;fQR)ffVAADQsEMXm;IBMDLfLD0w^U;6%HVo-0Q_5 zCHEa?DBuauNpZzoF+tK27w#n~?u%toS-DhR4k@Q*{7x^8Q=D6&kd^_~J#VVG2LXkL zaAy=}U*?Jto)9hx5MGjdp9hcQAu@tfk_;l!PeyxPY<8b&+&D!CyaBh9=8BSVKLpk4 z4Ml3yY|&Th)vyK4cpC{!uU8v2YBlVV`d~(nz&<@{G1oe*DHub1z7~J5*;s2bX<)_* zV_GbsPQg`(&rpxRb_*Od7}++3+liSw-$!1 zs5*g}EHWhI3i|!-FcfzYL0`SL-rq>LENC;PMl)G(0(1U2%Va|smp0UFx0xd@soZA* zD5LYc4OlbE7@ARt#h}rr3>K@bf%B#^-c+xz8Hr)0D5ExIFltezN@Hn8>o5d~bSfYtkc+_Z&kI#-N5_GhCg*V-^TSO=!G~ z(fXy{n2XV+k}6w_W`dTOP2a4u0ly;ANZ>4OxSKAzFB!yBzdo`gX zO?o|H@WiAw$y6l?=^3jA_Hy0S)nTYs12;4hKE&ekQ|>?|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3$2f)bQ8%Ul2>fdYR^1zs0BQF~olsOj5AodC&Q_7SMFzsz2 z9newxE&jodk~tNHwl%LBMMDbrk=(^b diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/BUILD.gn b/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/BUILD.gn deleted file mode 100644 index fb5da1658..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/BUILD.gn +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright (c) 2021 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_hap("ActsAmsMultiAppPageConnectService") { - hap_profile = "./entry/src/main/config.json" - hap_name = "ActsAmsMultiAppPageConnectService" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./entry/src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./entry/src/main/js/resources" ] - hap_profile = "./entry/src/main/config.json" -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/config.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/config.json deleted file mode 100644 index a210792ef..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/config.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "app": { - "bundleName": "com.example.actsamsmultiapppageconnectservice", - "vendor": "example", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.example.actsamsmultiapppageconnectservice", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry", - "installationFree": true - }, - "abilities": [ - { - "visible": true, - "name": "com.example.actsamsmultiapppageconnectservice.MainAbility", - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "service", - "isVisible": "true", - "launchType": "singleton" - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/default/app.js b/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/default/app.js deleted file mode 100644 index c15844220..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 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('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d97..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/default/pages/index/index.css deleted file mode 100644 index a6053c61f..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) 2021 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. - */ - -.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; -} -.btn { - width: 50%; - height: 100px; - font-size: 40px; -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 3126a2aea..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,20 +0,0 @@ - - -
- - MultiAppPageConnectServiceB - -
diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/default/pages/index/index.js deleted file mode 100644 index 32ca7875a..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,140 +0,0 @@ -/* - * Copyright (c) 2021 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 file from '@system.file' -import {Core, ExpectExtend} from 'deccjsunit/index' -import rpc from "@ohos.rpc" -import commonEvent from '@ohos.commoneEvent' -import particleAbility from '@ohos.ability.particleAbility' -import bundle from "@ohos.bundle" - - -let mMyStub; -const MIN_CLONEUID = 20000000; - -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 ') - - }, - onStart(want) { - console.debug('AMS_MultiApp ====>onStart' - + want + " , JSON." + JSON.stringify(want)); - class MyStub extends rpc.RemoteObject { - constructor(des) { - super(des); - } - - onRemoteRequest(code, message, reply, option) { - console.log("AMS_MultiApp code:" + code); - if (code === 1) { - let getContextObject = rpc.IPCSkeleton.getContextObject(); - let getCallingPid = rpc.IPCSkeleton.getCallingPid(); - let getCallingUid = rpc.IPCSkeleton.getCallingUid(); - let getCallingDeviceID = rpc.IPCSkeleton.getCallingDeviceID(); - let getLocalDeviceID = rpc.IPCSkeleton.getLocalDeviceID(); - let isLocalCalling = rpc.IPCSkeleton.isLocalCalling(); - let remoteObject = new rpc.RemoteObject("aaa", 3); - let flushCommands = rpc.IPCSkeleton.flushCommands(remoteObject); - let resetCallingIdentity = rpc.IPCSkeleton.resetCallingIdentity(); - let setCallingIdentity = rpc.IPCSkeleton.setCallingIdentity("aaa", 3); - let num = message.readInt(); - let msg = message.readString(); - console.log("num is " + num + "msg is " + msg); - reply.writeString("Success"); - return true; - } - } - } - mMyStub = new MyStub("ServiceAbility-test"); - }, - async onConnect(want) { - console.info('onConnect finish') - console.info('AMS_MultiApp_0800 want' - + JSON.stringify(want)); - - console.info('particleAbility--------------------------1'); - var featureData = await particleAbility.getWant(); - console.info('particleAbility--------------------------2'); - console.info('AMS_MultiApp_0800 featureData' + featureData); - console.info('AMS_MultiApp_0800 featureData' + JSON.stringify(featureData)); - console.info('AMS_MultiApp_0800 featureData-->bundleName' + featureData.bundleName); - - var flag=0; - if((featureData.bundleName) == ("com.example.actsamsmultiapppageconnectservice")) - { - if ((featureData.abilityName) == ("com.example.actsamsmultiapppageconnectservice.MainAbility")) - { - flag = 1; - } - } - console.info('AMS_MultiApp_0800 flag' + JSON.stringify(flag)); - var info = await particleAbility.getAbilityInfo(); - console.info('AMS_MultiApp_0800 particleAbility.getAbilityInfo() ' - + JSON.stringify(info)); - console.info('AMS_MultiApp_0800 particleAbility.getAbilityInfo() ' - + info); - console.info('AMS_MultiApp_0800 particleAbility.getAbilityInfo() ' - + JSON.stringify(info.applicationInfo)); - bundle.getBundleInfo("com.example.actsamsmultiapppageconnectservice", 1, async(err, data) => { - console.info('AMS_MultiApp_0800 bundle.getBundleInfo ' - + JSON.stringify(data)); - if (data.uid >= MIN_CLONEUID) { - console.info('AMS_MultiApp_0800 Clone info ' + JSON.stringify(info.applicationInfo)); - if (info.applicationInfo.isCloned == true) - { - flag = 1; - - } - } else { - console.info('AMS_MultiApp_0800 Ontology info ' + JSON.stringify(info.applicationInfo)); - if (info.applicationInfo.isCloned == false) - { - flag = 2; - } - } - commonEvent.publish("ACTS_MultiAppPageConnectService_onConnect" + flag, err =>{ - console.info('AMS_MultiApp resultflag' + JSON.stringify(flag)); - console.debug("=ACTS_MultiAppPageConnectService_onConnect err,data=======>" - + ("json err【") + JSON.stringify(err) + (" 】") - + ("json flag【") + JSON.stringify(flag) + (" 】") - + " ,err=" + err + " ,flag=" + flag); - }); - return mMyStub; - }) - }, - onCommand(want,restart,startId) { - console.info('onCommand finish') - commonEvent.publish("ACTS_MultiAppPageConnectService_onCommand", (err,data) =>{ - console.debug("=ACTS_MultiAppPageConnectService_onCommand err,data=======>" - + ("json err【") + JSON.stringify(err) + (" 】") - + ("json data【") + JSON.stringify(data) + (" 】") - + " ,err=" + err + " ,data=" + data); - }); - - }, - onReady() { - console.info('onReady'); - }, -} - diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/resources/base/element/string.json deleted file mode 100644 index f94ce7e64..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "JsHelloWorld" - }, - { - "name": "mainability_description", - "value": "hap sample empty page" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/amsmultiapp/MultiAppPageConnect_Service/entry/src/main/js/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 zrdpa{2QLqPJ4Y{j7=Mrl{BaxrkdY69+c~(w{Fv-v&aR%aEI&JYSeRTLWm!zbv;?)_ ziZB;fwGbbeL5Q}YLx`J$lp~A09KK8t_z}PZ=4ZzgdeKtgoc+o5EvN9A1K1_<>M?MBqb#!ASf&# zEX?<)!RH(7>1P+j=jqG(58}TVN-$psA6K}atCuI!KTJD&FMmH-78ZejBm)0qc{ESp z|LuG1{QnBUJRg_E=h1#XMWt2%fcoN@l7eAS!Es?Q+;XsRNPhiiE=@AqlLkJzF`O18 zbsbSmKN=aaq8k3NFYZfDWpKmM!coBU0(XnL8R{4=i|wi{!uWYM2je{U{B*K2PVdu&=E zTq*-XsEsJ$u5H4g6DIm2Y!DN`>^v|AqlwuCD;w45K0@eqauiqWf7l&o)+YLHm~|L~ z7$0v5mkobriU!H<@mVJHLlmQqzQ3d6Rh_-|%Yy2li*tHO>_vcnuZ7OR_xkAIuIU&x z-|8Y0wj|6|a6_I(v91y%k_kNw6pnkNdxjqG8!%Vz_d%c_!X+6-;1`GC9_FpjoHev5fEV7RhJ>r=mh-jp$fqbqRJ=obwdgLDVP5+s zy1=_DWG0Y-Jb3t^WXmkr(d9~08k-|#Ly zaNOmT(^9tIb&eb4%CzIT zAm3CUtWSr1t4?h1kk#NBi{U|pJslvME{q|_eS^3En>SOqSxyuN1x;Is@8~m?*>}** znrRFArP!K_52RpX*&JHMR<^lVdm8ypJ}0R(SD(51j;6@ni$6bQ+2XL+R^|NnSp5}(kzvMZ^(@4fD_{QVu$(&K6H|C37TG1Am9Re{<<3gd zh@`>;B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_wR;fISDCJhAqSG6R%xItn%~QtZ@m%&u zjGGLX;t6Ls62eQvNmf@v+}J%54^CygxRZ`?8X#r|wkev7(s;Ou4T#y1XNNf)h;o7z z8a^Lfq<1uH`E{G9E z*(=)Css_LSk=>E9jr)s5^2-!+MN=Ds}>1hRma4`uCIz9%p3O77839E{xf z4c_I?**|1`K2tg4!Hvyrou4BsJQuv*UfF)<%CelYIS>D^o?X)3+MK%la6kooW8&G@BU)Y0hT`+mOm$Z_%rB=a%o>I z!2c6lHyKQN)VjiFwa!eE^p8jc$sy$vB+8i25lI~6KPFFh$!o$avA~rj#L6xvR|Z83 z*WD6T9e+5Pyy=F+)pNTf{ny3cy>7Rkd3o*TS?TZJ`NS^NF2%HMkyS{?uJ$`!P4_L^ z1`NFDUbNyg_qREifgktnp1_v{Jbb`7m}2PTyUdOmtJj~m z9bB=ecw4_^rw1IW=of+>nrW5=d3k`3qHCxsIN_F{T1A545};;+fsyC&qChi+YV zr~M63H8ZLCPYmsjY>ls9cL%I)F|JIW-#+48$+lD4k*(P*kDM%zx_fvu4u5ZYUnI}5 zdrycFq>xFU)&X3p@pP2u%$o}}YcRn(MhJ&B2o?KS@cIVz>Ye%o^xV?CB{_Qhu z;}_q1bvO^g{8<3!gYbo4Di{8qzV+(9 zdlmksohQmRTs@qB;(Wo?dER_ux6XQb@q$tQPW?CMu6GVQd;R=iR;-S{Kr%Zks7>b1 zNs{|-+jhObYE}NR&`TGGr^h^4bjh%c>R#@=8nM&Md>_a+zVulsl;){flFekV1t9ob z+SqfV_Pv3$2f)bQ8%Ul2>fdYR^1zs0BQF~olsOj5AodC&Q_7SMFzsz2 z9newxE&jodk~tNHwl%LBMMDbrk=(^b diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/BUILD.gn b/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/BUILD.gn deleted file mode 100644 index 3dd2d8d11..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/BUILD.gn +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright (c) 2021 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("ActsAmsMultiPageAppPermission") { - hap_profile = "./entry/src/main/config.json" - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" - hap_name = "ActsAmsMultiPageAppPermission" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./entry/src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./entry/src/main/js/resources" ] - hap_profile = "./entry/src/main/config.json" -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/Test.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/Test.json deleted file mode 100644 index 3ec911dfc..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/Test.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "description": "Configuration for hjunit demo Tests" -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/config.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/config.json deleted file mode 100644 index 3e4ee8a4a..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/config.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "app": { - "bundleName": "com.example.actsamsmultipageapppermission", - "vendor": "example", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.example.actsamsmultipageapppermission", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry", - "installationFree": true - }, - "abilities": [ - { - "visible": true, - "name": "com.example.actsamsmultipageapppermission.MainAbility", - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "isVisible": "true", - "launchType": "singleton" - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/default/app.js b/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/default/app.js deleted file mode 100644 index c15844220..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 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('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d97..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/default/pages/index/index.css deleted file mode 100644 index a6053c61f..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) 2021 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. - */ - -.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; -} -.btn { - width: 50%; - height: 100px; - font-size: 40px; -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 8b91515e4..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,20 +0,0 @@ - - -
- - MultiAppPagePermissionA - -
diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/default/pages/index/index.js deleted file mode 100644 index c1ff8fdb1..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (c) 2021 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 file from '@system.file' -import {Core, ExpectExtend} from 'deccjsunit/index' - -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') - - const core = Core.getInstance() - const expectExtend = new ExpectExtend({ - 'id': 'extend' - }) - core.addService('expect', expectExtend) - core.init() - - const configService = core.getDefaultService('config') - configService.setConfig(this) - - require('../../../test/List.test') - core.execute() - }, - onReady() { - console.info('onReady'); - }, -} - diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/resources/base/element/string.json deleted file mode 100644 index f94ce7e64..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "JsHelloWorld" - }, - { - "name": "mainability_description", - "value": "hap sample empty page" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/entry/src/main/js/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 zrdpa{2QLqPJ4Y{j7=Mrl{BaxrkdY69+c~(w{Fv-v&aR%aEI&JYSeRTLWm!zbv;?)_ ziZB;fwGbbeL5Q}YLx`J$lp~A09KK8t_z}PZ=4ZzgdeKtgoc+o5EvN9A1K1_<>M?MBqb#!ASf&# zEX?<)!RH(7>1P+j=jqG(58}TVN-$psA6K}atCuI!KTJD&FMmH-78ZejBm)0qc{ESp z|LuG1{QnBUJRg_E=h1#XMWt2%fcoN@l7eAS!Es?Q+;XsRNPhiiE=@AqlLkJzF`O18 zbsbSmKN=aaq8k3NFYZfDWpKmM!coBU0(XnL8R{4=i|wi{!uWYM2je{U{B*K2PVdu&=E zTq*-XsEsJ$u5H4g6DIm2Y!DN`>^v|AqlwuCD;w45K0@eqauiqWf7l&o)+YLHm~|L~ z7$0v5mkobriU!H<@mVJHLlmQqzQ3d6Rh_-|%Yy2li*tHO>_vcnuZ7OR_xkAIuIU&x z-|8Y0wj|6|a6_I(v91y%k_kNw6pnkNdxjqG8!%Vz_d%c_!X+6-;1`GC9_FpjoHev5fEV7RhJ>r=mh-jp$fqbqRJ=obwdgLDVP5+s zy1=_DWG0Y-Jb3t^WXmkr(d9~08k-|#Ly zaNOmT(^9tIb&eb4%CzIT zAm3CUtWSr1t4?h1kk#NBi{U|pJslv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%VFpqVr8|7t3~AmxYak6?`Pp#c;**_SYmi`&z23 z`p6_~ePvH)C6x-G9$hgL=eVALq`-AiamN>!3~Lxw&{H(b{B(7xSRm6<3<{%{yXiH# zos5Rv1L+8fUKJLo%P>4I&$}y { - console.debug("====>Create Subscriber====>"); - subscriber = data; - console.debug("====>Create Subscriber====> subscriber" + subscriber); - await commonEvent.subscribe(subscriber, subscribeCallBack); - - }) - await featureAbility.startAbility( - { - want: - { - bundleName: "com.example.actsamsmultiapppagepermission", - abilityName: "com.example.actsamsmultiapppagepermission.MainAbility", - }, - }, - ); - function subscribeCallBack(err, data) { - console.debug("====>subscribeCallBack====> data.event " + data.event); - expect(data.event).assertEqual("ACTS_StartAbility_CommonEvent error"); - done(); - } - setTimeout(()=>{ - unsubscribe("subscribe", subscriber); - expect("true").assertEqual("true"); - }, 5000); - function unsubscribe(caller, subscriber) { - commonEvent.unsubscribe(subscriber, (err, data) => { - console.debug("=ACTS_AmsMultiAppPermission_unsubscribe (err,data)=======>" - + (caller) - + (" , json err【") + JSON.stringify(err) + (" 】") - + ("json data【") + JSON.stringify(data) + (" 】") - + " ,err=" + err + " ,data=" + data); - done(); - }); - } - }) -}) diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission/signature/openharmony_sx.p7b deleted file mode 100644 index 9be1e98fa4c0c28ca997ed660112fa16b194f0f5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3437 zcmcgvX>b$g8MY4FF(5FQyMT=#m||qU)nQ9cId-MBB-<-lvSdq&snM}IENNF>t+bK| zgowuF2vC|SxSZxNN5eHhV%(WPpbeB9Fc3;JDMtzMBv1-XAc2N~c2_tCXW&OCGw6qQ z-s9VS-tT?h=bI0tMS+~WDXqHJyCPmLzdbE-fV8Nd&*MRZfG8(#POFZG3xs@Lb{0ry z=R8j3wWo!5g=yjKx#BoZMFS)uA)H}cTp@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IS>D^o?X)3+MK%la6kooW8&G@BU)Y0hT`+mOm$Z_%rB=a%o>I z!2c6lHyKQN)VjiFwa!eE^p8jc$sy$vB+8i25lI~6KPFFh$!o$avA~rj#L6xvR|Z83 z*WD6T9e+5Pyy=F+)pNTf{ny3cy>7Rkd3o*TS?TZJ`NS^NF2%HMkyS{?uJ$`!P4_L^ z1`NFDUbNyg_qREifgktnp1_v{Jbb`7m}2PTyUdOmtJj~m z9bB=ecw4_^rw1IW=of+>nrW5=d3k`3qHCxsIN_F{T1A545};;+fsyC&qChi+YV zr~M63H8ZLCPYmsjY>ls9cL%I)F|JIW-#+48$+lD4k*(P*kDM%zx_fvu4u5ZYUnI}5 zdrycFq>xFU)&X3p@pP2u%$o}}YcRn(MhJ&B2o?KS@cIVz>Ye%o^xV?CB{_Qhu z;}_q1bvO^g{8<3!gYbo4Di{8qzV+(9 zdlmksohQmRTs@qB;(Wo?dER_ux6XQb@q$tQPW?CMu6GVQd;R=iR;-S{Kr%Zks7>b1 zNs{|-+jhObYE}NR&`TGGr^h^4bjh%c>R#@=8nM&Md>_a+zVulsl;){flFekV1t9ob z+SqfV_Pv3$2f)bQ8%Ul2>fdYR^1zs0BQF~olsOj5AodC&Q_7SMFzsz2 z9newxE&jodk~tNHwl%LBMMDbrk=(^b diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/BUILD.gn b/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/BUILD.gn deleted file mode 100644 index 299135e44..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/BUILD.gn +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright (c) 2021 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_hap("ActsAmsMultiAppPagePermission") { - hap_profile = "./entry/src/main/config.json" - hap_name = "ActsAmsMultiAppPagePermission" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./entry/src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./entry/src/main/js/resources" ] - hap_profile = "./entry/src/main/config.json" -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/config.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/config.json deleted file mode 100644 index dfc60520c..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/config.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "app": { - "bundleName": "com.example.actsamsmultiapppagepermission", - "vendor": "example", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.example.actsamsmultiapppagepermission", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry", - "installationFree": true - }, - "abilities": [ - { - "visible": true, - "name": "com.example.actsamsmultiapppagepermission.MainAbility", - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "isVisible": "true", - "launchType": "singleton" - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/default/app.js b/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/default/app.js deleted file mode 100644 index c15844220..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 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('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d97..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/default/pages/index/index.css deleted file mode 100644 index a6053c61f..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) 2021 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. - */ - -.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; -} -.btn { - width: 50%; - height: 100px; - font-size: 40px; -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 61ea59d93..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,21 +0,0 @@ - - -
- - {{ $t('strings.hello') }} {{title}} - - -
diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/default/pages/index/index.js deleted file mode 100644 index 8f573a526..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (c) 2021 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 file from '@system.file' -import {Core, ExpectExtend} from 'deccjsunit/index' - -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') -import commonEvent from '@ohos.commonEvent' - -export default { - data: { - title: "" - }, - onInit() { - this.title = this.$t('strings.world'); - }, - onShow() { - console.info('onShow finish LJ') - commonEvent.publish("ACTS_StartAbility_CommonEvent", (err,data) =>{ - console.debug("=ACTS_StartAbility_CommonEvent err,data=======>" - + ("json err【") + JSON.stringify(err) + (" 】") - + ("json data【") + JSON.stringify(data) + (" 】") - + " ,err=" + err + " ,data=" + data); - }); - }, - onReady() { - console.info('onReady'); - }, -} - diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/resources/base/element/string.json deleted file mode 100644 index f94ce7e64..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "JsHelloWorld" - }, - { - "name": "mainability_description", - "value": "hap sample empty page" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/amsmultiapp/MultiAppPagePermission_Page/entry/src/main/js/resources/base/media/icon.png deleted file mode 100644 index ce307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ls62eQvNmf@v+}J%54^CygxRZ`?8X#r|wkev7(s;Ou4T#y1XNNf)h;o7z z8a^Lfq<1uH`E{G9E z*(=)Css_LSk=>E9jr)s5^2-!+MN=Ds}>1hRma4`uCIz9%p3O77839E{xf z4c_I?**|1`K2tg4!Hvyrou4BsJQuv*UfF)<%CelYIS>D^o?X)3+MK%la6kooW8&G@BU)Y0hT`+mOm$Z_%rB=a%o>I z!2c6lHyKQN)VjiFwa!eE^p8jc$sy$vB+8i25lI~6KPFFh$!o$avA~rj#L6xvR|Z83 z*WD6T9e+5Pyy=F+)pNTf{ny3cy>7Rkd3o*TS?TZJ`NS^NF2%HMkyS{?uJ$`!P4_L^ z1`NFDUbNyg_qREifgktnp1_v{Jbb`7m}2PTyUdOmtJj~m z9bB=ecw4_^rw1IW=of+>nrW5=d3k`3qHCxsIN_F{T1A545};;+fsyC&qChi+YV zr~M63H8ZLCPYmsjY>ls9cL%I)F|JIW-#+48$+lD4k*(P*kDM%zx_fvu4u5ZYUnI}5 zdrycFq>xFU)&X3p@pP2u%$o}}YcRn(MhJ&B2o?KS@cIVz>Ye%o^xV?CB{_Qhu z;}_q1bvO^g{8<3!gYbo4Di{8qzV+(9 zdlmksohQmRTs@qB;(Wo?dER_ux6XQb@q$tQPW?CMu6GVQd;R=iR;-S{Kr%Zks7>b1 zNs{|-+jhObYE}NR&`TGGr^h^4bjh%c>R#@=8nM&Md>_a+zVulsl;){flFekV1t9ob z+SqfV_Pv3$2f)bQ8%Ul2>fdYR^1zs0BQF~olsOj5AodC&Q_7SMFzsz2 z9newxE&jodk~tNHwl%LBMMDbrk=(^b diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/BUILD.gn b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/BUILD.gn deleted file mode 100644 index 7585b59e1..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/BUILD.gn +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright (c) 2021 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("ActsAmsMultiPageAppS") { - hap_profile = "./entry/src/main/config.json" - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" - hap_name = "ActsAmsMultiPageAppS" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./entry/src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./entry/src/main/js/resources" ] - hap_profile = "./entry/src/main/config.json" -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/Test.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/Test.json deleted file mode 100644 index 3ec911dfc..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/Test.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "description": "Configuration for hjunit demo Tests" -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/config.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/config.json deleted file mode 100644 index 8a5af3fe5..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/config.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "app": { - "bundleName": "com.example.actsamsmultipageapps", - "vendor": "example", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.example.actsamsmultipageapps", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry", - "installationFree": true - }, - "abilities": [ - { - "visible": true, - "name": "com.example.actsamsmultipageapps.MainAbility", - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "isVisible": "true", - "launchType": "singleton" - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/default/app.js b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/default/app.js deleted file mode 100644 index c15844220..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 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('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d97..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/default/pages/index/index.css deleted file mode 100644 index a6053c61f..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) 2021 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. - */ - -.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; -} -.btn { - width: 50%; - height: 100px; - font-size: 40px; -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 675493838..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,20 +0,0 @@ - - -
- - MultiAppPageStartServiceA - -
diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/default/pages/index/index.js deleted file mode 100644 index c1ff8fdb1..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (c) 2021 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 file from '@system.file' -import {Core, ExpectExtend} from 'deccjsunit/index' - -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') - - const core = Core.getInstance() - const expectExtend = new ExpectExtend({ - 'id': 'extend' - }) - core.addService('expect', expectExtend) - core.init() - - const configService = core.getDefaultService('config') - configService.setConfig(this) - - require('../../../test/List.test') - core.execute() - }, - onReady() { - console.info('onReady'); - }, -} - diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/resources/base/element/string.json deleted file mode 100644 index f94ce7e64..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "JsHelloWorld" - }, - { - "name": "mainability_description", - "value": "hap sample empty page" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/entry/src/main/js/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 zrdpa{2QLqPJ4Y{j7=Mrl{BaxrkdY69+c~(w{Fv-v&aR%aEI&JYSeRTLWm!zbv;?)_ ziZB;fwGbbeL5Q}YLx`J$lp~A09KK8t_z}PZ=4ZzgdeKtgoc+o5EvN9A1K1_<>M?MBqb#!ASf&# zEX?<)!RH(7>1P+j=jqG(58}TVN-$psA6K}atCuI!KTJD&FMmH-78ZejBm)0qc{ESp z|LuG1{QnBUJRg_E=h1#XMWt2%fcoN@l7eAS!Es?Q+;XsRNPhiiE=@AqlLkJzF`O18 zbsbSmKN=aaq8k3NFYZfDWpKmM!coBU0(XnL8R{4=i|wi{!uWYM2je{U{B*K2PVdu&=E zTq*-XsEsJ$u5H4g6DIm2Y!DN`>^v|AqlwuCD;w45K0@eqauiqWf7l&o)+YLHm~|L~ z7$0v5mkobriU!H<@mVJHLlmQqzQ3d6Rh_-|%Yy2li*tHO>_vcnuZ7OR_xkAIuIU&x z-|8Y0wj|6|a6_I(v91y%k_kNw6pnkNdxjqG8!%Vz_d%c_!X+6-;1`GC9_FpjoHev5fEV7RhJ>r=mh-jp$fqbqRJ=obwdgLDVP5+s zy1=_DWG0Y-Jb3t^WXmkr(d9~08k-|#Ly zaNOmT(^9tIb&eb4%CzIT zAm3CUtWSr1t4?h1kk#NBi{U|pJslvME{q|_eS^3En>SOqSxyuN1x;Is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#c;**_SYmi`&z23 z`p6_~ePvH)C6x-G9$hgL=eVALq`-AiamN>!3~Lxw&{H(b{B(7xSRm6<3<{%{yXiH# zos5Rv1L+8fUKJLo%P>4I&$}yServiceAbility - */ - it('AMS_MultiApp_0200', 0, async function (done) { - var subscriber; - var CommonEventSubscribeInfo = { - events: ["ACTS_MultiAppPageService_onConnect1","ACTS_MultiAppPageService_onConnect2"], - - }; - - commonEvent.createSubscriber(CommonEventSubscribeInfo).then(async (data) => { - console.debug("=AMS_MultiApp_0200 createSubscriber .then(data)=======>" - + ("json data【") + JSON.stringify(data) + (" 】") - + " ,data=" + data); - subscriber = data; - commonEvent.subscribe(subscriber, async (err, data) => { - console.debug("=AMS_MultiApp_0200 subscribe (err,data)=======>" - + ("json err【") + JSON.stringify(err) + (" 】") - + ("json data【") + JSON.stringify(data) + (" 】") - + " ,err=" + err + " ,data=" + data); - if (data.event == "ACTS_MultiAppPageService_onConnect2") - { - console.debug("=======AMS_MultiApp_0200 Ontology======="); - expect(data.event).assertEqual("ACTS_MultiAppPageService_onConnect2"); - } - else if (data.event == "ACTS_MultiAppPageService_onConnect1") - { - console.debug("=======AMS_MultiApp_0200 Clone======="); - expect(data.event).assertEqual("ACTS_MultiAppPageService_onConnect1"); - } - unsubscribe("subscribe", subscriber); - }); - }) - function unsubscribe(caller, subscriber) { - commonEvent.unsubscribe(subscriber, (err, data) => { - console.debug("=ACTS_MultiAppPageService_unsubscribe (err,data)=======>" - + (caller) - + (" , json err【") + JSON.stringify(err) + (" 】") - + ("json data【") + JSON.stringify(data) + (" 】") - + " ,err=" + err + " ,data=" + data); - done(); - }); - } - }) -}) diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_PSS/signature/openharmony_sx.p7b deleted file mode 100644 index 9be1e98fa4c0c28ca997ed660112fa16b194f0f5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 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><i4=e%95bjtw|cJp=#P#Pf#*luqI_wR;fISDCJhAqSG6R%xItn%~QtZ@m%&u zjGGLX;t6Ls62eQvNmf@v+}J%54^CygxRZ`?8X#r|wkev7(s;Ou4T#y1XNNf)h;o7z z8a^Lfq<1uH`E{G9E z*(=)Css_LSk=>E9jr)s5^2-!+MN=Ds}>1hRma4`uCIz9%p3O77839E{xf z4c_I?**|1`K2tg4!Hvyrou4BsJQuv*UfF)<%CelYIS>D^o?X)3+MK%la6kooW8&G@BU)Y0hT`+mOm$Z_%rB=a%o>I z!2c6lHyKQN)VjiFwa!eE^p8jc$sy$vB+8i25lI~6KPFFh$!o$avA~rj#L6xvR|Z83 z*WD6T9e+5Pyy=F+)pNTf{ny3cy>7Rkd3o*TS?TZJ`NS^NF2%HMkyS{?uJ$`!P4_L^ z1`NFDUbNyg_qREifgktnp1_v{Jbb`7m}2PTyUdOmtJj~m z9bB=ecw4_^rw1IW=of+>nrW5=d3k`3qHCxsIN_F{T1A545};;+fsyC&qChi+YV zr~M63H8ZLCPYmsjY>ls9cL%I)F|JIW-#+48$+lD4k*(P*kDM%zx_fvu4u5ZYUnI}5 zdrycFq>xFU)&X3p@pP2u%$o}}YcRn(MhJ&B2o?KS@cIVz>Ye%o^xV?CB{_Qhu z;}_q1bvO^g{8<3!gYbo4Di{8qzV+(9 zdlmksohQmRTs@qB;(Wo?dER_ux6XQb@q$tQPW?CMu6GVQd;R=iR;-S{Kr%Zks7>b1 zNs{|-+jhObYE}NR&`TGGr^h^4bjh%c>R#@=8nM&Md>_a+zVulsl;){flFekV1t9ob z+SqfV_Pv3$2f)bQ8%Ul2>fdYR^1zs0BQF~olsOj5AodC&Q_7SMFzsz2 z9newxE&jodk~tNHwl%LBMMDbrk=(^b diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/BUILD.gn b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/BUILD.gn deleted file mode 100644 index 0af4d44ed..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/BUILD.gn +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright (c) 2021 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_hap("ActsAmsMultiAppPage") { - hap_profile = "./entry/src/main/config.json" - hap_name = "ActsAmsMultiAppPage" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./entry/src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./entry/src/main/js/resources" ] - hap_profile = "./entry/src/main/config.json" -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/config.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/config.json deleted file mode 100644 index 2b6dd0237..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/config.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "app": { - "bundleName": "com.example.actsamsmultiapppage", - "vendor": "example", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.example.actsamsmultiapppage", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry", - "installationFree": true - }, - "abilities": [ - { - "visible": true, - "name": "com.example.actsamsmultiapppage.MainAbility", - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "isVisible": "true", - "launchType": "singleton" - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/default/app.js b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/default/app.js deleted file mode 100644 index c15844220..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 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('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d97..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/default/pages/index/index.css deleted file mode 100644 index a6053c61f..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) 2021 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. - */ - -.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; -} -.btn { - width: 50%; - height: 100px; - font-size: 40px; -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 61ea59d93..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,21 +0,0 @@ - - -
- - {{ $t('strings.hello') }} {{title}} - - -
diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/default/pages/index/index.js deleted file mode 100644 index c1ff8fdb1..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (c) 2021 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 file from '@system.file' -import {Core, ExpectExtend} from 'deccjsunit/index' - -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') - - const core = Core.getInstance() - const expectExtend = new ExpectExtend({ - 'id': 'extend' - }) - core.addService('expect', expectExtend) - core.init() - - const configService = core.getDefaultService('config') - configService.setConfig(this) - - require('../../../test/List.test') - core.execute() - }, - onReady() { - console.info('onReady'); - }, -} - diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/resources/base/element/string.json deleted file mode 100644 index f94ce7e64..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "JsHelloWorld" - }, - { - "name": "mainability_description", - "value": "hap sample empty page" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/entry/src/main/js/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 zrdpa{2QLqPJ4Y{j7=Mrl{BaxrkdY69+c~(w{Fv-v&aR%aEI&JYSeRTLWm!zbv;?)_ ziZB;fwGbbeL5Q}YLx`J$lp~A09KK8t_z}PZ=4ZzgdeKtgoc+o5EvN9A1K1_<>M?MBqb#!ASf&# zEX?<)!RH(7>1P+j=jqG(58}TVN-$psA6K}atCuI!KTJD&FMmH-78ZejBm)0qc{ESp z|LuG1{QnBUJRg_E=h1#XMWt2%fcoN@l7eAS!Es?Q+;XsRNPhiiE=@AqlLkJzF`O18 zbsbSmKN=aaq8k3NFYZfDWpKmM!coBU0(XnL8R{4=i|wi{!uWYM2je{U{B*K2PVdu&=E zTq*-XsEsJ$u5H4g6DIm2Y!DN`>^v|AqlwuCD;w45K0@eqauiqWf7l&o)+YLHm~|L~ z7$0v5mkobriU!H<@mVJHLlmQqzQ3d6Rh_-|%Yy2li*tHO>_vcnuZ7OR_xkAIuIU&x z-|8Y0wj|6|a6_I(v91y%k_kNw6pnkNdxjqG8!%Vz_d%c_!X+6-;1`GC9_FpjoHev5fEV7RhJ>r=mh-jp$fqbqRJ=obwdgLDVP5+s zy1=_DWG0Y-Jb3t^WXmkr(d9~08k-|#Ly zaNOmT(^9tIb&eb4%CzIT zAm3CUtWSr1t4?h1kk#NBi{U|pJslvME{q|_eS^3En>SOqSxyuN1x;Is@8~m?*>}** znrRFArP!K_52RpX*&JHMR<^lVdm8ypJ}0R(SD(51j;6@ni$6bQ+2XL+R^|NnSp5}(k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yXiH# zos5Rv1L+8fUKJLo%P>4I&$}ypageAbility - */ - it('AMS_MultiApp_0100', 0, async function (done) { - var data = await featureAbility.getWant(); - expect(data.bundleName).assertEqual("com.example.actsamsmultiapppage"); - expect(data.abilityName).assertEqual("com.example.actsamsmultiapppage.MainAbility"); - console.info('AMS_MultiApp_0100 data.bundleName ' - + JSON.stringify(data.bundleName)); - console.info('AMS_MultiApp_0100 data.abilityName ' - + JSON.stringify(data.abilityName)); - - var info = await featureAbility.getAbilityInfo(); - bundle.getBundleInfo("com.example.actsamsmultiapppage", 1, (err, data) => { - console.debug("=AMS_MultiApp_0100 err,data=======>" - + ("json err【") + JSON.stringify(err) + (" 】") - + ("json data【") + JSON.stringify(data) + (" 】") - + " ,err=" + err + " ,data=" + data); - console.info('AMS_MultiApp Clone info.applicationInfo ' - + JSON.stringify(info.applicationInfo)); - if (data.uid >= MIN_CLONEUID) { - console.info('AMS_MultiApp_0100 Clone info.applicationInfo.isCloned ' - + JSON.stringify(info.applicationInfo.isCloned)); - console.debug("=======AMS_MultiApp_0100 Clone======="); - expect(info.applicationInfo.isCloned).assertEqual(true); - done(); - } else { - console.info('AMS_MultiApp_0100 Clone info.applicationInfo.isCloned ' - + JSON.stringify(info.applicationInfo.isCloned)); - console.debug("=======AMS_MultiApp_0100 Ontology======="); - expect(info.applicationInfo.isCloned).assertEqual(false); - done(); - } - }) - }) -}) diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Page/signature/openharmony_sx.p7b deleted file mode 100644 index 9be1e98fa4c0c28ca997ed660112fa16b194f0f5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3437 zcmcgvX>b$g8MY4FF(5FQyMT=#m||qU)nQ9cId-MBB-<-lvSdq&snM}IENNF>t+bK| zgowuF2vC|SxSZxNN5eHhV%(WPpbeB9Fc3;JDMtzMBv1-XAc2N~c2_tCXW&OCG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lfq<1uH`E{G9E z*(=)Css_LSk=>E9jr)s5^2-!+MN=Ds}>1hRma4`uCIz9%p3O77839E{xf z4c_I?**|1`K2tg4!Hvyrou4BsJQuv*UfF)<%CelYIS>D^o?X)3+MK%la6kooW8&G@BU)Y0hT`+mOm$Z_%rB=a%o>I z!2c6lHyKQN)VjiFwa!eE^p8jc$sy$vB+8i25lI~6KPFFh$!o$avA~rj#L6xvR|Z83 z*WD6T9e+5Pyy=F+)pNTf{ny3cy>7Rkd3o*TS?TZJ`NS^NF2%HMkyS{?uJ$`!P4_L^ z1`NFDUbNyg_qREifgktnp1_v{Jbb`7m}2PTyUdOmtJj~m z9bB=ecw4_^rw1IW=of+>nrW5=d3k`3qHCxsIN_F{T1A545};;+fsyC&qChi+YV zr~M63H8ZLCPYmsjY>ls9cL%I)F|JIW-#+48$+lD4k*(P*kDM%zx_fvu4u5ZYUnI}5 zdrycFq>xFU)&X3p@pP2u%$o}}YcRn(MhJ&B2o?KS@cIVz>Ye%o^xV?CB{_Qhu z;}_q1bvO^g{8<3!gYbo4Di{8qzV+(9 zdlmksohQmRTs@qB;(Wo?dER_ux6XQb@q$tQPW?CMu6GVQd;R=iR;-S{Kr%Zks7>b1 zNs{|-+jhObYE}NR&`TGGr^h^4bjh%c>R#@=8nM&Md>_a+zVulsl;){flFekV1t9ob z+SqfV_Pv3$2f)bQ8%Ul2>fdYR^1zs0BQF~olsOj5AodC&Q_7SMFzsz2 z9newxE&jodk~tNHwl%LBMMDbrk=(^b diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/BUILD.gn b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/BUILD.gn deleted file mode 100644 index 30b548b69..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/BUILD.gn +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright (c) 2021 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_hap("ActsAmsMultiAppPageService") { - hap_profile = "./entry/src/main/config.json" - hap_name = "ActsAmsMultiAppPageService" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./entry/src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./entry/src/main/js/resources" ] - hap_profile = "./entry/src/main/config.json" -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/config.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/config.json deleted file mode 100644 index a60da49a9..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/config.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "app": { - "bundleName": "com.example.actsamsmultipageappservice", - "vendor": "example", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.example.actsamsmultipageappservice", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry", - "installationFree": true - }, - "abilities": [ - { - "visible": true, - "name": "com.example.actsamsmultipageappservice.MainAbility", - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "service", - "isVisible": "true", - "launchType": "singleton" - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/default/app.js b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/default/app.js deleted file mode 100644 index c15844220..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 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('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d97..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/default/pages/index/index.css deleted file mode 100644 index a6053c61f..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) 2021 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. - */ - -.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; -} -.btn { - width: 50%; - height: 100px; - font-size: 40px; -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 63cfd9ee3..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,21 +0,0 @@ - - -
- - MultiAppPageStartServiceB - - -
diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/default/pages/index/index.js deleted file mode 100644 index 3a64e4932..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,154 +0,0 @@ -/* - * Copyright (c) 2021 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 file from '@system.file' -import {Core, ExpectExtend} from 'deccjsunit/index' -import rpc from "@ohos.rpc" -import commonEvent from '@ohos.commonEvent' -import particleAbility from '@ohos.ability.particleAbility' -import bundle from "@ohos.bundle" - -let mMyStub; -const MIN_CLONEUID = 20000000; - -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') - -export default { - data: { - title: "" - }, - onInit() { - this.title = this.$t('strings.world'); - }, - onReady() { - console.debug('ACTS_SerivceAbilityServer ====onReconnect=' - + want + " , JSON." + JSON.stringify(want)); - }, - onActive() { - console.debug('ACTS_SerivceAbilityServer ====onConnect=') - }, - onStart(want) { - console.debug('AMS_MultiApp ====>onStart=' - + want + " , JSON." + JSON.stringify(want)); - class MyStub extends rpc.RemoteObject { - constructor(des) { - super(des); - } - - onRemoteRequest(code, message, reply, option) { - console.log("AMS_MultiApp called "); - console.log("AMS_MultiApp code:" + code); - if (code === 1) { - let getContextObject = rpc.IPCSkeleton.getContextObject(); - let getCallingPid = rpc.IPCSkeleton.getCallingPid(); - let getCallingUid = rpc.IPCSkeleton.getCallingUid(); - let getCallingDeviceID = rpc.IPCSkeleton.getCallingDeviceID(); - let getLocalDeviceID = rpc.IPCSkeleton.getLocalDeviceID(); - let isLocalCalling = rpc.IPCSkeleton.isLocalCalling(); - let remoteObject = new rpc.RemoteObject("aaa", 3); - let flushCommands = rpc.IPCSkeleton.flushCommands(remoteObject); - let resetCallingIdentity = rpc.IPCSkeleton.resetCallingIdentity(); - let setCallingIdentity = rpc.IPCSkeleton.setCallingIdentity("aaa", 3); - let num = message.readInt(); - let msg = message.readString(); - console.log("num is " + num + "msg is " + msg); - reply.writeString("Success"); - return true; - } - } - } - mMyStub = new MyStub("ServiceAbility-test"); - }, - async onCommand(want, restart, startId) { - console.info('onCommand finish') - console.info('AMS_MultiApp want' - + JSON.stringify(want)); - - console.info('particleAbility--------------------------1'); - var featureData = await particleAbility.getWant(); - console.info('particleAbility--------------------------2'); - console.info('AMS_MultiApp featureData' + featureData); - console.info('AMS_MultiApp featureData' + JSON.stringify(featureData)); - console.info('AMS_MultiApp featureData-->bundleName' + featureData.bundleName); - - var flag = 0; - if((featureData.bundleName) == ("com.example.actsamsmultipageappservice")) - { - if ((featureData.abilityName) == ("com.example.actsamsmultipageappservice.MainAbility")) - { - flag = 1; - } - } - console.info('AMS_MultiApp flag' + JSON.stringify(flag)); - var info = await particleAbility.getAbilityInfo(); - console.info('AMS_MultiApp particleAbility.getAbilityInfo() ' - + JSON.stringify(info)); - console.info('AMS_MultiApp particleAbility.getAbilityInfo() ' - + info); - console.info('AMS_MultiApp particleAbility.getAbilityInfo() ' - + JSON.stringify(info.applicationInfo)); - bundle.getBundleInfo("com.example.actsamsmultipageappservice", 1, async(err, data) => { - console.info('AMS_MultiApp bundle.getBundleInfo ' - + JSON.stringify(data)); - if (data.uid >= MIN_CLONEUID) { - console.info('AMS_MultiApp Clone info ' + JSON.stringify(info.applicationInfo)); - if (info.applicationInfo.isCloned == true) - { - flag = 1; - - } - } else { - console.info('AMS_MultiApp Ontology info ' + JSON.stringify(info.applicationInfo)); - if (info.applicationInfo.isCloned == false) - { - flag = 2; - } - } - commonEvent.publish("ACTS_MultiAppPageService_onConnect" + flag, err =>{ - console.info('AMS_MultiApp resultflag' + JSON.stringify(flag)); - console.debug("=ACTS_MultiAppPageService_onConnect err,data=======>" - + ("json err【") + JSON.stringify(err) + (" 】") - + ("json flag【") + JSON.stringify(flag) + (" 】") - + " ,err=" + err + " ,flag=" + flag); - }); - return mMyStub; - }) - }, - OnAbilityConnectDone(element, remoteObject,resultCode){ - console.debug('ACTS_SerivceAbilityServer ====>OnAbilityConnectDone=' - + element + " , JSON." + JSON.stringify(element) - + remoteObject + " , JSON." + JSON.stringify(remoteObject) - + resultCode + " , JSON." + JSON.stringify(resultCode) - ); - }, - onDisconnect(want) { - console.debug('ACTS_SerivceAbilityServer ====>onDisConnect=' - + want + " , JSON." + JSON.stringify(want)); - }, -} - diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/resources/base/element/string.json deleted file mode 100644 index f94ce7e64..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "JsHelloWorld" - }, - { - "name": "mainability_description", - "value": "hap sample empty page" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/amsmultiapp/MultiAppPage_Service/entry/src/main/js/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 zrdpa{2QLqPJ4Y{j7=Mrl{BaxrkdY69+c~(w{Fv-v&aR%aEI&JYSeRTLWm!zbv;?)_ ziZB;fwGbbeL5Q}YLx`J$lp~A09KK8t_z}PZ=4ZzgdeKtgoc+o5EvN9A1K1_<>M?MBqb#!ASf&# zEX?<)!RH(7>1P+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?uJ$`!P4_L^ z1`NFDUbNyg_qREifgktnp1_v{Jbb`7m}2PTyUdOmtJj~m z9bB=ecw4_^rw1IW=of+>nrW5=d3k`3qHCxsIN_F{T1A545};;+fsyC&qChi+YV zr~M63H8ZLCPYmsjY>ls9cL%I)F|JIW-#+48$+lD4k*(P*kDM%zx_fvu4u5ZYUnI}5 zdrycFq>xFU)&X3p@pP2u%$o}}YcRn(MhJ&B2o?KS@cIVz>Ye%o^xV?CB{_Qhu z;}_q1bvO^g{8<3!gYbo4Di{8qzV+(9 zdlmksohQmRTs@qB;(Wo?dER_ux6XQb@q$tQPW?CMu6GVQd;R=iR;-S{Kr%Zks7>b1 zNs{|-+jhObYE}NR&`TGGr^h^4bjh%c>R#@=8nM&Md>_a+zVulsl;){flFekV1t9ob z+SqfV_Pv3$2f)bQ8%Ul2>fdYR^1zs0BQF~olsOj5AodC&Q_7SMFzsz2 z9newxE&jodk~tNHwl%LBMMDbrk=(^b diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/BUILD.gn b/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/BUILD.gn deleted file mode 100644 index 3cc0707df..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/BUILD.gn +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright (c) 2021 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("ActsAmsMultiAppSimultaneousOnline") { - hap_profile = "./entry/src/main/config.json" - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" - hap_name = "ActsAmsMultiAppSimultaneousOnline" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./entry/src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./entry/src/main/js/resources" ] - hap_profile = "./entry/src/main/config.json" -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/Test.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/Test.json deleted file mode 100644 index 3ec911dfc..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/Test.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "description": "Configuration for hjunit demo Tests" -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/config.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/config.json deleted file mode 100644 index 5a350906b..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/config.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "app": { - "bundleName": "com.example.actsamsmultiapppageontology", - "vendor": "example", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.example.actsamsmultiapppageontology", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry", - "installationFree": true - }, - "abilities": [ - { - "visible": true, - "name": "com.example.actsamsmultiapppageontology.MainAbility", - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "isVisible": "true", - "launchType": "singleton" - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/default/app.js b/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/default/app.js deleted file mode 100644 index c15844220..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 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('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d97..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/default/pages/index/index.css deleted file mode 100644 index a6053c61f..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) 2021 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. - */ - -.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; -} -.btn { - width: 50%; - height: 100px; - font-size: 40px; -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 5383a78a5..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,20 +0,0 @@ - - -
- - MultiAppSimultaneousOnlineA - -
diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/default/pages/index/index.js deleted file mode 100644 index c1ff8fdb1..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (c) 2021 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 file from '@system.file' -import {Core, ExpectExtend} from 'deccjsunit/index' - -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') - - const core = Core.getInstance() - const expectExtend = new ExpectExtend({ - 'id': 'extend' - }) - core.addService('expect', expectExtend) - core.init() - - const configService = core.getDefaultService('config') - configService.setConfig(this) - - require('../../../test/List.test') - core.execute() - }, - onReady() { - console.info('onReady'); - }, -} - diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/resources/base/element/string.json deleted file mode 100644 index f94ce7e64..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "JsHelloWorld" - }, - { - "name": "mainability_description", - "value": "hap sample empty page" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/entry/src/main/js/resources/base/media/icon.png deleted file mode 100644 index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 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JpafrPaL5@2j}%{VE-) zBI%6Qpj*dsdH<;g!S!avA~bv^0E+ zfyJbSjPb+j;J52U)<|cIcntQBI2T#>2;tOxu{%D?kML476AErF(qN9hPva5Nkc@BF zC-tLF@3ZFb%Kpj)M<{)x*l|*Ia@ECeXo2E4h2f!aV=cHAhi_E_mfUth(sM4^hJq7B zQsGWqdZUm9S%F`$nQ*_#NcuD`&)Ek%_s{&^78{9Hm ztri&rYLOxgFdG>O@+XHy z9#;|&vBCPXH5Mon^I`jSuR$&~ZWtyB67ujzFSj!51>#C}C17~TffQ{c-!QFQkTQ%! zIR^b1`zHx|*1GU?tbBx23weFLz5H?y_Q%N&t$}k?w+``2A=aotj0;2v$~AL z{scF-cL{wsdrmPvf#a9OHyYLcwQD4Kcm)`LLwMh4WT~p29f7M!iafJSU`IV}QY5Wa z(n44-9oA}?J{a+ah*@31WTs#&J#o1`H98#6IQf;Wv0N_!);f&9g7o-k(lW5rWnDUR zQBFIRG+X=6NnsI@mxnwm;tf5;_Uxg?jZ8m-m0}&6+DA!qam(p$mN5R})yA_7m$q@| zFEd|dpS595rxQr-n#GjI5i-AhnUE>Cr;jpCqSrD~EwK_DqI^7%3#p5)%T_od!t3SOmH9MyXeeGO2(UQL;ax|x?Ncixmeo1=$ z{-);Au{*tfzOG?KQ~K|ak8-HQ?`Pekhe2WM(8s{xv-p>Zmu_6{G!-oE$7$mY`MOJorI=+mMx?H;`pr!;fVYz?5~yXBACruWB`Ph zZM}90_<^OBxIhyZ9BW$`>6JvO;%VFpqVr8|7t3~AmxYak6?`Pp#c;**_SYmi`&z23 z`p6_~ePvH)C6x-G9$hgL=eVALq`-AiamN>!3~Lxw&{H(b{B(7xSRm6<3<{%{yXiH# zos5Rv1L+8fUKJLo%P>4I&$}y { - console.debug("====>Create Subscriber====>"); - subscriber = data; - console.debug("====>subscriber====>" + JSON.stringify(subscriber)); - await commonEvent.subscribe(subscriber, subscribeCallBack); - }) - - await featureAbility.startAbility( - { - want: - { - bundleName: "com.example.actsamsmultiapppageclone", - abilityName: "com.example.actsamsmultiapppageclone.MainAbility", - }, - }, - ); - - async function subscribeCallBack(err, data) { - console.debug("====>ActsAmsMultiAppSimultaneousOnline CallBack data:====>" - + JSON.stringify(data)); - console.debug("====>ActsAmsMultiAppSimultaneousOnline CallBack data.event:====>" - + JSON.stringify(data.event)); - if(data.event == "ACTS_StartAbility_CommonEvent"){ - console.debug("====> if data.event====>"); - await featureAbility.startAbility( - { - want: - { - bundleName: "com.example.actsamsmultiapppageclone", - abilityName: "com.example.actsamsmultiapppageclone.MainAbility", - }, - }, - ); - } - if(data.event == "ACTS_StartAbility_FinishEvent") { - function unSubscribeCallback() { - console.debug("====>UnSubscribe CallBack====>"); - done(); - } - commonEvent.unsubscribe(subscriber, unSubscribeCallback) - } - } - var processInfos = await abilityManager.getActiveProcessInfos(); - var cloneFlag = 0; - var selfFlag = 0; - for (var i = 0; i < processInfos.length; i++) { - console.info('ActsAmsMultiAppTermination process name ' + processInfos[i].processName); - if (processInfos[i].processName == "com.example.actsamsmultiapppageclonetermination") { - console.info('process uid = ' + processInfos[i].uid); - if (processInfos[i].uid >= MIN_CLONEUID) { - cloneFlag = 1; - } else { - selfFlag = 1; - } - } - } - expect(cloneFlag).assertEqual(1); - expect(selfFlag).assertEqual(1); - }) -}) diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline/signature/openharmony_sx.p7b deleted file mode 100644 index 9be1e98fa4c0c28ca997ed660112fa16b194f0f5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3437 zcmcgvX>b$g8MY4FF(5FQyMT=#m||qU)nQ9cId-MBB-<-lvSdq&snM}IENNF>t+bK| zgowuF2vC|SxSZxNN5eHhV%(WPpbeB9Fc3;JDMtzMBv1-XAc2N~c2_tCXW&OCGw6qQ z-s9VS-tT?h=bI0tMS+~WDXqHJyCPmLzd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MN=Ds}>1hRma4`uCIz9%p3O77839E{xf z4c_I?**|1`K2tg4!Hvyrou4BsJQuv*UfF)<%CelYIS>D^o?X)3+MK%la6kooW8&G@BU)Y0hT`+mOm$Z_%rB=a%o>I z!2c6lHyKQN)VjiFwa!eE^p8jc$sy$vB+8i25lI~6KPFFh$!o$avA~rj#L6xvR|Z83 z*WD6T9e+5Pyy=F+)pNTf{ny3cy>7Rkd3o*TS?TZJ`NS^NF2%HMkyS{?uJ$`!P4_L^ z1`NFDUbNyg_qREifgktnp1_v{Jbb`7m}2PTyUdOmtJj~m z9bB=ecw4_^rw1IW=of+>nrW5=d3k`3qHCxsIN_F{T1A545};;+fsyC&qChi+YV zr~M63H8ZLCPYmsjY>ls9cL%I)F|JIW-#+48$+lD4k*(P*kDM%zx_fvu4u5ZYUnI}5 zdrycFq>xFU)&X3p@pP2u%$o}}YcRn(MhJ&B2o?KS@cIVz>Ye%o^xV?CB{_Qhu z;}_q1bvO^g{8<3!gYbo4Di{8qzV+(9 zdlmksohQmRTs@qB;(Wo?dER_ux6XQb@q$tQPW?CMu6GVQd;R=iR;-S{Kr%Zks7>b1 zNs{|-+jhObYE}NR&`TGGr^h^4bjh%c>R#@=8nM&Md>_a+zVulsl;){flFekV1t9ob z+SqfV_Pv3$2f)bQ8%Ul2>fdYR^1zs0BQF~olsOj5AodC&Q_7SMFzsz2 z9newxE&jodk~tNHwl%LBMMDbrk=(^b diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/BUILD.gn b/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/BUILD.gn deleted file mode 100644 index a17a6fc39..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/BUILD.gn +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright (c) 2021 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_hap("ActsAmsMultiAppPageClone") { - hap_profile = "./entry/src/main/config.json" - hap_name = "ActsAmsMultiAppPageClone" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./entry/src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./entry/src/main/js/resources" ] - hap_profile = "./entry/src/main/config.json" -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/config.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/config.json deleted file mode 100644 index 775bdeb8a..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/config.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "app": { - "bundleName": "com.example.actsamsmultiapppageclone", - "vendor": "example", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.example.actsamsmultiapppageclone", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry", - "installationFree": true - }, - "abilities": [ - { - "visible": true, - "name": "com.example.actsamsmultiapppageclone.MainAbility", - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "isVisible": "true", - "launchType": "singleton" - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/default/app.js b/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/default/app.js deleted file mode 100644 index c15844220..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 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('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d97..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/default/pages/index/index.css deleted file mode 100644 index a6053c61f..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) 2021 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. - */ - -.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; -} -.btn { - width: 50%; - height: 100px; - font-size: 40px; -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/default/pages/index/index.hml deleted file mode 100644 index dbcf15de4..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,20 +0,0 @@ - - -
- - MultiAppSimultaneousOnlineB - -
diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/default/pages/index/index.js deleted file mode 100644 index c1ff8fdb1..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (c) 2021 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 file from '@system.file' -import {Core, ExpectExtend} from 'deccjsunit/index' - -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') - - const core = Core.getInstance() - const expectExtend = new ExpectExtend({ - 'id': 'extend' - }) - core.addService('expect', expectExtend) - core.init() - - const configService = core.getDefaultService('config') - configService.setConfig(this) - - require('../../../test/List.test') - core.execute() - }, - onReady() { - console.info('onReady'); - }, -} - diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/resources/base/element/string.json deleted file mode 100644 index f94ce7e64..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "JsHelloWorld" - }, - { - "name": "mainability_description", - "value": "hap sample empty page" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/entry/src/main/js/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 zrdpa{2QLqPJ4Y{j7=Mrl{BaxrkdY69+c~(w{Fv-v&aR%aEI&JYSeRTLWm!zbv;?)_ ziZB;fwGbbeL5Q}YLx`J$lp~A09KK8t_z}PZ=4ZzgdeKtgoc+o5EvN9A1K1_<>M?MBqb#!ASf&# zEX?<)!RH(7>1P+j=jqG(58}TVN-$psA6K}atCuI!KTJD&FMmH-78ZejBm)0qc{ESp z|LuG1{QnBUJRg_E=h1#XMWt2%fcoN@l7eAS!Es?Q+;XsRNPhiiE=@AqlLkJzF`O18 zbsbSmKN=aaq8k3NFYZfDWpKmM!coBU0(XnL8R{4=i|wi{!uWYM2je{U{B*K2PVdu&=E zTq*-XsEsJ$u5H4g6DIm2Y!DN`>^v|AqlwuCD;w45K0@eqauiqWf7l&o)+YLHm~|L~ z7$0v5mkobriU!H<@mVJHLlmQqzQ3d6Rh_-|%Yy2li*tHO>_vcnuZ7OR_xkAIuIU&x z-|8Y0wj|6|a6_I(v91y%k_kNw6pnkNdxjqG8!%Vz_d%c_!X+6-;1`GC9_FpjoHev5fEV7RhJ>r=mh-jp$fqbqRJ=obwdgLDVP5+s zy1=_DWG0Y-Jb3t^WXmkr(d9~08k-|#Ly zaNOmT(^9tIb&eb4%CzIT zAm3CUtWSr1t4?h1kk#NBi{U|pJslvME{q|_eS^3En>SOqSxyuN1x;Is@8~m?*>}** znrRFArP!K_52RpX*&JHMR<^lVdm8ypJ}0R(SD(51j;6@ni$6bQ+2X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(7xSRm6<3<{%{yXiH# zos5Rv1L+8fUKJLo%P>4I&$}yPublish CallBack ACTS_StartAbility_CommonEvent Ontology ====>"+err); - done(); - } - function PublishCallBackTwo(err) { - console.debug("====>Publish CallBack ACTS_StartAbility_CommonEvent Clone ====>"+err); - done(); - } - - var data = await featureAbility.getWant(); - expect(data.bundleName).assertEqual("com.example.actsamsmultiapppageclone"); - expect(data.abilityName).assertEqual("com.example.actsamsmultiapppageclone.MainAbility"); - var info = await featureAbility.getAbilityInfo(); - bundle.getBundleInfo("com.example.actsamsmultiapppageclone", 1, (err, data) => { - console.info('AMS_MultiApp_Simultaneous_Online_0100 data.uid ' - + JSON.stringify(data.uid)); - if (data.uid >= MIN_CLONEUID) { - console.info('AMS_MultiApp_Simultaneous_Online_0100 Clone info ' - + JSON.stringify(info.applicationInfo)); - expect(info.applicationInfo.isCloned).assertEqual(true); - commonEvent.publish("ACTS_StartAbility_CommonEvent", PublishCallBackTwo); - } else { - console.info('AMS_MultiApp_Simultaneous_Online_0100 Ontology info ' - + JSON.stringify(info.applicationInfo)); - expect(info.applicationInfo.isCloned).assertEqual(false); - commonEvent.publish("ACTS_StartAbility_FinishEvent", PublishCallBackOne); - } - }) - - }) -}) diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/amsmultiapp/MultiAppSimultaneousOnline_test/signature/openharmony_sx.p7b deleted file mode 100644 index 9be1e98fa4c0c28ca997ed660112fa16b194f0f5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3437 zcmcgvX>b$g8MY4FF(5FQyMT=#m||qU)nQ9cId-MBB-<-lvSdq&snM}IENNF>t+bK| zgowuF2vC|SxSZxNN5eHhV%(WPpbeB9Fc3;JDMtzMBv1-XAc2N~c2_tCXW&OCGw6qQ z-s9VS-tT?h=bI0tMS+~WDXqHJyCPmLzdbE-fV8Nd&*MRZfG8(#POFZG3xs@Lb{0ry z=R8j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K2tg4!Hvyrou4BsJQuv*UfF)<%CelYIS>D^o?X)3+MK%la6kooW8&G@BU)Y0hT`+mOm$Z_%rB=a%o>I z!2c6lHyKQN)VjiFwa!eE^p8jc$sy$vB+8i25lI~6KPFFh$!o$avA~rj#L6xvR|Z83 z*WD6T9e+5Pyy=F+)pNTf{ny3cy>7Rkd3o*TS?TZJ`NS^NF2%HMkyS{?uJ$`!P4_L^ z1`NFDUbNyg_qREifgktnp1_v{Jbb`7m}2PTyUdOmtJj~m z9bB=ecw4_^rw1IW=of+>nrW5=d3k`3qHCxsIN_F{T1A545};;+fsyC&qChi+YV zr~M63H8ZLCPYmsjY>ls9cL%I)F|JIW-#+48$+lD4k*(P*kDM%zx_fvu4u5ZYUnI}5 zdrycFq>xFU)&X3p@pP2u%$o}}YcRn(MhJ&B2o?KS@cIVz>Ye%o^xV?CB{_Qhu z;}_q1bvO^g{8<3!gYbo4Di{8qzV+(9 zdlmksohQmRTs@qB;(Wo?dER_ux6XQb@q$tQPW?CMu6GVQd;R=iR;-S{Kr%Zks7>b1 zNs{|-+jhObYE}NR&`TGGr^h^4bjh%c>R#@=8nM&Md>_a+zVulsl;){flFekV1t9ob z+SqfV_Pv3$2f)bQ8%Ul2>fdYR^1zs0BQF~olsOj5AodC&Q_7SMFzsz2 z9newxE&jodk~tNHwl%LBMMDbrk=(^b diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/BUILD.gn b/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/BUILD.gn deleted file mode 100644 index 3b9721bf0..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/BUILD.gn +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright (c) 2021 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("ActsAmsMultiAppTermination") { - hap_profile = "./entry/src/main/config.json" - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" - hap_name = "ActsAmsMultiAppTermination" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./entry/src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./entry/src/main/js/resources" ] - hap_profile = "./entry/src/main/config.json" -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/Test.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/Test.json deleted file mode 100644 index 3ec911dfc..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/Test.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "description": "Configuration for hjunit demo Tests" -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/config.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/config.json deleted file mode 100644 index d9553ca89..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/config.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "app": { - "bundleName": "com.example.actsamsmultiapptermination", - "vendor": "example", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.example.actsamsmultiapptermination", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry", - "installationFree": true - }, - "abilities": [ - { - "visible": true, - "name": "com.example.actsamsmultiapptermination.MainAbility", - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "isVisible": "true", - "launchType": "singleton" - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/default/app.js b/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/default/app.js deleted file mode 100644 index c15844220..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 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('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d97..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/default/pages/index/index.css deleted file mode 100644 index a6053c61f..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) 2021 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. - */ - -.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; -} -.btn { - width: 50%; - height: 100px; - font-size: 40px; -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 61ea59d93..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,21 +0,0 @@ - - -
- - {{ $t('strings.hello') }} {{title}} - - -
diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/default/pages/index/index.js deleted file mode 100644 index c1ff8fdb1..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (c) 2021 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 file from '@system.file' -import {Core, ExpectExtend} from 'deccjsunit/index' - -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') - - const core = Core.getInstance() - const expectExtend = new ExpectExtend({ - 'id': 'extend' - }) - core.addService('expect', expectExtend) - core.init() - - const configService = core.getDefaultService('config') - configService.setConfig(this) - - require('../../../test/List.test') - core.execute() - }, - onReady() { - console.info('onReady'); - }, -} - diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/resources/base/element/string.json deleted file mode 100644 index f94ce7e64..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "JsHelloWorld" - }, - { - "name": "mainability_description", - "value": "hap sample empty page" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/entry/src/main/js/resources/base/media/icon.png deleted file mode 100644 index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 liter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pafrPaL5@2j}%{VE-) zBI%6Qpj*dsdH<;g!S!avA~bv^0E+ zfyJbSjPb+j;J52U)<|cIcntQBI2T#>2;tOxu{%D?kML476AErF(qN9hPva5Nkc@BF zC-tLF@3ZFb%Kpj)M<{)x*l|*Ia@ECeXo2E4h2f!aV=cHAhi_E_mfUth(sM4^hJq7B zQsGWqdZUm9S%F`$nQ*_#NcuD`&)Ek%_s{&^78{9Hm ztri&rYLOxgFdG>O@+XHy z9#;|&vBCPXH5Mon^I`jSuR$&~ZWtyB67ujzFSj!51>#C}C17~TffQ{c-!QFQkTQ%! zIR^b1`zHx|*1GU?tbBx23weFLz5H?y_Q%N&t$}k?w+``2A=aotj0;2v$~AL z{scF-cL{wsdrmPvf#a9OHyYLcwQD4Kcm)`LLwMh4WT~p29f7M!iafJSU`IV}QY5Wa z(n44-9oA}?J{a+ah*@31WTs#&J#o1`H98#6IQf;Wv0N_!);f&9g7o-k(lW5rWnDUR zQBFIRG+X=6NnsI@mxnwm;tf5;_Uxg?jZ8m-m0}&6+DA!qam(p$mN5R})yA_7m$q@| zFEd|dpS595rxQr-n#GjI5i-AhnUE>Cr;jpCqSrD~EwK_DqI^7%3#p5)%T_od!t3SOmH9MyXeeGO2(UQL;ax|x?Ncixmeo1=$ z{-);Au{*tfzOG?KQ~K|ak8-HQ?`Pekhe2WM(8s{xv-p>Zmu_6{G!-oE$7$mY`MOJorI=+mMx?H;`pr!;fVYz?5~yXBACruWB`Ph zZM}90_<^OBxIhyZ9BW$`>6JvO;%VFpqVr8|7t3~AmxYak6?`Pp#c;**_SYmi`&z23 z`p6_~ePvH)C6x-G9$hgL=eVALq`-AiamN>!3~Lxw&{H(b{B(7xSRm6<3<{%{yXiH# zos5Rv1L+8fUKJLo%P>4I&$}y { - console.debug("====>Create Subscriber====>"); - subscriber = data; - await commonEvent.subscribe(subscriber, subscribeCallBack); - - }) - - await featureAbility.startAbility( - { - want: - { - bundleName: "com.example.actsamsmultiapppageclonetermination", - abilityName: "com.example.actsamsmultiapppageclonetermination.MainAbility", - }, - }, - ); - async function subscribeCallBack(err, data) { - if(data.event == "ACTS_StartAbility_CommonEvent"){ - console.debug("====> if data.event====>"); - await featureAbility.startAbility( - { - want: - { - bundleName: "com.example.actsamsmultiapppageclonetermination", - abilityName: "com.example.actsamsmultiapppageclonetermination.MainAbility", - }, - }, - ); - } - if(data.event == "ACTS_StartAbility_Terminate") { - async function unSubscribeCallback() { - console.info('ActsAmsMultiAppTermination unSubscribe'); - } - commonEvent.unsubscribe(subscriber, unSubscribeCallback) - console.debug("====>ActsAmsMultiAppTermination unSubscribeCallback====>" ); - } - } - sleep(3000); - var processInfos = await abilityManager.getActiveProcessInfos(); - var cloneFlag = 0; - var selfFlag = 0; - for (var i = 0; i < processInfos.length; i++) { - console.info('ActsAmsMultiAppTermination process name ' + processInfos[i].processName); - if (processInfos[i].processName == "com.example.actsamsmultiapppageclonetermination") { - console.info('process uid = ' + processInfos[i].uid); - if (processInfos[i].uid >= MIN_CLONEUID) { - cloneFlag = 1; - } else { - selfFlag = 1; - } - } - } - console.info('ActsAmsMultiAppTermination cloneFlag ' + cloneFlag); - console.info('ActsAmsMultiAppTermination selfFlag ' + selfFlag); - expect(cloneFlag).assertEqual(1); - expect(selfFlag).assertEqual(0); - done(); - }) -}) diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination/signature/openharmony_sx.p7b deleted file mode 100644 index 9be1e98fa4c0c28ca997ed660112fa16b194f0f5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3437 zcmcgvX>b$g8MY4FF(5FQyMT=#m||qU)nQ9cId-MBB-<-lvSdq&snM}IENNF>t+bK| zgowuF2vC|SxSZxNN5eHhV%(WPpbeB9Fc3;JDMtzMBv1-XAc2N~c2_tCXW&OCGw6qQ z-s9VS-tT?h=bI0tMS+~WDXqHJyCPmLzdbE-fV8Nd&*MRZfG8(#PO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p3O77839E{xf z4c_I?**|1`K2tg4!Hvyrou4BsJQuv*UfF)<%CelYIS>D^o?X)3+MK%la6kooW8&G@BU)Y0hT`+mOm$Z_%rB=a%o>I z!2c6lHyKQN)VjiFwa!eE^p8jc$sy$vB+8i25lI~6KPFFh$!o$avA~rj#L6xvR|Z83 z*WD6T9e+5Pyy=F+)pNTf{ny3cy>7Rkd3o*TS?TZJ`NS^NF2%HMkyS{?uJ$`!P4_L^ z1`NFDUbNyg_qREifgktnp1_v{Jbb`7m}2PTyUdOmtJj~m z9bB=ecw4_^rw1IW=of+>nrW5=d3k`3qHCxsIN_F{T1A545};;+fsyC&qChi+YV zr~M63H8ZLCPYmsjY>ls9cL%I)F|JIW-#+48$+lD4k*(P*kDM%zx_fvu4u5ZYUnI}5 zdrycFq>xFU)&X3p@pP2u%$o}}YcRn(MhJ&B2o?KS@cIVz>Ye%o^xV?CB{_Qhu z;}_q1bvO^g{8<3!gYbo4Di{8qzV+(9 zdlmksohQmRTs@qB;(Wo?dER_ux6XQb@q$tQPW?CMu6GVQd;R=iR;-S{Kr%Zks7>b1 zNs{|-+jhObYE}NR&`TGGr^h^4bjh%c>R#@=8nM&Md>_a+zVulsl;){flFekV1t9ob z+SqfV_Pv3$2f)bQ8%Ul2>fdYR^1zs0BQF~olsOj5AodC&Q_7SMFzsz2 z9newxE&jodk~tNHwl%LBMMDbrk=(^b diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/BUILD.gn b/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/BUILD.gn deleted file mode 100644 index d4e9747bc..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/BUILD.gn +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright (c) 2021 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_hap("ActsAmsMultiAppPageCloneTermination") { - hap_profile = "./entry/src/main/config.json" - hap_name = "ActsAmsMultiAppPageCloneTermination" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./entry/src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./entry/src/main/js/resources" ] - hap_profile = "./entry/src/main/config.json" -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/config.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/config.json deleted file mode 100644 index 5c86ec1bb..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/config.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "app": { - "bundleName": "com.example.actsamsmultiapppageclonetermination", - "vendor": "example", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.example.actsamsmultiapppageclonetermination", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry", - "installationFree": true - }, - "abilities": [ - { - "visible": true, - "name": "com.example.actsamsmultiapppageclonetermination.MainAbility", - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "isVisible": "true", - "launchType": "singleton" - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/default/app.js b/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/default/app.js deleted file mode 100644 index c15844220..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 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('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d97..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/default/pages/index/index.css deleted file mode 100644 index a6053c61f..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) 2021 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. - */ - -.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; -} -.btn { - width: 50%; - height: 100px; - font-size: 40px; -} diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 0ba77d9f3..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,20 +0,0 @@ - - -
- - MultiAppTerminationB - -
diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/default/pages/index/index.js deleted file mode 100644 index c1ff8fdb1..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (c) 2021 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 file from '@system.file' -import {Core, ExpectExtend} from 'deccjsunit/index' - -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') - - const core = Core.getInstance() - const expectExtend = new ExpectExtend({ - 'id': 'extend' - }) - core.addService('expect', expectExtend) - core.init() - - const configService = core.getDefaultService('config') - configService.setConfig(this) - - require('../../../test/List.test') - core.execute() - }, - onReady() { - console.info('onReady'); - }, -} - diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/resources/base/element/string.json deleted file mode 100644 index f94ce7e64..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "JsHelloWorld" - }, - { - "name": "mainability_description", - "value": "hap sample empty page" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/entry/src/main/js/resources/base/media/icon.png deleted file mode 100644 index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6790 zcmX|G1ymHk)?T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I%6Qpj*dsdH<;g!S!avA~bv^0E+ zfyJbSjPb+j;J52U)<|cIcntQBI2T#>2;tOxu{%D?kML476AErF(qN9hPva5Nkc@BF zC-tLF@3ZFb%Kpj)M<{)x*l|*Ia@ECeXo2E4h2f!aV=cHAhi_E_mfUth(sM4^hJq7B zQsGWqdZUm9S%F`$nQ*_#NcuD`&)Ek%_s{&^78{9Hm ztri&rYLOxgFdG>O@+XHy z9#;|&vBCPXH5Mon^I`jSuR$&~ZWtyB67ujzFSj!51>#C}C17~TffQ{c-!QFQkTQ%! zIR^b1`zHx|*1GU?tbBx23weFLz5H?y_Q%N&t$}k?w+``2A=aotj0;2v$~AL z{scF-cL{wsdrmPvf#a9OHyYLcwQD4Kcm)`LLwMh4WT~p29f7M!iafJSU`IV}QY5Wa z(n44-9oA}?J{a+ah*@31WTs#&J#o1`H98#6IQf;Wv0N_!);f&9g7o-k(lW5rWnDUR zQBFIRG+X=6NnsI@mxnwm;tf5;_Uxg?jZ8m-m0}&6+DA!qam(p$mN5R})yA_7m$q@| zFEd|dpS595rxQr-n#GjI5i-AhnUE>Cr;jpCqSrD~EwK_DqI^7%3#p5)%T_od!t3SOmH9MyXeeGO2(UQL;ax|x?Ncixmeo1=$ z{-);Au{*tfzOG?KQ~K|ak8-HQ?`Pekhe2WM(8s{xv-p>Zmu_6{G!-oE$7$mY`MOJorI=+mMx?H;`pr!;fVYz?5~yXBACruWB`Ph zZM}90_<^OBxIhyZ9BW$`>6JvO;%VFpqVr8|7t3~AmxYak6?`Pp#c;**_SYmi`&z23 z`p6_~ePvH)C6x-G9$hgL=eVALq`-AiamN>!3~Lxw&{H(b{B(7xSRm6<3<{%{yXiH# zos5Rv1L+8fUKJLo%P>4I&$}yPublish CallBack ACTS_StartAbility_CommonEvent Ontology ====>"+err); - done(); - } - function PublishCallBackTwo(err) { - console.debug("====>Publish CallBack ACTS_StartAbility_CommonEvent Clone ====>"+err); - done(); - } - - var data = await featureAbility.getWant(); - console.info('AMS_MultiApp_PageClone_Termination_0100 data ' - + JSON.stringify(data)); - expect(data.bundleName).assertEqual("com.example.actsamsmultiapppageclonetermination"); - expect(data.abilityName).assertEqual("com.example.actsamsmultiapppageclonetermination.MainAbility"); - var info = await featureAbility.getAbilityInfo(); - console.info('AMS_MultiApp_PageClone_Termination_0100 Clone info ' - + JSON.stringify(info.applicationInfo)); - bundle.getBundleInfo("com.example.actsamsmultiapppageclonetermination", 1, async (err, data) => { - console.info('AMS_MultiApp_PageClone_Termination_0100 data.uid ' - + JSON.stringify(data.uid)); - if (data.uid >= MIN_CLONEUID) { - expect(info.applicationInfo.isCloned).assertEqual(true); - commonEvent.publish("ACTS_StartAbility_CommonEvent",PublishCallBackTwo); - } else { - expect(info.applicationInfo.isCloned).assertEqual(false); - console.info('AMS_MultiApp_PageClone_Termination_0100 terminateSelf1 '); - featureAbility.terminateSelf(async () => { - commonEvent.publish("ACTS_StartAbility_Terminate",PublishCallBackOne); - console.info('AMS_MultiApp_PageClone_Termination_0100 terminateSelf async callback publish '); - }); - } - }) - }) -}) diff --git a/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/amsmultiapp/MultiAppTermination_test/signature/openharmony_sx.p7b deleted file mode 100644 index 9be1e98fa4c0c28ca997ed660112fa16b194f0f5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3437 zcmcgvX>b$g8MY4FF(5FQyMT=#m||qU)nQ9cId-MBB-<-lvSdq&snM}IENNF>t+bK| zgowuF2vC|SxSZxNN5eHhV%(WPpbeB9Fc3;JDMtzMBv1-XAc2N~c2_tCXW&OCGw6qQ z-s9VS-tT?h=bI0tMS+~WDXqHJyCPmLzdbE-fV8Nd&*MRZfG8(#POFZG3xs@Lb{0ry z=R8j3wWo!5g=yjKx#BoZMFS)uA)H}cTp@-^K`9VV?RC3J59@}eik*>n|pRKOLZ zxdn7G!Yv@9O#y<&eUy{)vMXb;fQR)ffVAADQsEMXm;I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8jc$sy$vB+8i25lI~6KPFFh$!o$avA~rj#L6xvR|Z83 z*WD6T9e+5Pyy=F+)pNTf{ny3cy>7Rkd3o*TS?TZJ`NS^NF2%HMkyS{?uJ$`!P4_L^ z1`NFDUbNyg_qREifgktnp1_v{Jbb`7m}2PTyUdOmtJj~m z9bB=ecw4_^rw1IW=of+>nrW5=d3k`3qHCxsIN_F{T1A545};;+fsyC&qChi+YV zr~M63H8ZLCPYmsjY>ls9cL%I)F|JIW-#+48$+lD4k*(P*kDM%zx_fvu4u5ZYUnI}5 zdrycFq>xFU)&X3p@pP2u%$o}}YcRn(MhJ&B2o?KS@cIVz>Ye%o^xV?CB{_Qhu z;}_q1bvO^g{8<3!gYbo4Di{8qzV+(9 zdlmksohQmRTs@qB;(Wo?dER_ux6XQb@q$tQPW?CMu6GVQd;R=iR;-S{Kr%Zks7>b1 zNs{|-+jhObYE}NR&`TGGr^h^4bjh%c>R#@=8nM&Md>_a+zVulsl;){flFekV1t9ob z+SqfV_Pv3$2f)bQ8%Ul2>fdYR^1zs0BQF~olsOj5AodC&Q_7SMFzsz2 z9newxE&jodk~tNHwl%LBMMDbrk=(^b diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/BUILD.gn b/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/BUILD.gn deleted file mode 100644 index 79d8a86ef..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/BUILD.gn +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (c) 2021 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_hap("ActsAmsMultiAppPageExecutor") { - hap_profile = "./src/main/config.json" - hap_name = "ActsAmsMultiAppPageExecutor" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./src/main/js/resources" ] - hap_profile = "./src/main/config.json" -} diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/signature/openharmony_sx.p7b deleted file mode 100644 index 9be1e98fa4c0c28ca997ed660112fa16b194f0f5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3437 zcmcgvX>b$g8MY4FF(5FQyMT=#m||qU)nQ9cId-MBB-<-lvSdq&snM}IENNF>t+bK| zgowuF2vC|SxSZxNN5eHhV%(WPpbeB9Fc3;JDMtzMBv1-XAc2N~c2_tCXW&OCGw6qQ z-s9VS-tT?h=bI0tMS+~WDXqHJyCPmLzdbE-fV8Nd&*MRZfG8(#POFZG3xs@Lb{0ry z=R8j3wWo!5g=yjKx#BoZMFS)uA)H}cTp@-^K`9VV?RC3J59@}eik*>n|pRKOLZ zxdn7G!Yv@9O#y<&eUy{)vMXb;fQR)ffVAADQsEMXm;IBMDLfLD0w^U;6%HVo-0Q_5 zCHEa?DBuauNpZzoF+tK27w#n~?u%toS-DhR4k@Q*{7x^8Q=D6&kd^_~J#VVG2LXkL zaAy=}U*?Jto)9hx5MGjdp9hcQAu@tfk_;l!PeyxPY<8b&+&D!CyaBh9=8BSVKLpk4 z4Ml3yY|&Th)vyK4cpC{!uU8v2YBlVV`d~(nz&<@{G1oe*DHub1z7~J5*;s2bX<)_* zV_Gbs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msjY>ls9cL%I)F|JIW-#+48$+lD4k*(P*kDM%zx_fvu4u5ZYUnI}5 zdrycFq>xFU)&X3p@pP2u%$o}}YcRn(MhJ&B2o?KS@cIVz>Ye%o^xV?CB{_Qhu z;}_q1bvO^g{8<3!gYbo4Di{8qzV+(9 zdlmksohQmRTs@qB;(Wo?dER_ux6XQb@q$tQPW?CMu6GVQd;R=iR;-S{Kr%Zks7>b1 zNs{|-+jhObYE}NR&`TGGr^h^4bjh%c>R#@=8nM&Md>_a+zVulsl;){flFekV1t9ob z+SqfV_Pv3$2f)bQ8%Ul2>fdYR^1zs0BQF~olsOj5AodC&Q_7SMFzsz2 z9newxE&jodk~tNHwl%LBMMDbrk=(^b diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/config.json b/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/config.json deleted file mode 100644 index 46a04fd87..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/config.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "app": { - "bundleName": "com.example.amsmultiapppageexecutor", - "vendor": "neusoft", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.example.amsmultiapppageexecutor", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry", - "installationFree": true - }, - "abilities": [ - { - "visible": true, - "name": "com.example.amsmultiapppageexecutor.MainAbility", - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "isVisible": "true", - "launchType": "standard" - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/default/app.js b/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/default/app.js deleted file mode 100644 index c15844220..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 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('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d97..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/default/pages/index/index.css deleted file mode 100644 index 6fda79275..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,9 +0,0 @@ -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/default/pages/index/index.hml deleted file mode 100644 index f64b040a5..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,5 +0,0 @@ -
- - {{ $t('strings.hello') }} {{ title }} - -
diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/default/pages/index/index.js deleted file mode 100644 index 028b1e566..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright (c) 2021 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 bundle from "@ohos.bundle" -import commonEvent from '@ohos.commonEvent' - -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') -let code; -const MIN_CLONEUID = 20000000; - -function publishCallBack() { - console.debug("====>Publish CallBack ====>"); -} - -async function onStartTest() { - var abilityWant = await featureAbility.getWant(); - var result = ""; - var bundleInfo; - console.log('PageExecutor bundleName' + abilityWant.bundleName); - console.log('PageExecutor abilityName' + abilityWant.abilityName); - if ((abilityWant.bundleName == "com.example.amsmultiapppageexecutor") && - (abilityWant.abilityName == "com.example.amsmultiapppageexecutor.MainAbility")) { - code = 1; - } else { - code = 2; - } - console.log('PageExecutor onStart code =' + code ); - var info = await featureAbility.getAbilityInfo(); - console.log('PageExecutor onStart info =' + JSON.stringify(info)); - bundleInfo = await bundle.getBundleInfo("com.example.amsmultiapppageexecutor", 1); - console.info('PageExecutor getBundleInfo =' + JSON.stringify(bundleInfo)); - if (bundleInfo.uid >= MIN_CLONEUID) { - if (info.applicationInfo.isCloned == true) { - result = "isCloned"; - } - } else { - if (info.applicationInfo.isCloned == false) { - result = "notCloned"; - } - } - var CommonEventPublishData = { - code: code, - data: result, - isOrdered: false - } - console.log('PageExecutor onStart publish'); - commonEvent.publish("subscriberInfoMultiAppPageByServiceStart", CommonEventPublishData, publishCallBack); -} - -export default { - data: { - title: "PageExecutor" - }, - onInit() { - this.title = "PageExecutor"; - }, - onShow() { - console.log('PageExecutor onShow start'); - try { - onStartTest(); - } catch (err) { - console.log('PageExecutor err = ' + err); - } - }, - onStart() { - console.log('PageExecutor onStart'); - }, - onStop() { - console.log('PageExecutor onStop'); - }, -} diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/resources/base/element/string.json deleted file mode 100644 index 30c8e1179..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "particletestserver" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/amsmultiapp/amsmultiapppageexecutor/src/main/js/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 zrdpa{2QLqPJ4Y{j7=Mrl{BaxrkdY69+c~(w{Fv-v&aR%aEI&JYSeRTLWm!zbv;?)_ ziZB;fwGbbeL5Q}YLx`J$lp~A09KK8t_z}PZ=4ZzgdeKtgoc+o5EvN9A1K1_<>M?MBqb#!ASf&# zEX?<)!RH(7>1P+j=jqG(58}TVN-$psA6K}atCuI!KTJD&FMmH-78ZejBm)0qc{ESp z|LuG1{QnBUJRg_E=h1#XMWt2%fcoN@l7eAS!Es?Q+;XsRNPhiiE=@AqlLkJzF`O18 zbsbSmKN=aaq8k3NFYZfDWpKmM!coBU0(XnL8R{4=i|wi{!uWYM2je{U{B*K2PVdu&=E zTq*-XsEsJ$u5H4g6DIm2Y!DN`>^v|AqlwuCD;w45K0@eqauiqWf7l&o)+YLHm~|L~ z7$0v5mkobriU!H<@mVJHLlmQqzQ3d6Rh_-|%Yy2li*tHO>_vcnuZ7OR_xkAIuIU&x z-|8Y0wj|6|a6_I(v91y%k_kNw6pnkNdxjqG8!%Vz_d%c_!X+6-;1`GC9_FpjoHev5fEV7RhJ>r=mh-jp$fqbqRJ=obwdgLDVP5+s zy1=_DWG0Y-Jb3t^WXmkr(d9~08k-|#Ly zaNOmT(^9tIb&eb4%CzIT zAm3CUtWSr1t4?h1kk#NBi{U|pJslvME{q|_eS^3En>SOqSxyuN1x;Is@8~m?*>}** znrRFArP!K_52RpX*&JHMR<^lVdm8ypJ}0R(SD(51j;6@ni$6bQ+2XL+R^|NnSp5}(kzvM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OBRXv&~%Bw|J#Y><i4=e%95bjtw|cJp=#P#Pf#*luqI_wR;fISDCJhAqSG6R%xItn%~QtZ@m%&u zjGGLX;t6Ls62eQvNmf@v+}J%54^CygxRZ`?8X#r|wkev7(s;Ou4T#y1XNNf)h;o7z z8a^Lfq<1uH`E{G9E z*(=)Css_LSk=>E9jr)s5^2-!+MN=Ds}>1hRma4`uCIz9%p3O77839E{xf z4c_I?**|1`K2tg4!Hvyrou4BsJQuv*UfF)<%CelYIS>D^o?X)3+MK%la6kooW8&G@BU)Y0hT`+mOm$Z_%rB=a%o>I z!2c6lHyKQN)VjiFwa!eE^p8jc$sy$vB+8i25lI~6KPFFh$!o$avA~rj#L6xvR|Z83 z*WD6T9e+5Pyy=F+)pNTf{ny3cy>7Rkd3o*TS?TZJ`NS^NF2%HMkyS{?uJ$`!P4_L^ z1`NFDUbNyg_qREifgktnp1_v{Jbb`7m}2PTyUdOmtJj~m z9bB=ecw4_^rw1IW=of+>nrW5=d3k`3qHCxsIN_F{T1A545};;+fsyC&qChi+YV zr~M63H8ZLCPYmsjY>ls9cL%I)F|JIW-#+48$+lD4k*(P*kDM%zx_fvu4u5ZYUnI}5 zdrycFq>xFU)&X3p@pP2u%$o}}YcRn(MhJ&B2o?KS@cIVz>Ye%o^xV?CB{_Qhu z;}_q1bvO^g{8<3!gYbo4Di{8qzV+(9 zdlmksohQmRTs@qB;(Wo?dER_ux6XQb@q$tQPW?CMu6GVQd;R=iR;-S{Kr%Zks7>b1 zNs{|-+jhObYE}NR&`TGGr^h^4bjh%c>R#@=8nM&Md>_a+zVulsl;){flFekV1t9ob z+SqfV_Pv3$2f)bQ8%Ul2>fdYR^1zs0BQF~olsOj5AodC&Q_7SMFzsz2 z9newxE&jodk~tNHwl%LBMMDbrk=(^b diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/config.json b/aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/config.json deleted file mode 100644 index 825a25f64..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/config.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "app": { - "bundleName": "com.example.amsmultiappserviceexecutor", - "vendor": "neusoft", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.example.amsmultiappserviceexecutor", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry", - "installationFree": true - }, - "abilities": [ - { - "visible": true, - "name": "com.example.amsmultiappserviceexecutor.MainAbility", - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "service", - "launchType": "standard" - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/default/app.js b/aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/default/app.js deleted file mode 100644 index c15844220..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 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('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d97..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/default/pages/index/index.css deleted file mode 100644 index 6fda79275..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,9 +0,0 @@ -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/default/pages/index/index.hml deleted file mode 100644 index f64b040a5..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,5 +0,0 @@ -
- - {{ $t('strings.hello') }} {{ title }} - -
diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/default/pages/index/index.js deleted file mode 100644 index 30e3f4d3e..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,158 +0,0 @@ -/* - * Copyright (c) 2021 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 rpc from "@ohos.rpc" -import particleAbility from '@ohos.ability.particleAbility' -import bundle from "@ohos.bundle" -import commonEvent from '@ohos.commonEvent' - -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') -let mMyStub; -let code; -const MIN_CLONEUID = 20000000; - -function publishCallBack() { - console.debug("====>Publish CallBack ====>"); -} - -async function onCommandTest(want) { - var abilityWant = await particleAbility.getWant(); - var result = ""; - var bundleInfo; - console.log('ServiceExecutor onCommandTest'); - if ((abilityWant.bundleName == "com.example.amsmultiappserviceexecutor") && - (abilityWant.abilityName == "com.example.amsmultiappserviceexecutor.MainAbility")) { - code = 1; - } else { - code = 2; - } - console.log('ServiceExecutor onCommand code =' + code ); - var info = await particleAbility.getAbilityInfo(); - console.log('ServiceExecutor onCommand info =' + JSON.stringify(info)); - bundleInfo = await bundle.getBundleInfo("com.example.amsmultiappserviceexecutor", 1); - console.info('ServiceExecutor getBundleInfo =' + JSON.stringify(bundleInfo)); - if (bundleInfo.uid >= MIN_CLONEUID) { - if (info.applicationInfo.isCloned == true) { - result = "isCloned"; - } - } else { - if (info.applicationInfo.isCloned == false) { - result = "notCloned"; - } - } - var CommonEventPublishData = { - code: code, - data: result, - isOrdered: false - } - if (want.action == 'StartSerciveExecutor') { - console.log('ServiceExecutor onCommand publish'); - commonEvent.publish("subscriberInfoMultiAppServiceByServiceStart", CommonEventPublishData, publishCallBack); - } -} - -async function onConnectTest(want) { - var abilityWant = await particleAbility.getWant(); - var result = ""; - var bundleInfo; - console.log('ServiceExecutor onConnectTest'); - if ((abilityWant.bundleName == "com.example.amsmultiappserviceexecutor") && - (abilityWant.abilityName == "com.example.amsmultiappserviceexecutor.MainAbility")) { - code = 1; - } else { - code = 2; - } - console.log('ServiceExecutor onCommand code =' + code); - var info = await particleAbility.getAbilityInfo(); - console.info('ServiceExecutor MultiApp service executor info ' + JSON.stringify(info)); - bundleInfo = await bundle.getBundleInfo("com.example.amsmultiappserviceexecutor", 1); - console.info('ServiceExecutor MultiApp service executor bundleInfo ' + JSON.stringify(bundleInfo)); - if (bundleInfo.uid >= MIN_CLONEUID) { - if (info.applicationInfo.isCloned == true) { - result = "isCloned"; - } - } else { - if (info.applicationInfo.isCloned == false) { - result = "notCloned"; - } - } - var CommonEventPublishData = { - code: code, - data: result, - isOrdered: false - } - if (want.action == 'ConnectSerciveExecutor') { - console.log('ServiceExecutor onConnect publish' + want.action); - commonEvent.publish("subscriberInfoMultiAppServiceByServiceConnect", CommonEventPublishData, publishCallBack); - } -} - -export default { - data: { - title: "ServiceExecutor" - }, - onInit() { - this.title = "ServiceExecutor"; - }, - onStart(want) { - console.log('ServiceExecutor onStart'); - class MyStub extends rpc.RemoteObject { - constructor(des) { - super(des); - } - - onRemoteRequest(code, message, reply, option) { - console.log("RPCTestServer onRemoteRequest called 1111"); - console.log("RPCTestServer onRemoteRequest code:" + code); - if (code === 1) { - let getContextObject = rpc.IPCSkeleton.getContextObject(); - let getCallingPid = rpc.IPCSkeleton.getCallingPid(); - let getCallingUid = rpc.IPCSkeleton.getCallingUid(); - let getCallingDeviceID = rpc.IPCSkeleton.getCallingDeviceID(); - let getLocalDeviceID = rpc.IPCSkeleton.getLocalDeviceID(); - let isLocalCalling = rpc.IPCSkeleton.isLocalCalling(); - let remoteObject = new rpc.RemoteObject("aaa", 3); - let flushCommands = rpc.IPCSkeleton.flushCommands(remoteObject); - let resetCallingIdentity = rpc.IPCSkeleton.resetCallingIdentity(); - let setCallingIdentity = rpc.IPCSkeleton.setCallingIdentity("aaa", 3); - let num = message.readInt(); - let msg = message.readString(); - console.log("num is " + num + "msg is " + msg); - reply.writeString("Success"); - return true; - } - } - } - mMyStub = new MyStub("ServiceStarter-test"); - }, - onStop() { - console.log('ServiceExecutor onStop'); - }, - onConnect(want) { - console.log('stub ServiceExecutor OnConnect' + JSON.stringify(want)); - onConnectTest(want); - return mMyStub; - }, - onReconnect(want) { - console.log('ServiceExecutor onReconnect'); - }, - onDisconnect() { - console.log('ServiceExecutor OnDisConnect'); - }, - onCommand(want, restart, startId) { - console.log('ServiceExecutor onCommand' + JSON.stringify(want)); - onCommandTest(want); - }, -} diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/resources/base/element/string.json deleted file mode 100644 index 30c8e1179..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "particletestserver" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/amsmultiapp/amsmultiappserviceexecutor/src/main/js/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!PU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1`K2tg4!Hvyrou4BsJQuv*UfF)<%CelYIS>D^o?X)3+MK%la6kooW8&G@BU)Y0hT`+mOm$Z_%rB=a%o>I z!2c6lHyKQN)VjiFwa!eE^p8jc$sy$vB+8i25lI~6KPFFh$!o$avA~rj#L6xvR|Z83 z*WD6T9e+5Pyy=F+)pNTf{ny3cy>7Rkd3o*TS?TZJ`NS^NF2%HMkyS{?uJ$`!P4_L^ z1`NFDUbNyg_qREifgktnp1_v{Jbb`7m}2PTyUdOmtJj~m z9bB=ecw4_^rw1IW=of+>nrW5=d3k`3qHCxsIN_F{T1A545};;+fsyC&qChi+YV zr~M63H8ZLCPYmsjY>ls9cL%I)F|JIW-#+48$+lD4k*(P*kDM%zx_fvu4u5ZYUnI}5 zdrycFq>xFU)&X3p@pP2u%$o}}YcRn(MhJ&B2o?KS@cIVz>Ye%o^xV?CB{_Qhu z;}_q1bvO^g{8<3!gYbo4Di{8qzV+(9 zdlmksohQmRTs@qB;(Wo?dER_ux6XQb@q$tQPW?CMu6GVQd;R=iR;-S{Kr%Zks7>b1 zNs{|-+jhObYE}NR&`TGGr^h^4bjh%c>R#@=8nM&Md>_a+zVulsl;){flFekV1t9ob z+SqfV_Pv3$2f)bQ8%Ul2>fdYR^1zs0BQF~olsOj5AodC&Q_7SMFzsz2 z9newxE&jodk~tNHwl%LBMMDbrk=(^b diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/config.json b/aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/config.json deleted file mode 100644 index a3db5b8b1..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/config.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "app": { - "bundleName": "com.example.amsmultiappservicestarter", - "vendor": "neusoft", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.example.amsmultiappservicestarter", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry", - "installationFree": true - }, - "abilities": [ - { - "visible": true, - "name": "com.example.amsmultiappservicestarter.MainAbility", - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "service", - "launchType": "standard" - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/default/app.js b/aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/default/app.js deleted file mode 100644 index c15844220..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 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('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d97..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/default/pages/index/index.css deleted file mode 100644 index 6fda79275..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,9 +0,0 @@ -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/default/pages/index/index.hml deleted file mode 100644 index f64b040a5..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,5 +0,0 @@ -
- - {{ $t('strings.hello') }} {{ title }} - -
diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/default/pages/index/index.js deleted file mode 100644 index 2e8ee3a4d..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,164 +0,0 @@ -/* - * Copyright (c) 2021 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 rpc from "@ohos.rpc" -import particleAbility from '@ohos.ability.particleAbility' -import commonEvent from '@ohos.commonEvent' - -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') -let mMyStub; -let bundleName = "com.example.amsmultiappserviceexecutor"; -let abilityName = "com.example.amsmultiappserviceexecutor.MainAbility"; -let pageBundleName = "com.example.amsmultiapppageexecutor"; -let pageAbilityName = "com.example.amsmultiapppageexecutor.MainAbility"; -let connId; -var mRemote; - -function onConnectCallback(element, remote) { - console.log('ServiceStarter ConnectAbility onConnect element.deviceId : ' + element.deviceId) - console.log('ServiceStarter ConnectAbility onConnect element.bundleName : ' + element.bundleName) - console.log('ServiceStarter ConnectAbility onConnect element.abilityName : ' + element.abilityName) - console.log('ServiceStarter ConnectAbility onConnect element.uri : ' + element.uri) - console.log('ServiceStarter ConnectAbility onConnect element.shortName : ' + element.shortName) - console.log('ServiceStarter ConnectAbility onConnect remote : ' + remote); - mRemote = remote; - console.log('ServiceStarter ConnectAbility onConnect remote 是否为proxy:' + (remote instanceof rpc.RemoteProxy)); - particleAbility.disconnectAbility( - connId, - (error, data) => { - console.log('MultiAppService DisconnectAbility result errCode : ' + error.code + " data: " + data) - }, - ); -} -function onDisconnectCallback(element) { - commonEvent.publish("DISCONNECT_0100", ()=>{console.log('disconnect finish1')}); - console.log('ServiceStarter ConnectAbility onDisconnect element.deviceId : ' + element.deviceId) - console.log('ServiceStarter ConnectAbility onDisconnect element.bundleName : ' + element.bundleName) - console.log('ServiceStarter ConnectAbility onDisconnect element.abilityName : ' + element.abilityName) - console.log('ServiceStarter ConnectAbility onDisconnect element.uri : ' + element.uri) - console.log('ServiceStarter ConnectAbility onDisconnect element.shortName : ' + element.shortName) -} -function onFailedCallback(code) { - console.log('ServiceStarter ConnectAbility onFailed errCode : ' + code) -} - -async function connectSerciveExecutor() { - console.log('ServiceStarter StartSerciveExecutor ConnectAbility set time before : '); - connId = await particleAbility.connectAbility( - { - bundleName: bundleName, - abilityName: abilityName, - action: "ConnectSerciveExecutor" - }, - { - onConnect: onConnectCallback, - onDisconnect: onDisconnectCallback, - onFailed: onFailedCallback, - }, - ); - console.log('ServiceStarter StartSerciveExecutor ConnectAbility connId : ' + connId); -} - -export default { - data: { - title: "ServiceStarter" - }, - onInit() { - this.title = "ServiceStarter"; - }, - onStart(want) { - console.log('ServiceStarter onStart'); - - class MyStub extends rpc.RemoteObject { - constructor(des) { - super(des); - } - - onRemoteRequest(code, message, reply, option) { - console.log("RPCTestServer onRemoteRequest called 1111"); - console.log("RPCTestServer onRemoteRequest code:" + code); - if (code === 1) { - let getContextObject = rpc.IPCSkeleton.getContextObject(); - let getCallingPid = rpc.IPCSkeleton.getCallingPid(); - let getCallingUid = rpc.IPCSkeleton.getCallingUid(); - let getCallingDeviceID = rpc.IPCSkeleton.getCallingDeviceID(); - let getLocalDeviceID = rpc.IPCSkeleton.getLocalDeviceID(); - let isLocalCalling = rpc.IPCSkeleton.isLocalCalling(); - let remoteObject = new rpc.RemoteObject("aaa", 3); - let flushCommands = rpc.IPCSkeleton.flushCommands(remoteObject); - let resetCallingIdentity = rpc.IPCSkeleton.resetCallingIdentity(); - let setCallingIdentity = rpc.IPCSkeleton.setCallingIdentity("aaa", 3); - let num = message.readInt(); - let msg = message.readString(); - console.log("num is " + num + "msg is " + msg); - reply.writeString("Success"); - return true; - } - } - } - mMyStub = new MyStub("ServiceStarter-test"); - }, - onStop() { - console.log('ServiceStarter onStop'); - }, - onConnect(want) { - console.log('stub ServiceStarter OnConnect' + JSON.stringify(want)); - if (want.action == 'ConnectSerciveExecutor') { - console.log('ServiceStarter ConnectSerciveExecutor IN') - connectSerciveExecutor(); - } - if (want.action == 'StartSerciveExecutor') { - console.log('stub ServiceStarter OnConnect start service executor') - particleAbility.startAbility( - { - want: - { - action: "StartSerciveExecutor", - type: "MIMETYPE", - deviceId: "", - bundleName: bundleName, - abilityName: abilityName, - uri: "" - }, - } - ); - } - if (want.action == 'StartPageExecutor') { - console.log('stub ServiceStarter start page executor') - particleAbility.startAbility( - { - want: - { - action: "StartPageExecutor", - deviceId: "", - bundleName: pageBundleName, - abilityName: pageAbilityName, - uri: "" - }, - } - ); - } - return mMyStub; - }, - onReconnect(want) { - console.log('ServiceStarter onReconnect'); - }, - onDisconnect() { - console.log('ServiceStarter OnDisConnect'); - }, - onCommand(want, restart, startId) { - console.log('ServiceStarter onCommand'); - }, -} diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/resources/base/element/string.json deleted file mode 100644 index da97ef2a8..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "amsmultiappservicestarter" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/amsmultiapp/amsmultiappservicestarter/src/main/js/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 zrdpa{2QLqPJ4Y{j7=Mrl{BaxrkdY69+c~(w{Fv-v&aR%aEI&JYSeRTLWm!zbv;?)_ ziZB;fwGbbeL5Q}YLx`J$l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_s{&^78{9Hm ztri&rYLOxgFdG>O@+XHy z9#;|&vBCPXH5Mon^I`jSuR$&~ZWtyB67ujzFSj!51>#C}C17~TffQ{c-!QFQkTQ%! zIR^b1`zHx|*1GU?tbBx23weFLz5H?y_Q%N&t$}k?w+``2A=aotj0;2v$~AL z{scF-cL{wsdrmPvf#a9OHyYLcwQD4Kcm)`LLwMh4WT~p29f7M!iafJSU`IV}QY5Wa z(n44-9oA}?J{a+ah*@31WTs#&J#o1`H98#6IQf;Wv0N_!);f&9g7o-k(lW5rWnDUR zQBFIRG+X=6NnsI@mxnwm;tf5;_Uxg?jZ8m-m0}&6+DA!qam(p$mN5R})yA_7m$q@| zFEd|dpS595rxQr-n#GjI5i-AhnUE>Cr;jpCqSrD~EwK_DqI^7%3#p5)%T_od!t3SOmH9MyXeeGO2(UQL;ax|x?Ncixmeo1=$ z{-);Au{*tfzOG?KQ~K|ak8-HQ?`Pekhe2WM(8s{xv-p>Zmu_6{G!-oE$7$mY`MOJorI=+mMx?H;`pr!;fVYz?5~yXBACruWB`Ph zZM}90_<^OBxIhyZ9BW$`>6JvO;%VFpqVr8|7t3~AmxYak6?`Pp#c;**_SYmi`&z23 z`p6_~ePvH)C6x-G9$hgL=eVALq`-AiamN>!3~Lxw&{H(b{B(7xSRm6<3<{%{yXiH# zos5Rv1L+8fUKJLo%P>4I&$}y - -
- - {{ $t('strings.hello') }} {{title}} - - -
diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiapptester/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/amsmultiapp/amsmultiapptester/entry/src/main/js/default/pages/index/index.js deleted file mode 100644 index c1ff8fdb1..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultiapptester/entry/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (c) 2021 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 file from '@system.file' -import {Core, ExpectExtend} from 'deccjsunit/index' - -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') - - const core = Core.getInstance() - const expectExtend = new ExpectExtend({ - 'id': 'extend' - }) - core.addService('expect', expectExtend) - core.init() - - const configService = core.getDefaultService('config') - configService.setConfig(this) - - require('../../../test/List.test') - core.execute() - }, - onReady() { - console.info('onReady'); - }, -} - diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiapptester/entry/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/amsmultiapp/amsmultiapptester/entry/src/main/js/resources/base/element/string.json deleted file mode 100644 index f94ce7e64..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultiapptester/entry/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "JsHelloWorld" - }, - { - "name": "mainability_description", - "value": "hap sample empty page" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiapptester/entry/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/amsmultiapp/amsmultiapptester/entry/src/main/js/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 zrdpa{2QLqPJ4Y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l|*Ia@ECeXo2E4h2f!aV=cHAhi_E_mfUth(sM4^hJq7B zQsGWqdZUm9S%F`$nQ*_#NcuD`&)Ek%_s{&^78{9Hm ztri&rYLOxgFdG>O@+XHy z9#;|&vBCPXH5Mon^I`jSuR$&~ZWtyB67ujzFSj!51>#C}C17~TffQ{c-!QFQkTQ%! zIR^b1`zHx|*1GU?tbBx23weFLz5H?y_Q%N&t$}k?w+``2A=aotj0;2v$~AL z{scF-cL{wsdrmPvf#a9OHyYLcwQD4Kcm)`LLwMh4WT~p29f7M!iafJSU`IV}QY5Wa z(n44-9oA}?J{a+ah*@31WTs#&J#o1`H98#6IQf;Wv0N_!);f&9g7o-k(lW5rWnDUR zQBFIRG+X=6NnsI@mxnwm;tf5;_Uxg?jZ8m-m0}&6+DA!qam(p$mN5R})yA_7m$q@| zFEd|dpS595rxQr-n#GjI5i-AhnUE>Cr;jpCqSrD~EwK_DqI^7%3#p5)%T_od!t3SOmH9MyXeeGO2(UQL;ax|x?Ncixmeo1=$ z{-);Au{*tfzOG?KQ~K|ak8-HQ?`Pekhe2WM(8s{xv-p>Zmu_6{G!-oE$7$mY`MOJorI=+mMx?H;`pr!;fVYz?5~yXBACruWB`Ph zZM}90_<^OBxIhyZ9BW$`>6JvO;%VFpqVr8|7t3~AmxYak6?`Pp#c;**_SYmi`&z23 z`p6_~ePvH)C6x-G9$hgL=eVALq`-AiamN>!3~Lxw&{H(b{B(7xSRm6<3<{%{yXiH# zos5Rv1L+8fUKJLo%P>4I&$}y{console.log('disconnect finish1')}); - console.log('StartMultiAppTester ConnectAbility onDisconnect element.deviceId : ' + element.deviceId) - console.log('StartMultiAppTester ConnectAbility onDisconnect element.bundleName : ' + element.bundleName) - console.log('StartMultiAppTester ConnectAbility onDisconnect element.abilityName : ' + element.abilityName) - console.log('StartMultiAppTester ConnectAbility onDisconnect element.uri : ' + element.uri) - console.log('StartMultiAppTester ConnectAbility onDisconnect element.shortName : ' + element.shortName) - } - function onFailedCallback(code) { - console.log('StartMultiAppTester ConnectAbility onFailed errCode : ' + code) - } - - /* - * @tc.number: AMS_MultiApp_0700 - * @tc.name: Connects a service ability, which is used to start another cloned service ability. - * @tc.desc: Check the event data of executor service ability publishes - */ - it('AMS_MultiApp_0700', 0, async function (done) { - console.log('AMS_MultiApp_0700====Subscribe CallBack data:====>" + JSON.stringify(data)); - events.set(data.event, 0); - if(events.size == 1) { - if(data.event == "DISCONNECT") { - expect(data.event).assertEqual("DISCONNECT"); - commonEvent.unsubscribe(subscriber, unSubscribeCallback) - done(); - } else { - clearTimeout(id); - expect(data.event).assertEqual("subscriberInfoMultiAppServiceByServiceStart"); - expect(data.data).assertEqual("notCloned"); - expect(data.code).assertEqual(1); - featureAbility.disconnectAbility( - connId, - (error, data) => { - console.log('MultiAppService DisconnectAbility result errCode : ' - + error.code + " data: " + data) - }, - ); - } - } else { - expect(data.event).assertEqual("DISCONNECT"); - commonEvent.unsubscribe(subscriber, unSubscribeCallback) - done(); - } - - } - - commonEvent.createSubscriber(subscriberInfoMultiApp0700).then(async (data) => { - console.debug("====>Create Subscriber====>"); - subscriber = data; - await commonEvent.subscribe(subscriber, subscribeCallBack); - }) - - function unSubscribeCallback() { - console.debug("====>UnSubscribe CallBack====>"); - } - - function timeout() { - expect().assertFail(); - console.debug('StartMultiAppTester timeout'); - featureAbility.disconnectAbility( - connId, - (error, data) => { - console.log('StartMultiAppTester DisconnectAbility result errCode : ' - + error.code + " data: " + data) - }, - ); - } - id = setTimeout(timeout, START_ABILITY_TIMEOUT); - console.log('StartMultiAppTester ConnectAbility id : ' + id); - connId = await featureAbility.connectAbility( - { - bundleName: bundleName, - abilityName: abilityName, - action: "StartSerciveExecutor" - }, - { - onConnect: onConnectCallback, - onDisconnect: onDisconnectCallback, - onFailed: onFailedCallback, - }, - ); - console.log('StartMultiAppTester ConnectAbility connId : ' + connId); - }) - - /* - * @tc.number: AMS_MultiApp_0800 - * @tc.name: Connects a service ability, which is used to connect another cloned service ability. - * @tc.desc: Check the event data of executor service ability publishes - */ - it('AMS_MultiApp_0800', 0, async function (done) { - console.log('AMS_MultiApp_0800====Subscribe CallBack data:====>" + JSON.stringify(data)); - events.set(data.event, 0); - if(events.size == 1) { - if(data.event == "DISCONNECT") { - expect(data.event).assertEqual("DISCONNECT"); - commonEvent.unsubscribe(subscriber, unSubscribeCallback) - done(); - } else { - clearTimeout(id); - expect(data.event).assertEqual("subscriberInfoMultiAppServiceByServiceConnect"); - expect(data.data).assertEqual("notCloned"); - expect(data.code).assertEqual(1); - featureAbility.disconnectAbility( - connId, - (error, data) => { - console.log('MultiAppService DisconnectAbility result errCode : ' - + error.code + " data: " + data) - }, - ); - } - } else { - expect(data.event).assertEqual("DISCONNECT"); - commonEvent.unsubscribe(subscriber, unSubscribeCallback) - done(); - } - - } - - commonEvent.createSubscriber(subscriberInfoMultiApp0800).then(async (data) => { - console.debug("====>Create Subscriber====>"); - subscriber = data; - await commonEvent.subscribe(subscriber, subscribeCallBack); - }) - - function unSubscribeCallback() { - console.debug("====>UnSubscribe CallBack====>"); - } - - function timeout() { - expect().assertFail(); - console.debug('StartMultiAppTester timeout'); - featureAbility.disconnectAbility( - connId, - (error, data) => { - console.log('StartMultiAppTester DisconnectAbility result errCode : ' - + error.code + " data: " + data) - }, - ); - } - id = setTimeout(timeout, START_ABILITY_TIMEOUT); - console.log('StartMultiAppTester ConnectAbility id : ' + id); - connId = await featureAbility.connectAbility( - { - bundleName: bundleName, - abilityName: abilityName, - action: "ConnectSerciveExecutor" - }, - { - onConnect: onConnectCallback, - onDisconnect: onDisconnectCallback, - onFailed: onFailedCallback, - }, - ); - console.log('StartMultiAppTester ConnectAbility connId : ' + connId); - }) - - /* - * @tc.number: AMS_MultiApp_0600 - * @tc.name: Connects a service ability, which is used to start a cloned page ability. - * @tc.desc: Check the event data of executor page ability publishes - */ - it('AMS_MultiApp_0600', 0, async function (done) { - console.log('AMS_MultiApp_0600====Subscribe CallBack data:====>" + JSON.stringify(data)); - events.set(data.event, 0); - - if(events.size == 1) { - if(data.event == "DISCONNECT") { - expect(data.event).assertEqual("DISCONNECT"); - commonEvent.unsubscribe(subscriber, unSubscribeCallback) - done(); - } else { - clearTimeout(id); - expect(data.event).assertEqual("subscriberInfoMultiAppPageByServiceStart"); - expect(data.data).assertEqual("notCloned"); - expect(data.code).assertEqual(1); - featureAbility.disconnectAbility( - connId, - (error, data) => { - console.log('MultiAppService DisconnectAbility result errCode : ' - + error.code + " data: " + data); - }, - ); - } - } else { - expect(data.event).assertEqual("DISCONNECT"); - commonEvent.unsubscribe(subscriber, unSubscribeCallback) - done(); - } - - } - commonEvent.createSubscriber(subscriberInfoMultiApp0600).then(async (data) => { - console.debug("====>Create Subscriber====>"); - subscriber = data; - await commonEvent.subscribe(subscriber, subscribeCallBack); - }) - - function unSubscribeCallback() { - console.debug("====>UnSubscribe CallBack====>"); - } - - function timeout() { - expect().assertFail(); - console.debug('StartMultiAppTester timeout'); - featureAbility.disconnectAbility( - connId, - (error, data) => { - console.log('StartMultiAppTester DisconnectAbility result errCode : ' - + error.code + " data: " + data); - }, - ); - } - id = setTimeout(timeout, START_ABILITY_TIMEOUT); - console.log('StartMultiAppTester AMS_MultiApp_0600 ConnectAbility id : ' + id); - connId = await featureAbility.connectAbility( - { - bundleName: bundleName, - abilityName: abilityName, - action: "StartPageExecutor" - }, - { - onConnect: onConnectCallback, - onDisconnect: onDisconnectCallback, - onFailed: onFailedCallback, - }, - ); - console.log('StartMultiAppTester AMS_MultiApp_0600 ConnectAbility connId : ' + connId); - }) -}) diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultiapptester/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/amsmultiapp/amsmultiapptester/signature/openharmony_sx.p7b deleted file mode 100644 index 9be1e98fa4c0c28ca997ed660112fa16b194f0f5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3437 zcmcgvX>b$g8MY4FF(5FQyMT=#m||qU)nQ9cId-MBB-<-lvSdq&snM}IENNF>t+bK|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6Ls62eQvNmf@v+}J%54^CygxRZ`?8X#r|wkev7(s;Ou4T#y1XNNf)h;o7z z8a^Lfq<1uH`E{G9E z*(=)Css_LSk=>E9jr)s5^2-!+MN=Ds}>1hRma4`uCIz9%p3O77839E{xf z4c_I?**|1`K2tg4!Hvyrou4BsJQuv*UfF)<%CelYIS>D^o?X)3+MK%la6kooW8&G@BU)Y0hT`+mOm$Z_%rB=a%o>I z!2c6lHyKQN)VjiFwa!eE^p8jc$sy$vB+8i25lI~6KPFFh$!o$avA~rj#L6xvR|Z83 z*WD6T9e+5Pyy=F+)pNTf{ny3cy>7Rkd3o*TS?TZJ`NS^NF2%HMkyS{?uJ$`!P4_L^ z1`NFDUbNyg_qREifgktnp1_v{Jbb`7m}2PTyUdOmtJj~m z9bB=ecw4_^rw1IW=of+>nrW5=d3k`3qHCxsIN_F{T1A545};;+fsyC&qChi+YV zr~M63H8ZLCPYmsjY>ls9cL%I)F|JIW-#+48$+lD4k*(P*kDM%zx_fvu4u5ZYUnI}5 zdrycFq>xFU)&X3p@pP2u%$o}}YcRn(MhJ&B2o?KS@cIVz>Ye%o^xV?CB{_Qhu z;}_q1bvO^g{8<3!gYbo4Di{8qzV+(9 zdlmksohQmRTs@qB;(Wo?dER_ux6XQb@q$tQPW?CMu6GVQd;R=iR;-S{Kr%Zks7>b1 zNs{|-+jhObYE}NR&`TGGr^h^4bjh%c>R#@=8nM&Md>_a+zVulsl;){flFekV1t9ob z+SqfV_Pv3$2f)bQ8%Ul2>fdYR^1zs0BQF~olsOj5AodC&Q_7SMFzsz2 z9newxE&jodk~tNHwl%LBMMDbrk=(^b diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/BUILD.gn b/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/BUILD.gn deleted file mode 100644 index 3699250c8..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/BUILD.gn +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright (c) 2021 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("ActsAmsMultiDataAbilityClone") { - hap_profile = "./entry/src/main/config.json" - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" - hap_name = "ActsAmsMultiDataAbilityClone" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./entry/src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./entry/src/main/js/resources" ] - hap_profile = "./entry/src/main/config.json" -} diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/Test.json b/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/Test.json deleted file mode 100644 index 4300a64be..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/Test.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "description": "Configuration for hjunit demo Tests" -} diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/config.json b/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/config.json deleted file mode 100644 index 11dd17188..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/config.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "app": { - "bundleName": "com.amsst.amsmultidataabilityclone", - "vendor": "amsst", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.amsst.amsmultidataabilityclone", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry" - }, - "abilities": [ - { - "skills": [ - { - "entities": [ - "entity.system.home", - "flag.home.intent.from.system" - ], - "actions": [ - "action.system.home" - ] - } - ], - "name": "com.amsst.amsmultidataabilityclone.MainAbility", - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "launchType": "standard", - "visible": true - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d97..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/default/pages/index/index.css deleted file mode 100644 index 6724ec055..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,12 +0,0 @@ -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} -.titleST { - font-size: 32px; -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 4f779dcdf..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,8 +0,0 @@ -
- - {{ $t('strings.hello') }} {{ title }} - - - STDataAbility - -
diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/default/pages/index/index.js deleted file mode 100644 index 4bfa4f7e4..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2021 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 file from '@system.file' -import app from '@system.app' -import {Core, ExpectExtend, ReportExtend} from 'deccjsunit/index' - -export default { - data: { - title: "" - }, - onInit() { - this.title = this.$t('strings.world'); - }, - onShow() { - console.info('====onShow finish====<') - const core = Core.getInstance() - const expectExtend = new ExpectExtend({ - 'id': 'extend' - }) - const reportExtend = new ReportExtend(file) - core.addService('expect', expectExtend) - core.addService('report', reportExtend) - core.init() - const configService = core.getDefaultService('config') - configService.setConfig(this) - - require('../../../test/List.test') - core.execute() - }, - onReady() { - }, -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/entry/src/main/js/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 zrdpa{2QLqPJ4Y{j7=Mrl{BaxrkdY69+c~(w{Fv-v&aR%aEI&JYSeRTLWm!zbv;?)_ ziZB;fwGbbeL5Q}YLx`J$lp~A09KK8t_z}PZ=4ZzgdeKtgoc+o5EvN9A1K1_<>M?MBqb#!ASf&# zEX?<)!RH(7>1P+j=jqG(58}TVN-$psA6K}atCuI!KTJD&FMmH-78ZejBm)0qc{ESp z|LuG1{QnBUJRg_E=h1#XMWt2%fcoN@l7eAS!Es?Q+;XsRNPhiiE=@AqlLkJzF`O18 zbsbSmKN=aaq8k3NFYZfDWpKmM!coBU0(XnL8R{4=i|wi{!uWYM2je{U{B*K2PVdu&=E zTq*-XsEsJ$u5H4g6DIm2Y!DN`>^v|AqlwuCD;w45K0@eqauiqWf7l&o)+YLHm~|L~ z7$0v5mkobriU!H<@mVJHLlmQqzQ3d6Rh_-|%Yy2li*tHO>_vcnuZ7OR_xkAIuIU&x z-|8Y0wj|6|a6_I(v91y%k_kNw6pnkNdxjqG8!%Vz_d%c_!X+6-;1`GC9_FpjoHev5fEV7RhJ>r=mh-jp$fqbqRJ=obwdgLDVP5+s zy1=_DWG0Y-Jb3t^WXmkr(d9~08k-|#Ly zaNOmT(^9tIb&eb4%CzIT zAm3CUtWSr1t4?h1kk#NBi{U|pJslvME{q|_eS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8|7t3~AmxYak6?`Pp#c;**_SYmi`&z23 z`p6_~ePvH)C6x-G9$hgL=eVALq`-AiamN>!3~Lxw&{H(b{B(7xSRm6<3<{%{yXiH# zos5Rv1L+8fUKJLo%P>4I&$}y { - console.debug('= ACTS_beforeAll ====: ' + DAHelper + " ,JSON. " + JSON.stringify(DAHelper)); - } catch (err) { - console.error('=ACTS_beforeAll acquireDataAbilityHelper catch(err)====>:' + err); - } - console.debug('= ACTS_beforeAll ==== { - console.debug('= ACTS_afterAll ====" + dataAbilityUri) - var cloneFlag = 0; - var selfFlag = 0; - var processInfos = await abilityManager.getActiveProcessInfos(); - console.info('ActsAmsMultiAppTermination processInfos length' + processInfos.length); - for (var i = 0; i < processInfos.length; i++) { - console.info('ActsAmsMultiAppTermination process name ' + processInfos[i].processName); - if (processInfos[i].processName == dataAbilityProcessName) { - console.info('process uid = ' + processInfos[i].uid); - if (processInfos[i].uid >= MIN_CLONEUID) { - cloneFlag = 1; - } else { - selfFlag = 1; - } - } - } - - console.log('AMS_MultiApp_0500====cloneFlag' + cloneFlag); - console.log('AMS_MultiApp_0500====selfFlag' + selfFlag); - expect(cloneFlag).assertEqual(1); - expect(selfFlag).assertEqual(0); - done(); - }) -}) \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityclone/signature/openharmony_sx.p7b deleted file mode 100644 index 9be1e98fa4c0c28ca997ed660112fa16b194f0f5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3437 zcmcgvX>b$g8MY4FF(5FQyMT=#m||qU)nQ9cId-MBB-<-lvSdq&snM}IENNF>t+bK| zgowuF2vC|SxSZxNN5eHhV%(WPpbeB9Fc3;JDMtzMBv1-XAc2N~c2_tCXW&OCGw6qQ z-s9VS-tT?h=bI0tMS+~WDXqHJyCPmLzdbE-fV8Nd&*MRZfG8(#POFZG3xs@Lb{0ry z=R8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`K2tg4!Hvyrou4BsJQuv*UfF)<%CelYIS>D^o?X)3+MK%la6kooW8&G@BU)Y0hT`+mOm$Z_%rB=a%o>I z!2c6lHyKQN)VjiFwa!eE^p8jc$sy$vB+8i25lI~6KPFFh$!o$avA~rj#L6xvR|Z83 z*WD6T9e+5Pyy=F+)pNTf{ny3cy>7Rkd3o*TS?TZJ`NS^NF2%HMkyS{?uJ$`!P4_L^ z1`NFDUbNyg_qREifgktnp1_v{Jbb`7m}2PTyUdOmtJj~m z9bB=ecw4_^rw1IW=of+>nrW5=d3k`3qHCxsIN_F{T1A545};;+fsyC&qChi+YV zr~M63H8ZLCPYmsjY>ls9cL%I)F|JIW-#+48$+lD4k*(P*kDM%zx_fvu4u5ZYUnI}5 zdrycFq>xFU)&X3p@pP2u%$o}}YcRn(MhJ&B2o?KS@cIVz>Ye%o^xV?CB{_Qhu z;}_q1bvO^g{8<3!gYbo4Di{8qzV+(9 zdlmksohQmRTs@qB;(Wo?dER_ux6XQb@q$tQPW?CMu6GVQd;R=iR;-S{Kr%Zks7>b1 zNs{|-+jhObYE}NR&`TGGr^h^4bjh%c>R#@=8nM&Md>_a+zVulsl;){flFekV1t9ob z+SqfV_Pv3$2f)bQ8%Ul2>fdYR^1zs0BQF~olsOj5AodC&Q_7SMFzsz2 z9newxE&jodk~tNHwl%LBMMDbrk=(^b diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/BUILD.gn b/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/BUILD.gn deleted file mode 100644 index eefc57c4e..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/BUILD.gn +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright (c) 2021 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("ActsAmsMultiDataAbilitySelf") { - hap_profile = "./entry/src/main/config.json" - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" - hap_name = "ActsAmsMultiDataAbilitySelf" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./entry/src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./entry/src/main/js/resources" ] - hap_profile = "./entry/src/main/config.json" -} diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/Test.json b/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/Test.json deleted file mode 100644 index 4300a64be..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/Test.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "description": "Configuration for hjunit demo Tests" -} diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/config.json b/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/config.json deleted file mode 100644 index 2c26ab153..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/config.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "app": { - "bundleName": "com.amsst.amsmultidataabilityself", - "vendor": "amsst", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.amsst.amsmultidataabilityself", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry" - }, - "abilities": [ - { - "skills": [ - { - "entities": [ - "entity.system.home", - "flag.home.intent.from.system" - ], - "actions": [ - "action.system.home" - ] - } - ], - "name": "com.amsst.amsmultidataabilityself.MainAbility", - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "launchType": "standard", - "visible": true - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/default/app.js b/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/default/app.js deleted file mode 100644 index 4b241cccb..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/default/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (C) 2021 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('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - } -}; diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d97..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/default/pages/index/index.css deleted file mode 100644 index 6724ec055..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,12 +0,0 @@ -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} -.titleST { - font-size: 32px; -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 4f779dcdf..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,8 +0,0 @@ -
- - {{ $t('strings.hello') }} {{ title }} - - - STDataAbility - -
diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/default/pages/index/index.js deleted file mode 100644 index 4bfa4f7e4..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2021 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 file from '@system.file' -import app from '@system.app' -import {Core, ExpectExtend, ReportExtend} from 'deccjsunit/index' - -export default { - data: { - title: "" - }, - onInit() { - this.title = this.$t('strings.world'); - }, - onShow() { - console.info('====onShow finish====<') - const core = Core.getInstance() - const expectExtend = new ExpectExtend({ - 'id': 'extend' - }) - const reportExtend = new ReportExtend(file) - core.addService('expect', expectExtend) - core.addService('report', reportExtend) - core.init() - const configService = core.getDefaultService('config') - configService.setConfig(this) - - require('../../../test/List.test') - core.execute() - }, - onReady() { - }, -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/resources/base/element/string.json deleted file mode 100644 index baf5b3c1c..000000000 --- a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "STDataAbility" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/entry/src/main/js/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 zrdpa{2QLqPJ4Y{j7=Mrl{BaxrkdY69+c~(w{Fv-v&aR%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Uth(sM4^hJq7B zQsGWqdZUm9S%F`$nQ*_#NcuD`&)Ek%_s{&^78{9Hm ztri&rYLOxgFdG>O@+XHy z9#;|&vBCPXH5Mon^I`jSuR$&~ZWtyB67ujzFSj!51>#C}C17~TffQ{c-!QFQkTQ%! zIR^b1`zHx|*1GU?tbBx23weFLz5H?y_Q%N&t$}k?w+``2A=aotj0;2v$~AL z{scF-cL{wsdrmPvf#a9OHyYLcwQD4Kcm)`LLwMh4WT~p29f7M!iafJSU`IV}QY5Wa z(n44-9oA}?J{a+ah*@31WTs#&J#o1`H98#6IQf;Wv0N_!);f&9g7o-k(lW5rWnDUR zQBFIRG+X=6NnsI@mxnwm;tf5;_Uxg?jZ8m-m0}&6+DA!qam(p$mN5R})yA_7m$q@| zFEd|dpS595rxQr-n#GjI5i-AhnUE>Cr;jpCqSrD~EwK_DqI^7%3#p5)%T_od!t3SOmH9MyXeeGO2(UQL;ax|x?Ncixmeo1=$ z{-);Au{*tfzOG?KQ~K|ak8-HQ?`Pekhe2WM(8s{xv-p>Zmu_6{G!-oE$7$mY`MOJorI=+mMx?H;`pr!;fVYz?5~yXBACruWB`Ph zZM}90_<^OBxIhyZ9BW$`>6JvO;%VFpqVr8|7t3~AmxYak6?`Pp#c;**_SYmi`&z23 z`p6_~ePvH)C6x-G9$hgL=eVALq`-AiamN>!3~Lxw&{H(b{B(7xSRm6<3<{%{yXiH# zos5Rv1L+8fUKJLo%P>4I&$}y { - console.debug('= ACTS_beforeAll ====: ' + DAHelper + " ,JSON. " + JSON.stringify(DAHelper)); - } catch (err) { - console.error('=ACTS_beforeAll acquireDataAbilityHelper catch(err)====>:' + err); - } - console.debug('= ACTS_beforeAll ==== { - console.debug('= ACTS_afterAll ====" + dataAbilityUri) - var cloneFlag = 0; - var selfFlag = 0; - var processInfos = await abilityManager.getActiveProcessInfos(); - console.info('ActsAmsMultiAppTermination processInfos length' + processInfos.length); - for (var i = 0; i < processInfos.length; i++) { - console.info('ActsAmsMultiAppTermination process name ' + processInfos[i].processName); - if (processInfos[i].processName == dataAbilityProcessName) { - console.info('process uid = ' + processInfos[i].uid); - if (processInfos[i].uid >= MIN_CLONEUID) { - cloneFlag = 1; - } else { - selfFlag = 1; - } - } - } - - console.log('AMS_MultiApp_0400====cloneFlag' + cloneFlag); - console.log('AMS_MultiApp_0400====selfFlag' + selfFlag); - expect(cloneFlag).assertEqual(0); - expect(selfFlag).assertEqual(1); - done(); - }) -}) \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/amsmultiapp/amsmultidataabilityself/signature/openharmony_sx.p7b deleted file mode 100644 index 9be1e98fa4c0c28ca997ed660112fa16b194f0f5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3437 zcmcgvX>b$g8MY4FF(5FQyMT=#m||qU)nQ9cId-MBB-<-lvSdq&snM}IENNF>t+bK| zgowuF2vC|SxSZxNN5eHhV%(WPpbeB9Fc3;JDMtzMBv1-XAc2N~c2_tCXW&OCGw6qQ z-s9VS-tT?h=bI0tMS+~WDXqHJyCPmLzdbE-fV8Nd&*MRZfG8(#POFZG3xs@Lb{0ry z=R8j3wWo!5g=yjKx#BoZMFS)uA)H}cTp@-^K`9VV?RC3J59@}eik*>n|pRKOLZ zxdn7G!Yv@9O#y<&eUy{)vMXb;fQR)ffVAADQsEMXm;IBMDLfLD0w^U;6%HVo-0Q_5 zCHEa?DBuauNpZzoF+tK27w#n~?u%toS-DhR4k@Q*{7x^8Q=D6&kd^_~J#VVG2LXkL zaAy=}U*?Jto)9hx5MGjdp9hcQAu@tfk_;l!PeyxPY<8b&+&D!CyaBh9=8BSVKLpk4 z4Ml3yY|&Th)vyK4cpC{!uU8v2YBlVV`d~(nz&<@{G1oe*DHub1z7~J5*;s2bX<)_* zV_GbsPQg`(&rpxRb_*Od7}++3+liSw-$!1 zs5*g}EHWhI3i|!-FcfzYL0`SL-rq>LENC;PMl)G(0(1U2%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%$o}}YcRn(MhJ&B2o?KS@cIVz>Ye%o^xV?CB{_Qhu z;}_q1bvO^g{8<3!gYbo4Di{8qzV+(9 zdlmksohQmRTs@qB;(Wo?dER_ux6XQb@q$tQPW?CMu6GVQd;R=iR;-S{Kr%Zks7>b1 zNs{|-+jhObYE}NR&`TGGr^h^4bjh%c>R#@=8nM&Md>_a+zVulsl;){flFekV1t9ob z+SqfV_Pv3$2f)bQ8%Ul2>fdYR^1zs0BQF~olsOj5AodC&Q_7SMFzsz2 z9newxE&jodk~tNHwl%LBMMDbrk=(^b diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/BUILD.gn b/aafwk/aafwk_standard/amsprocessmanageapi7/BUILD.gn deleted file mode 100644 index 3869e6d8f..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/BUILD.gn +++ /dev/null @@ -1,27 +0,0 @@ -# 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 -# -# 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") - -group("amsprocessmanageapi7") { - testonly = true - if (is_standard_system) { - deps = [ - # "actsprocessmanagejstest:ActsAmsProcessManageJsTestApi7", - "pmsystemappa:ActsAmsProcessManageSystemAppAApi7", - "pmsystemappamulti:ActsAmsProcessManageSystemAppAMultiApi7", - "pmsystemappb:ActsAmsProcessManageSystemAppBApi7", - "pmvendorappa:ActsAmsProcessManageVendorAppAApi7", - ] - } -} diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/BUILD.gn b/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/BUILD.gn deleted file mode 100644 index d56ee0384..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/BUILD.gn +++ /dev/null @@ -1,31 +0,0 @@ -# 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 -# -# 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("ActsAmsProcessManageJsTestApi7") { - hap_name = "ActsAmsProcessManageJsTestApi7" - hap_profile = "./entry/src/main/config.json" - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./entry/src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./entry/src/main/js/resources" ] - hap_profile = "./entry/src/main/config.json" -} diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/Test.json b/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/Test.json deleted file mode 100644 index 50d1e3c14..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/Test.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "description": "Configuration for hjsunit Tests", - "driver": { - "type": "JSUnitTest", - "test-timeout": "300000", - "package": "com.acts.actsprocessmanagejstestapi7", - "shell-timeout": "60000" - }, - "kits": [ - { - "test-file-name": [ - "ActsAmsProcessManageJsTestApi7.hap" - ], - "type": "AppInstallKit", - "cleanup-apps": true - }, - { - "type": "ShellKit", - "run-command": [ - "remount" - ] - }, - { - "type": "PushKit", - "push": [ - "ActsAmsProcessManageSystemAppAApi7.hap->/data/ActsAmsProcessManageSystemAppAApi7.hap", - "ActsAmsProcessManageSystemAppAMultiApi7.hap->/data/ActsAmsProcessManageSystemAppAMultiApi7.hap", - "ActsAmsProcessManageSystemAppBApi7.hap->/data/ActsAmsProcessManageSystemAppBApi7.hap", - "ActsAmsProcessManageVendorAppAApi7.hap->/data/ActsAmsProcessManageVendorAppAApi7.hap" - ] - - }, - { - "type": "ShellKit", - "run-command": [ - "chmod 644 /data/*.hap" - ] - } - ] -} diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/config.json b/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/config.json deleted file mode 100644 index 855dbe435..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/config.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "app": { - "bundleName": "com.acts.actsprocessmanagejstestapi7", - "vendor": "example", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.acts.actsprocessmanagejstestapi7", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry" - }, - "abilities": [ - { - "skills": [ - { - "entities": [ - "entity.system.home" - ], - "actions": [ - "action.system.home" - ] - } - ], - "name": "com.acts.actsprocessmanagejstestapi7.MainAbility", - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "launchType": "singleton", - "visible": true - } - ], - "reqPermissions": [ - { - "name":"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", - "reason":"need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" - }, - { - "name":"ohos.permission.GET_BUNDLE_INFO", - "reason":"need use ohos.permission.GET_BUNDLE_INFO" - }, - { - "name":"ohos.permission.CHANGE_ABILITY_ENABLED_STATE", - "reason":"need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE" - }, - { - "name":"ohos.permission.REMOVE_CACHE_FILES", - "reason":"need use ohos.permission.REMOVE_CACHE_FILES" - }, - { - "name":"ohos.permission.LISTEN_BUNDLE_CHANGE", - "reason":"need use ohos.permission.LISTEN_BUNDLE_CHANGE" - }, - { - "name":"ohos.permission.INSTALL_BUNDLE", - "reason":"need use ohos.permission.INSTALL_BUNDLE" - }, - { - "name":"ohos.permission.MANAGE_MISSIONS", - "reason":"need use ohos.permission.MANAGE_MISSIONS" - }, - { - "name":"ohos.permission.GET_RUNNING_INFO", - "reason":"need use ohos.permission.GET_RUNNING_INFO" - }, - { - "name":"ohos.permission.CLEAN_BACKGROUND_PROCESSES", - "reason":"need use ohos.permission.CLEAN_BACKGROUND_PROCESSES" - }, - { - "name":"ohos.permission.CLEAN_APPLICATION_DATA", - "reason":"need use ohos.permission.CLEAN_APPLICATION_DATA" - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/default/app.js b/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/default/app.js deleted file mode 100644 index 11ca2c1d6..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/default/app.js +++ /dev/null @@ -1,28 +0,0 @@ -/* - * 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 - * - * 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('ActsProcessManageJsTest onCreate'); - }, - onDestroy() { - console.info('ActsProcessManageJsTest onDestroy'); - }, - onShow() { - console.info('ActsProcessManageJsTest onShow'); - }, - onHide() { - console.info('ActsProcessManageJsTest onHide'); - } -}; diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d97..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/default/pages/index/index.css deleted file mode 100644 index cfd4c53e3..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,14 +0,0 @@ -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} - -.btn { - width: 200px; - height: 80px; -} diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 83c5e0fca..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,6 +0,0 @@ -
- - {{ $t('strings.hello') }} {{ title }} - - -
diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/default/pages/index/index.js deleted file mode 100644 index a6d4c3ea6..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,84 +0,0 @@ -/* - * 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 - * - * 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 { Core, ExpectExtend } from 'deccjsunit/index' - -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') - -export default { - data: { - title: "", - testTime: 0 - }, - onInit() { - console.info('ActsProcessManageJsTest onInit'); - this.title = this.$t('strings.world'); - }, - onShow() { - console.info('ActsProcessManageJsTest onShow'); - console.info('ActsProcessManageJsTest testTime' + this.testTime); - if (this.testTime == 0) { - const core = Core.getInstance() - const expectExtend = new ExpectExtend({ - 'id': 'extend' - }) - core.addService('expect', expectExtend) - core.init() - const configService = core.getDefaultService('config') - this.timeout = 30000; - configService.setConfig(this) - - require('../../../test/List.test') - core.execute() - } - this.testTime++; - }, - onReady() { - console.info('ActsProcessManageJsTest onReady'); - }, - onActive() { - console.info('ActsProcessManageJsTest onActive'); - }, - onInactive() { - console.info('ActsProcessManageJsTest onInactive'); - }, - onHide() { - console.info('ActsProcessManageJsTest onHide'); - }, - onDestroy() { - console.info('ActsProcessManageJsTest onDestroy'); - }, - onBackPress() { - console.info('ActsProcessManageJsTest onBackPress'); - }, - onNewRequest() { - console.info('ActsProcessManageJsTest onNewRequest'); - }, - onStartContinuation() { - console.info('ActsProcessManageJsTest onStartContinuation'); - }, - onSaveData(value) { - console.info('ActsProcessManageJsTest onSaveData:' + JSON.stringify(value)); - }, - onRestoreData(value) { - console.info('ActsProcessManageJsTest onRestoreData:' + JSON.stringify(value)); - }, - onCompleteContinuation(code) { - console.info('ActsProcessManageJsTest onCompleteContinuation:' + JSON.stringify(code)); - }, - onConfigurationUpdated(configuration) { - console.info('ActsProcessManageJsTest onConfigurationUpdated:' + JSON.stringify(configuration)); - } -} diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/resources/base/element/string.json deleted file mode 100644 index 03574a36c..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "actsparticleabilitytest" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/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~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2;tOxu{%D?kML476AErF(qN9hPva5Nkc@BF zC-tLF@3ZFb%Kpj)M<{)x*l|*Ia@ECeXo2E4h2f!aV=cHAhi_E_mfUth(sM4^hJq7B zQsGWqdZUm9S%F`$nQ*_#NcuD`&)Ek%_s{&^78{9Hm ztri&rYLOxgFdG>O@+XHy z9#;|&vBCPXH5Mon^I`jSuR$&~ZWtyB67ujzFSj!51>#C}C17~TffQ{c-!QFQkTQ%! zIR^b1`zHx|*1GU?tbBx23weFLz5H?y_Q%N&t$}k?w+``2A=aotj0;2v$~AL z{scF-cL{wsdrmPvf#a9OHyYLcwQD4Kcm)`LLwMh4WT~p29f7M!iafJSU`IV}QY5Wa z(n44-9oA}?J{a+ah*@31WTs#&J#o1`H98#6IQf;Wv0N_!);f&9g7o-k(lW5rWnDUR zQBFIRG+X=6NnsI@mxnwm;tf5;_Uxg?jZ8m-m0}&6+DA!qam(p$mN5R})yA_7m$q@| zFEd|dpS595rxQr-n#GjI5i-AhnUE>Cr;jpCqSrD~EwK_DqI^7%3#p5)%T_od!t3SOmH9MyXeeGO2(UQL;ax|x?Ncixmeo1=$ z{-);Au{*tfzOG?KQ~K|ak8-HQ?`Pekhe2WM(8s{xv-p>Zmu_6{G!-oE$7$mY`MOJorI=+mMx?H;`pr!;fVYz?5~yXBACruWB`Ph zZM}90_<^OBxIhyZ9BW$`>6JvO;%VFpqVr8|7t3~AmxYak6?`Pp#c;**_SYmi`&z23 z`p6_~ePvH)C6x-G9$hgL=eVALq`-AiamN>!3~Lxw&{H(b{B(7xSRm6<3<{%{yXiH# zos5Rv1L+8fUKJLo%P>4I&$}y { - await clearMissionId(); - setTimeout(async function () { - try { - let installer = await bundle.getBundleInstaller(); - console.log('======>ACTS_ProcessManage beforeEach installer<=======' + JSON.stringify(installer)); - var count = 0; - for (let i = 0; i < PATHS_COUNT; i++) { - installer.install(BUNDLE_PATHS[i], { - userId: 100, - installFlag: 1, - isKeepData: false - }, (err, data) => { - count++; - console.log('======>ACTS_ProcessManage beforeEach install finish<=======' + err.code); - console.log('======>ACTS_ProcessManage beforeEach install finish<=======' + data.status); - console.log('======>ACTS_ProcessManage beforeEach install finish<=======' + data.statusMessage); - if (count == PATHS_COUNT) { - done(); - } - }) - } - } catch (err) { - console.log('======>ACTS_ProcessManage beforeEach err<=======' + err); - } - }, 500); - }) - - afterEach(async (done) => { - setTimeout(async function () { - let installer = await bundle.getBundleInstaller(); - var count = 0; - var testMissionId; - - testMissionId = await getMissionId(); - console.log('======>ACTS_ProcessManage afterEach testMissionId<=======' + testMissionId); - await missionmanager.moveMissionToFront(testMissionId); - - for (let i = 0; i < BUNDLE_COUNT; i++) { - installer.uninstall(BUNDLE_NAMES[i], { - userId: 100, - installFlag: 1, - isKeepData: false - }, (err, data) => { - count++; - console.log('======>ACTS_ProcessManage afterEach uninstall finish<=======' + err.code); - console.log('======>ACTS_ProcessManage afterEach uninstall finish<=======' + data.status); - console.log('======>ACTS_ProcessManage afterEach uninstall finish<=======' + data.statusMessage); - if (count == BUNDLE_COUNT) { - done(); - } - }) - } - }, 500); - }) - - function getMissionId() { - return new Promise(async (resolve, reject) => { - var numMax = 1024; - var missionId = -1; - var missionInfos = await missionmanager.getMissionInfos('', numMax); - for (let i = 0; i < missionInfos.length; i++) { - console.log('getMissionId result: ' + i + '= ' + JSON.stringify(missionInfos[i])) - if ((missionInfos[i].want.abilityName == "com.acts.actsprocessmanagejstestapi7.MainAbility") && - (missionInfos[i].runningState == 0)) { - missionId = missionInfos[i].missionId; - break; - } - } - console.log('======>getMissionId resolve missionId<=======' + missionId); - resolve(missionId); - }) - } - - function clearMissionId() { - return new Promise(async (resolve, reject) => { - var numMax = 1024; - var missionInfos = await missionmanager.getMissionInfos('', numMax); - for (let i = 0; i < missionInfos.length; i++) { - if ((missionInfos[i].want.bundleName == systemABundleName) || - (missionInfos[i].want.bundleName == systemBBundleName) || - (missionInfos[i].want.bundleName == vendorABundleName) || - (missionInfos[i].want.bundleName == vendorServiceBundleName)) { - missionmanager.clearMission(missionInfos[i].missionId, (err, data) => { - console.debug("====>ACTS_ProcessManage clearMission id:" + missionInfos[i].missionId); - }); - } - } - console.log('======>ACTS_ProcessManage clearMission finish<======='); - resolve(); - }) - } - - - function checkPromiseExistDelay(processName) { - return new Promise(async (resolve, reject) => { - setTimeout(async function () { - try { - var processInfos = await abilitymanager.getActiveProcessInfos(); - console.debug("====>ACTS_ProcessManage checkPromiseExistDelay processInfos====>" - + JSON.stringify(processInfos)); - resolve(checkProcessExistInInfos(processInfos, processName)); - } catch (err) { - onsole.debug("====>ACTS_ProcessManage checkPromiseExistDelay err====>" - + JSON.stringify(err)); - } - }, 2000); - }); - } - - function checkProcessExistInInfos(processInfos, processName) { - for (var i = 0; i < processInfos.length; i++) { - if (processInfos[i].processName == processName) { - return true; - } - } - return false; - } - - function checkPromiseMissionExistDelay(abilityName) { - var numMax = 1024; - - return new Promise(async (resolve, reject) => { - try { - var missionInfos = await missionmanager.getMissionInfos('', numMax); - console.debug("====>ACTS_ProcessManage checkPromiseMissionExistDelay missionInfos====>" - + JSON.stringify(missionInfos)); - resolve(checkMissionExistInInfos(missionInfos, abilityName)); - } catch (err) { - onsole.debug("====>ACTS_ProcessManage checkPromiseMissionExistDelay err====>" - + JSON.stringify(err)); - } - }); - } - - function checkMissionExistInInfos(missionInfos, abilityName) { - for (var i = 0; i < missionInfos.length; i++) { - if ((missionInfos[i].want.abilityName == abilityName) && (missionInfos[i].runningState == 0)) { - return true; - } - } - return false; - } - - function getAppDataPathFileNums(uri, callBack) { - setTimeout(async function () { - - file.list({ - uri: uri, - success: function (data) { - console.log('====>ActsProcessManageJsTest call list success data ====>' + JSON.stringify(data)); - callBack(null, data.fileList.length); - }, - fail: function (data, code) { - callBack(data, null); - console.log('call list failed, code: ' + code + ', data: ' + data); - }, - }); - }, 2000); - } - - /* - * @tc.number: ACTS_ProcessManage_killProcessesByBundleNameFA_0100 - * @tc.name: The system application stops itself - * @tc.desc: Check the process was killed (by promise) - */ - it('ACTS_ProcessManage_killProcessesByBundleNameFA_0100', 0, async function (done) { - console.log('ACTS_ProcessManage_killProcessesByBundleNameFA_0100 begin'); - - await featureAbility.startAbility( - { - want: - { - bundleName: systemABundleName, - abilityName: systemAAbilityName, - action: "promiseKill", - parameters: { - testTarget: systemABundleName - } - }, - } - ); - - setTimeout(async function () { - var processexist = await checkPromiseExistDelay(systemAProcessName); - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0100 processexist:====>" - + JSON.stringify(processexist)); - expect(processexist).assertEqual(false); - - var missionexist = await checkPromiseMissionExistDelay(systemAAbilityName) - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0100 missionexist:====>" - + JSON.stringify(missionexist)); - expect(missionexist).assertEqual(false); - - console.log('ACTS_ProcessManage_killProcessesByBundleNameFA_0100 end'); - done(); - }, 4000); - }) - - /* - * @tc.number: ACTS_ProcessManage_killProcessesByBundleNameFA_0200 - * @tc.name: The system application stops other system application - * @tc.desc: Check the process was killed (by promise) - */ - it('ACTS_ProcessManage_killProcessesByBundleNameFA_0200', 0, async function (done) { - console.log('ACTS_ProcessManage_killProcessesByBundleNameFA_0200 begin'); - var subscriber; - - await featureAbility.startAbility( - { - want: - { - bundleName: systemABundleName, - abilityName: systemAAbilityName, - action: "promiseKill", - parameters: { - testTarget: systemBBundleName - } - }, - }, (error, data) => { - console.log('ACTS_ProcessManage_killProcessesByBundleNameFA_0200 - startAbility: ' - + JSON.stringify(error) + ", " + JSON.stringify(data)) - } - ); - await commonEvent.createSubscriber(subscribeInfo).then(async (data) => { - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0200 Create Subscriber data====>" - + data); - subscriber = data; - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0200 subscriber====>" - + JSON.stringify(subscriber)); - await commonEvent.subscribe(subscriber, subscribeCallBack); - }); - async function subscribeCallBack(err, data) { - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0200 Subscribe CallBack data:====>" - + JSON.stringify(data)); - expect(data.event).assertEqual(eventFromSystemA); - expect(data.data).assertEqual('0'); - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - - } - async function unSubscribeCallback() { - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0200 UnSubscribe CallBack====>"); - var processexist = await checkPromiseExistDelay(systemBProcessName); - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0200 processexist:====>" - + JSON.stringify(processexist)); - expect(processexist).assertEqual(false); - - var missionexist = await checkPromiseMissionExistDelay(systemBAbilityName) - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0200 missionexist:====>" - + JSON.stringify(missionexist)); - expect(missionexist).assertEqual(false); - - console.log('ACTS_ProcessManage_killProcessesByBundleNameFA_0200 end'); - done(); - } - }) - - /* - * @tc.number: ACTS_ProcessManage_killProcessesByBundleNameFA_0300 - * @tc.name: The system application stops third-party application - * @tc.desc: Check the process was killed (by promise) - */ - it('ACTS_ProcessManage_killProcessesByBundleNameFA_0300', 0, async function (done) { - console.log('ACTS_ProcessManage_killProcessesByBundleNameFA_0300 begin'); - var subscriber; - - await featureAbility.startAbility( - { - want: - { - bundleName: systemABundleName, - abilityName: systemAAbilityName, - action: "promiseKill", - parameters: { - testTarget: vendorABundleName - } - }, - } - ); - await commonEvent.createSubscriber(subscribeInfo).then(async (data) => { - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0300 Create Subscriber data====>" - + data); - subscriber = data; - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0300 subscriber====>" - + JSON.stringify(subscriber)); - await commonEvent.subscribe(subscriber, subscribeCallBack); - }); - async function subscribeCallBack(err, data) { - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0300 Subscribe CallBack data:====>" - + JSON.stringify(data)); - expect(data.event).assertEqual(eventFromSystemA); - expect(data.data).assertEqual('0'); - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - } - - async function unSubscribeCallback() { - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0300 UnSubscribe CallBack====>"); - var processexist = await checkPromiseExistDelay(vendorAProcessName); - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0300 processexist:====>" - + JSON.stringify(processexist)); - expect(processexist).assertEqual(false); - - var missionexist = await checkPromiseMissionExistDelay(vendorAAbilityName) - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0300 missionexist:====>" - + JSON.stringify(missionexist)); - expect(missionexist).assertEqual(false); - - console.log('ACTS_ProcessManage_killProcessesByBundleNameFA_0300 end'); - done(); - } - }) - - /* - * @tc.number: ACTS_ProcessManage_killProcessesByBundleNameFA_0400 - * @tc.name: The system application stops multiprocess application - * @tc.desc: Check the process was killed (by promise) - */ - it('ACTS_ProcessManage_killProcessesByBundleNameFA_0400', 0, async function (done) { - console.log('ACTS_ProcessManage_killProcessesByBundleNameFA_0400 begin'); - var flagProcessA = 0; - var flagProcessAMulti = 0; - var flagMissionA = 0; - var flagMissionAMulti = 0; - var numMax = 1024; - - await featureAbility.startAbility( - { - want: - { - bundleName: systemABundleName, - abilityName: systemAAbilityName, - action: "promiseKill", - parameters: { - testTarget: systemAMultiAbilityName - } - }, - } - ); - setTimeout(async function () { - - var processInfos = await abilitymanager.getActiveProcessInfos(); - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0400 processInfos====>" - + JSON.stringify(processInfos)); - for (var i = 0; i < processInfos.length; i++) { - if (processInfos[i].processName == systemAProcessName) { - flagProcessA++; - } - if (processInfos[i].processName == systemAMultiProcessName) { - flagProcessAMulti++; - } - } - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0400 flagProcessA====>" - + JSON.stringify(flagProcessA)); - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0400 flagProcessAMulti====>" - + JSON.stringify(flagProcessAMulti)); - expect(flagProcessA).assertEqual(0); - expect(flagProcessAMulti).assertEqual(0); - - var missionInfos = await missionmanager.getMissionInfos('', numMax); - console.debug("====>ACTS_ProcessManage checkPromiseMissionExistDelay missionInfos====>" - + JSON.stringify(missionInfos)); - for (var i = 0; i < missionInfos.length; i++) { - - if ((missionInfos[i].want.abilityName == systemAAbilityName) - && (missionInfos[i].runningState == 0)) { - flagMissionA++; - } - if ((missionInfos[i].want.abilityName == systemAMultiAbilityName) - && (missionInfos[i].runningState == 0)) { - flagMissionAMulti++; - } - } - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0400 flagMissionA====>" - + JSON.stringify(flagMissionA)); - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0400 flagMissionAMulti====>" - + JSON.stringify(flagMissionAMulti)); - expect(flagMissionA).assertEqual(0); - expect(flagMissionAMulti).assertEqual(0); - - console.log('ACTS_ProcessManage_killProcessesByBundleNameFA_0400 end'); - done(); - }, 4000); - }) - - /* - * @tc.number: ACTS_ProcessManage_killProcessesByBundleNameFA_0500 - * @tc.name: The system application stops itself - * @tc.desc: Check the process was killed (by AsyncCallback) - */ - it('ACTS_ProcessManage_killProcessesByBundleNameFA_0500', 0, async function (done) { - console.log('ACTS_ProcessManage_killProcessesByBundleNameFA_0500 begin'); - await featureAbility.startAbility( - { - want: - { - bundleName: systemABundleName, - abilityName: systemAAbilityName, - action: "asyncKill", - parameters: { - testTarget: systemABundleName - } - }, - } - ); - setTimeout(async function () { - var processexist = await checkPromiseExistDelay(systemAProcessName); - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0500 processexist:====>" - + JSON.stringify(processexist)); - expect(processexist).assertEqual(false); - - var missionexist = await checkPromiseMissionExistDelay(systemAAbilityName) - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0500 missionexist:====>" - + JSON.stringify(missionexist)); - expect(missionexist).assertEqual(false); - - console.log('ACTS_ProcessManage_killProcessesByBundleNameFA_0500 end'); - done(); - }, 4000); - }) - - /* - * @tc.number: ACTS_ProcessManage_killProcessesByBundleNameFA_0600 - * @tc.name: The system application stops other system application - * @tc.desc: Check the process was killed (by AsyncCallback) - */ - it('ACTS_ProcessManage_killProcessesByBundleNameFA_0600', 0, async function (done) { - console.log('ACTS_ProcessManage_killProcessesByBundleNameFA_0600 begin'); - var subscriber; - - await featureAbility.startAbility( - { - want: - { - bundleName: systemABundleName, - abilityName: systemAAbilityName, - action: "asyncKill", - parameters: { - testTarget: systemBBundleName - } - }, - } - ); - await commonEvent.createSubscriber(subscribeInfo).then(async (data) => { - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0600 Create Subscriber data====>" - + data); - subscriber = data; - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0600 subscriber====>" - + JSON.stringify(subscriber)); - await commonEvent.subscribe(subscriber, subscribeCallBack); - }); - async function subscribeCallBack(err, data) { - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0600 Subscribe CallBack data:====>" - + JSON.stringify(data)); - expect(data.event).assertEqual(eventFromSystemA); - expect(data.data).assertEqual('0'); - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - - } - - async function unSubscribeCallback() { - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0600 UnSubscribe CallBack====>"); - var processexist = await checkPromiseExistDelay(systemBProcessName); - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0600 processexist:====>" - + JSON.stringify(processexist)); - expect(processexist).assertEqual(false); - - var missionexist = await checkPromiseMissionExistDelay(systemBAbilityName) - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0600 missionexist:====>" - + JSON.stringify(missionexist)); - expect(missionexist).assertEqual(false); - - console.log('ACTS_ProcessManage_killProcessesByBundleNameFA_0600 end'); - done(); - } - }) - - /* - * @tc.number: ACTS_ProcessManage_killProcessesByBundleNameFA_0700 - * @tc.name: The system application stops third-party application - * @tc.desc: Check the process was killed (by AsyncCallback) - */ - it('ACTS_ProcessManage_killProcessesByBundleNameFA_0700', 0, async function (done) { - console.log('ACTS_ProcessManage_killProcessesByBundleNameFA_0700 begin'); - var subscriber; - - await featureAbility.startAbility( - { - want: - { - bundleName: systemABundleName, - abilityName: systemAAbilityName, - action: "asyncKill", - parameters: { - testTarget: vendorABundleName - } - }, - } - ); - await commonEvent.createSubscriber(subscribeInfo).then(async (data) => { - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0700 Create Subscriber data====>" - + data); - subscriber = data; - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0700 subscriber====>" - + JSON.stringify(subscriber)); - await commonEvent.subscribe(subscriber, subscribeCallBack); - }); - async function subscribeCallBack(err, data) { - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0700 Subscribe CallBack data:====>" - + JSON.stringify(data)); - expect(data.event).assertEqual(eventFromSystemA); - expect(data.data).assertEqual('0'); - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - - } - - async function unSubscribeCallback() { - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0700 UnSubscribe CallBack====>"); - var processexist = await checkPromiseExistDelay(vendorAProcessName); - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0700 processexist:====>" - + JSON.stringify(processexist)); - expect(processexist).assertEqual(false); - - var missionexist = await checkPromiseMissionExistDelay(vendorAAbilityName) - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0700 missionexist:====>" - + JSON.stringify(missionexist)); - expect(missionexist).assertEqual(false); - - console.log('ACTS_ProcessManage_killProcessesByBundleNameFA_0700 end'); - done(); - - } - }) - - /* - * @tc.number: ACTS_ProcessManage_killProcessesByBundleNameFA_0800 - * @tc.name: The system application stops multiprocess application - * @tc.desc: Check the process was killed (by AsyncCallback) - */ - it('ACTS_ProcessManage_killProcessesByBundleNameFA_0800', 0, async function (done) { - console.log('ACTS_ProcessManage_killProcessesByBundleNameFA_0800 begin'); - var flagProcessA = 0; - var flagProcessAMulti = 0; - var flagMissionA = 0; - var flagMissionAMulti = 0; - var numMax = 1024; - - await featureAbility.startAbility( - { - want: - { - bundleName: systemABundleName, - abilityName: systemAAbilityName, - action: "asyncKill", - parameters: { - testTarget: systemAMultiAbilityName - } - }, - } - ); - setTimeout(async function () { - - var processInfos = await abilitymanager.getActiveProcessInfos(); - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0800 processInfos====>" - + JSON.stringify(processInfos)); - for (var i = 0; i < processInfos.length; i++) { - if (processInfos[i].processName == systemAProcessName) { - flagProcessA++; - } - if (processInfos[i].processName == systemAMultiProcessName) { - flagProcessAMulti++; - } - } - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0800 flagProcessA====>" - + JSON.stringify(flagProcessA)); - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0800 flagProcessAMulti====>" - + JSON.stringify(flagProcessAMulti)); - expect(flagProcessA).assertEqual(0); - expect(flagProcessAMulti).assertEqual(0); - - var missionInfos = await missionmanager.getMissionInfos('', numMax); - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0800 missionInfos====>" - + JSON.stringify(missionInfos)); - for (var i = 0; i < missionInfos.length; i++) { - - if ((missionInfos[i].want.abilityName == systemAAbilityName) - && (missionInfos[i].runningState == 0)) { - flagMissionA++; - } - if ((missionInfos[i].want.abilityName == systemAMultiAbilityName) - && (missionInfos[i].runningState == 0)) { - flagMissionAMulti++; - } - } - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0800 flagMissionA====>" - + JSON.stringify(flagMissionA)); - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0800 flagMissionAMulti====>" - + JSON.stringify(flagMissionAMulti)); - expect(flagMissionA).assertEqual(0); - expect(flagMissionAMulti).assertEqual(0); - - console.log('ACTS_ProcessManage_killProcessesByBundleNameFA_0800 end'); - done(); - }, 4000); - - }) - - - /* - * @tc.number: ACTS_ProcessManage_killProcessesByBundleNameFA_0900 - * @tc.name: Parameter is null - * @tc.desc: Check the result is OK (by promise) - */ - it('ACTS_ProcessManage_killProcessesByBundleNameFA_0900', 0, async function (done) { - - console.log('ACTS_ProcessManage_killProcessesByBundleNameFA_0900 begin'); - try { - var result = await abilityManager.killProcessesByBundleName(null); - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0900 null result:====>" - + JSON.stringify(result)); - expect(result == 0).assertEqual(false); - console.log('ACTS_ProcessManage_killProcessesByBundleNameFA_0900 end'); - done(); - } - catch (err) { - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_0900 err:====>" - + JSON.stringify(err)); - done(); - } - }) - - - /* - * @tc.number: ACTS_ProcessManage_killProcessesByBundleNameFA_1000 - * @tc.name: Parameter is '' - * @tc.desc: Check the result is OK (by promise) - */ - it('ACTS_ProcessManage_killProcessesByBundleNameFA_1000', 0, async function (done) { - - console.log('ACTS_ProcessManage_killProcessesByBundleNameFA_1000 begin'); - try { - var result = await abilityManager.killProcessesByBundleName(''); - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_1000 '' result:====>" - + JSON.stringify(result)); - expect(result).assertEqual(2097215); - console.log('ACTS_ProcessManage_killProcessesByBundleNameFA_1000 end'); - done(); - } - catch (err) { - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_1000 err:====>" - + JSON.stringify(err)); - done(); - } - }) - - /* - * @tc.number: ACTS_ProcessManage_killProcessesByBundleNameFA_1100 - * @tc.name: Parameter is undefined - * @tc.desc: Check the result is OK (by promise) - */ - it('ACTS_ProcessManage_killProcessesByBundleNameFA_1100', 0, async function (done) { - console.log('ACTS_ProcessManage_killProcessesByBundleNameFA_1100 begin'); - try { - var result = await abilityManager.killProcessesByBundleName(undefined); - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_1100 undefined result:====>" - + JSON.stringify(result)); - expect(result == 0).assertEqual(false); - console.log('ACTS_ProcessManage_killProcessesByBundleNameFA_1100 end'); - done(); - } - catch (err) { - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_1100 err:====>" - + JSON.stringify(err)); - done(); - } - }) - - /* - * @tc.number: ACTS_ProcessManage_killProcessesByBundleNameFA_1200 - * @tc.name: Stop an application that doesn't exist - * @tc.desc: Check the result is OK (by promise) - */ - it('ACTS_ProcessManage_killProcessesByBundleNameFA_1200', 0, async function (done) { - console.log('ACTS_ProcessManage_killProcessesByBundleNameFA_1200 begin'); - try { - var result = await abilityManager.killProcessesByBundleName("aa.bb.notExist"); - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_1200 aa.bb.notExist result:====>" - + JSON.stringify(result)); - expect(result).assertEqual(2097215); - console.log('ACTS_ProcessManage_killProcessesByBundleNameFA_1200 end'); - done(); - } - catch (err) { - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_1200 err:====>" - + JSON.stringify(err)); - done(); - } - }) - - /* - * @tc.number: ACTS_ProcessManage_killProcessesByBundleNameFA_1300 - * @tc.name: Stop an application that exists but is not started - * @tc.desc: Check the result is OK (by promise) - */ - it('ACTS_ProcessManage_killProcessesByBundleNameFA_1300', 0, async function (done) { - console.log('ACTS_ProcessManage_killProcessesByBundleNameFA_1300 begin'); - try { - var result = await abilityManager.killProcessesByBundleName(systemABundleName); - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_1300 without runnning result:====>" - + JSON.stringify(result)); - expect(result).assertEqual(0); - console.log('ACTS_ProcessManage_killProcessesByBundleNameFA_1300 end'); - done(); - } - catch (err) { - console.debug("====>ACTS_ProcessManage_killProcessesByBundleNameFA_1300 err:====>" - + JSON.stringify(err)); - done(); - } - }) - - - /* - * @tc.number: ACTS_ProcessManage_clearUpApplicationDataFA_0100 - * @tc.name: The system application cleans itself - * @tc.desc: Check the process was cleaned up (by promise) - */ - it('ACTS_ProcessManage_clearUpApplicationDataFA_0100', 0, async function (done) { - console.log('ACTS_ProcessManage_clearUpApplicationDataFA_0100 begin'); - await featureAbility.startAbility( - { - want: - { - bundleName: systemABundleName, - abilityName: systemAAbilityName, - action: "promiseCleanup", - parameters: { - testTarget: systemABundleName - } - }, - } - ); - setTimeout(async function () { - var processexist = await checkPromiseExistDelay(systemAProcessName); - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0100 processexist:====>" - + JSON.stringify(processexist)); - expect(processexist).assertEqual(false); - - var missionexist = await checkPromiseMissionExistDelay(systemAAbilityName) - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0100 missionexist:====>" - + JSON.stringify(missionexist)); - expect(missionexist).assertEqual(false); - - getAppDataPathFileNums(uriSystemA, async (err, nums) => { - expect(err).assertEqual(null); - expect(nums).assertEqual(4); - console.log('====>ACTS_ProcessManage_clearUpApplicationDataFA_0100 getFileNums nums = ' - + nums); - done(); - }); - }, 2000); - }) - - /* - * @tc.number: ACTS_ProcessManage_clearUpApplicationDataFA_0200 - * @tc.name: The system application cleans other system application - * @tc.desc: Check the process was cleaned up (by promise) - */ - it('ACTS_ProcessManage_clearUpApplicationDataFA_0200', 0, async function (done) { - console.log('ACTS_ProcessManage_clearUpApplicationDataFA_0200 begin'); - var subscriber; - - await featureAbility.startAbility( - { - want: - { - bundleName: systemABundleName, - abilityName: systemAAbilityName, - action: "promiseCleanup", - parameters: { - testTarget: systemBBundleName - } - }, - } - ); - var subscriber = await commonEvent.createSubscriber(subscribeInfo) - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0200 subscriber====>" - + JSON.stringify(subscriber)); - await commonEvent.subscribe(subscriber, subscribeCallBack); - - async function subscribeCallBack(err, data) { - - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0200 SubscribeCallBack data.event:====>" - + JSON.stringify(data.event)); - expect(data.event).assertEqual(eventFromSystemA); - expect(data.data).assertEqual('0'); - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - - var processexist = await checkPromiseExistDelay(systemBProcessName); - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0200 subscribeCallBack processexist:" - + JSON.stringify(processexist)); - expect(processexist).assertEqual(false); - var missionexist = await checkPromiseMissionExistDelay(systemBAbilityName) - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0200 subscribeCallBack missionexist:" - + JSON.stringify(missionexist)); - expect(missionexist).assertEqual(false); - - getAppDataPathFileNums(uriSystemB, async (err, nums) => { - expect(err).assertEqual(null); - expect(nums).assertEqual(4); - console.log('====>ACTS_ProcessManage_clearUpApplicationDataFA_0200 getFileNums nums = ' + nums); - console.log('ACTS_ProcessManage_clearUpApplicationDataFA_0200 end'); - done(); - }); - } - function unSubscribeCallback() { - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0200 UnSubscribe CallBack====>"); - } - }) - - /* - * @tc.number: ACTS_ProcessManage_clearUpApplicationDataFA_0300 - * @tc.name: The system application cleans third-party application - * @tc.desc: Check the process was cleaned up (by promise) - */ - it('ACTS_ProcessManage_clearUpApplicationDataFA_0300', 0, async function (done) { - console.log('ACTS_ProcessManage_clearUpApplicationDataFA_0300 begin'); - var subscriber; - - await featureAbility.startAbility( - { - want: - { - bundleName: systemABundleName, - abilityName: systemAAbilityName, - action: "promiseCleanup", - parameters: { - testTarget: vendorABundleName - } - }, - } - ); - var subscriber = await commonEvent.createSubscriber(subscribeInfo) - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0300 subscriber====>" - + JSON.stringify(subscriber)); - await commonEvent.subscribe(subscriber, subscribeCallBack); - - async function subscribeCallBack(err, data) { - - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0300 SubscribeCallBack data.event:====>" - + JSON.stringify(data)); - expect(data.event).assertEqual(eventFromSystemA); - expect(data.data).assertEqual('0'); - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - setTimeout(async function () { - var processexist = await checkPromiseExistDelay(vendorAProcessName); - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0300 subscribeCallBack processexist:" - + JSON.stringify(processexist)); - expect(processexist).assertEqual(false); - var missionexist = await checkPromiseMissionExistDelay(vendorAAbilityName) - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0300 subscribeCallBack missionexist:" - + JSON.stringify(missionexist)); - expect(missionexist).assertEqual(false); - getAppDataPathFileNums(uriVendorA, async (err, nums) => { - expect(err).assertEqual(null); - expect(nums).assertEqual(4); - console.log('====>ACTS_ProcessManage_clearUpApplicationDataFA_0300 getFileNums nums = ' + nums); - console.log('ACTS_ProcessManage_clearUpApplicationDataFA_0300 end'); - done(); - }); - }, 6000); - } - function unSubscribeCallback() { - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0300 UnSubscribe CallBack====>"); - } - }) - - /* - * @tc.number: ACTS_ProcessManage_clearUpApplicationDataFA_0400 - * @tc.name: The system application cleans multiprocess application - * @tc.desc: Check the process was cleaned up (by promise) - */ - it('ACTS_ProcessManage_clearUpApplicationDataFA_0400', 0, async function (done) { - console.log('ACTS_ProcessManage_clearUpApplicationDataFA_0400 begin'); - var flagProcessA = 0; - var flagProcessAMulti = 0; - var flagMissionA = 0; - var flagMissionAMulti = 0; - var numMax = 1024; - - await featureAbility.startAbility( - { - want: - { - bundleName: systemABundleName, - abilityName: systemAAbilityName, - action: "promiseCleanup", - parameters: { - testTarget: systemAMultiAbilityName - } - }, - } - ); - setTimeout(async function () { - - var processInfos = await abilitymanager.getActiveProcessInfos(); - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0400 processInfos====>" - + JSON.stringify(processInfos)); - for (var i = 0; i < processInfos.length; i++) { - if (processInfos[i].processName == systemAProcessName) { - flagProcessA++; - } - if (processInfos[i].processName == systemAMultiProcessName) { - flagProcessAMulti++; - } - } - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0400 flagProcessA====>" - + JSON.stringify(flagProcessA)); - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0400 flagProcessAMulti====>" - + JSON.stringify(flagProcessAMulti)); - expect(flagProcessA).assertEqual(0); - expect(flagProcessAMulti).assertEqual(0); - - var missionInfos = await missionmanager.getMissionInfos('', numMax); - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0400 missionInfos====>" - + JSON.stringify(missionInfos)); - for (var i = 0; i < missionInfos.length; i++) { - if ((missionInfos[i].want.abilityName == systemAAbilityName) - && (missionInfos[i].runningState == 0)) { - flagMissionA++; - } - if ((missionInfos[i].want.abilityName == systemAMultiAbilityName) - && (missionInfos[i].runningState == 0)) { - flagMissionAMulti++; - } - } - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0400 flagMissionA====>" - + JSON.stringify(flagMissionA)); - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0400 flagMissionAMulti====>" - + JSON.stringify(flagMissionAMulti)); - expect(flagMissionA).assertEqual(0); - expect(flagMissionAMulti).assertEqual(0); - - getAppDataPathFileNums(uriSystemA, async (err, nums) => { - expect(err).assertEqual(null); - expect(nums).assertEqual(4); - console.log('====>ACTS_ProcessManage_clearUpApplicationDataFA_0400 getFileNums nums = ' - + nums); - console.log('ACTS_ProcessManage_clearUpApplicationDataFA_0400 end'); - done(); - }); - }, 6000); - }) - - /* - * @tc.number: ACTS_ProcessManage_clearUpApplicationDataFA_0500 - * @tc.name: The system application cleans itself - * @tc.desc: Check the process was cleaned up (by AsyncCallback) - */ - it('ACTS_ProcessManage_clearUpApplicationDataFA_0500', 0, async function (done) { - console.log('ACTS_ProcessManage_clearUpApplicationDataFA_0500 begin'); - await featureAbility.startAbility( - { - want: - { - bundleName: systemABundleName, - abilityName: systemAAbilityName, - action: "asyncCleanup", - parameters: { - testTarget: systemABundleName - } - }, - } - ); - setTimeout(async function () { - var processexist = await checkPromiseExistDelay(systemAProcessName); - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0500 processexist:====>" - + JSON.stringify(processexist)); - expect(processexist).assertEqual(false); - - var missionexist = await checkPromiseMissionExistDelay(systemAAbilityName) - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0500 missionexist:====>" - + JSON.stringify(missionexist)); - expect(missionexist).assertEqual(false); - - getAppDataPathFileNums(uriSystemA, async (err, nums) => { - expect(err).assertEqual(null); - expect(nums).assertEqual(4); - console.log('====>ACTS_ProcessManage_clearUpApplicationDataFA_0500 getFileNums nums = ' - + nums); - done(); - }); - }, 6000); - }) - - /* - * @tc.number: ACTS_ProcessManage_clearUpApplicationDataFA_0600 - * @tc.name: The system application cleans other system application - * @tc.desc: Check the process was cleaned up (by AsyncCallback) - */ - it('ACTS_ProcessManage_clearUpApplicationDataFA_0600', 0, async function (done) { - console.log('ACTS_ProcessManage_clearUpApplicationDataFA_0600 begin'); - var subscriber; - - await featureAbility.startAbility( - { - want: - { - bundleName: systemABundleName, - abilityName: systemAAbilityName, - action: "asyncCleanup", - parameters: { - testTarget: systemBBundleName - } - }, - } - ); - await commonEvent.createSubscriber(subscribeInfo).then(async (data) => { - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0600 Create Subscriber data====>" - + data); - subscriber = data; - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0600 subscriber====>" - + JSON.stringify(subscriber)); - await commonEvent.subscribe(subscriber, subscribeCallBack); - }); - async function subscribeCallBack(err, data) { - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0600 SubscribeCallBack data:====>" - + JSON.stringify(data)); - expect(data.event).assertEqual(eventFromSystemA); - expect(data.data).assertEqual('0'); - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - setTimeout(async function () { - var processexist = await checkPromiseExistDelay(systemBProcessName); - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0600 processexist:====>" - + JSON.stringify(processexist)); - expect(processexist).assertEqual(false); - - var missionexist = await checkPromiseMissionExistDelay(systemBAbilityName) - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0600 missionexist:====>" - + JSON.stringify(missionexist)); - expect(missionexist).assertEqual(false); - - getAppDataPathFileNums(uriSystemB, async (err, nums) => { - expect(err).assertEqual(null); - expect(nums).assertEqual(4); - console.log('====>ACTS_ProcessManage_clearUpApplicationDataFA_0600 getFileNums nums = ' + nums); - - console.log('ACTS_ProcessManage_clearUpApplicationDataFA_0600 end'); - done(); - }); - }, 6000); - } - function unSubscribeCallback() { - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0600 UnSubscribe CallBack====>"); - } - }) - - /* - * @tc.number: ACTS_ProcessManage_clearUpApplicationDataFA_0700 - * @tc.name: The system application cleans third-party application - * @tc.desc: Check the process was cleaned up (by AsyncCallback) - */ - it('ACTS_ProcessManage_clearUpApplicationDataFA_0700', 0, async function (done) { - console.log('ACTS_ProcessManage_clearUpApplicationDataFA_0700 begin'); - var subscriber; - await featureAbility.startAbility( - { - want: - { - bundleName: systemABundleName, - abilityName: systemAAbilityName, - action: "asyncCleanup", - parameters: { - testTarget: vendorABundleName - } - }, - } - ); - await commonEvent.createSubscriber(subscribeInfo).then(async (data) => { - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0700 Create Subscriber data====>" - + data); - subscriber = data; - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0700 subscriber====>" - + JSON.stringify(subscriber)); - await commonEvent.subscribe(subscriber, subscribeCallBack); - }); - async function subscribeCallBack(err, data) { - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0700 SubscribeCallBack data:====>" - + JSON.stringify(data)); - expect(data.event).assertEqual(eventFromSystemA); - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - setTimeout(async function () { - var processexist = await checkPromiseExistDelay(vendorAProcessName); - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0700 processexist:====>" - + JSON.stringify(processexist)); - expect(processexist).assertEqual(false); - - var missionexist = await checkPromiseMissionExistDelay(vendorAAbilityName) - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0700 missionexist:====>" - + JSON.stringify(missionexist)); - expect(missionexist).assertEqual(false); - getAppDataPathFileNums(uriVendorA, async (err, nums) => { - expect(err).assertEqual(null); - expect(nums).assertEqual(4); - console.log('====>ACTS_ProcessManage_clearUpApplicationDataFA_0700 getFileNums nums = ' + nums); - console.log('ACTS_ProcessManage_clearUpApplicationDataFA_0700 end'); - done(); - - }); - }, 6000); - } - function unSubscribeCallback() { - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0700 UnSubscribe CallBack====>"); - } - }) - - /* - * @tc.number: ACTS_ProcessManage_clearUpApplicationDataFA_0800 - * @tc.name: The system application cleans multiprocess application - * @tc.desc: Check the process was cleaned up (by AsyncCallback) - */ - it('ACTS_ProcessManage_clearUpApplicationDataFA_0800', 0, async function (done) { - console.log('ACTS_ProcessManage_clearUpApplicationDataFA_0800 begin'); - var flagProcessA = 0; - var flagProcessAMulti = 0; - var flagMissionA = 0; - var flagMissionAMulti = 0; - var numMax = 1024; - - await featureAbility.startAbility( - { - want: - { - bundleName: systemABundleName, - abilityName: systemAAbilityName, - action: "asyncCleanup", - parameters: { - testTarget: systemAMultiAbilityName - } - }, - } - ); - setTimeout(async function () { - - var processInfos = await abilitymanager.getActiveProcessInfos(); - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0800 processInfos====>" - + JSON.stringify(processInfos)); - for (var i = 0; i < processInfos.length; i++) { - if (processInfos[i].processName == systemAProcessName) { - flagProcessA++; - } - if (processInfos[i].processName == systemAMultiProcessName) { - flagProcessAMulti++; - } - } - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0800 flagProcessA====>" - + JSON.stringify(flagProcessA)); - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0800 flagProcessAMulti====>" - + JSON.stringify(flagProcessAMulti)); - expect(flagProcessA).assertEqual(0); - expect(flagProcessAMulti).assertEqual(0); - - var missionInfos = await missionmanager.getMissionInfos('', numMax); - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0800 missionInfos====>" - + JSON.stringify(missionInfos)); - for (var i = 0; i < missionInfos.length; i++) { - if ((missionInfos[i].want.abilityName == systemAAbilityName) - && (missionInfos[i].runningState == 0)) { - flagMissionA++; - } - if ((missionInfos[i].want.abilityName == systemAMultiAbilityName) - && (missionInfos[i].runningState == 0)) { - flagMissionAMulti++; - } - } - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0800 flagMissionA====>" - + JSON.stringify(flagMissionA)); - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0800 flagMissionAMulti====>" - + JSON.stringify(flagMissionAMulti)); - expect(flagMissionA).assertEqual(0); - expect(flagMissionAMulti).assertEqual(0); - - getAppDataPathFileNums(uriSystemA, async (err, nums) => { - expect(err).assertEqual(null); - expect(nums).assertEqual(4); - console.log('====>ACTS_ProcessManage_clearUpApplicationDataFA_0800 getFileNums nums = ' - + nums); - console.log('ACTS_ProcessManage_clearUpApplicationDataFA_0800 end'); - done(); - }); - }, 6000); - }) - - /* - * @tc.number: ACTS_ProcessManage_clearUpApplicationDataFA_0900 - * @tc.name: Parameter is null - * @tc.desc: Check the result is OK (by AsyncCallback) - */ - it('ACTS_ProcessManage_clearUpApplicationDataFA_0900', 0, async function (done) { - console.log('ACTS_ProcessManage_clearUpApplicationDataFA_0900 begin'); - - try { - var result = await abilityManager.clearUpApplicationData(null); - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0900 null result:====>" - + JSON.stringify(result)); - expect(result == 0).assertEqual(false); - console.log('ACTS_ProcessManage_clearUpApplicationDataFA_0900 end'); - done(); - } - catch (err) { - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_0900 err:====>" - + JSON.stringify(err)); - done(); - } - }) - - /* - * @tc.number: ACTS_ProcessManage_clearUpApplicationDataFA_1000 - * @tc.name: Parameter is '' - * @tc.desc: Check the result is OK (by AsyncCallback) - */ - it('ACTS_ProcessManage_clearUpApplicationDataFA_1000', 0, async function (done) { - console.log('ACTS_ProcessManage_clearUpApplicationDataFA_1000 begin'); - abilityManager.clearUpApplicationData('', (err, data) => { - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_1000 '' result:====>" - + JSON.stringify(data)); - expect(err.code).assertEqual(0); - console.log('ACTS_ProcessManage_clearUpApplicationDataFA_1000 end'); - done(); - }); - }) - - /* - * @tc.number: ACTS_ProcessManage_clearUpApplicationDataFA_1100 - * @tc.name: Parameter is undefined - * @tc.desc: Check the result is OK (by AsyncCallback) - */ - it('ACTS_ProcessManage_clearUpApplicationDataFA_1100', 0, async function (done) { - console.log('ACTS_ProcessManage_clearUpApplicationDataFA_1100 begin'); - try { - var result = await abilityManager.clearUpApplicationData(undefined); - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_1100 undefined result:====>" - + JSON.stringify(result)); - expect(result == 0).assertEqual(false); - console.log('ACTS_ProcessManage_clearUpApplicationDataFA_1100 end'); - done(); - } - catch (err) { - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_1100 err:====>" - + JSON.stringify(err)); - done(); - } - }) - - /* - * @tc.number: ACTS_ProcessManage_clearUpApplicationDataFA_1200 - * @tc.name: Stop an application that doesn't exist - * @tc.desc: Check the result is OK (by AsyncCallback) - */ - it('ACTS_ProcessManage_clearUpApplicationDataFA_1200', 0, async function (done) { - console.log('ACTS_ProcessManage_clearUpApplicationDataFA_1200 begin'); - abilityManager.clearUpApplicationData("aa.bb.notExist", (err, data) => { - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_1200 aa.bb.notExist result:====>" - + JSON.stringify(data)); - expect(err.code).assertEqual(0); - console.log('ACTS_ProcessManage_clearUpApplicationDataFA_1200 end'); - done(); - }); - }) - - /* - * @tc.number: ACTS_ProcessManage_clearUpApplicationDataFA_1300 - * @tc.name: Stop an application that exists but is not started - * @tc.desc: Check the result is OK (by AsyncCallback) - */ - it('ACTS_ProcessManage_clearUpApplicationDataFA_1300', 0, async function (done) { - console.log('ACTS_ProcessManage_clearUpApplicationDataFA_1300 begin'); - abilityManager.clearUpApplicationData(systemABundleName, (err, data) => { - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_1300 without running result:====>" - + JSON.stringify(data)); - expect(err.code).assertEqual(0); - setTimeout(async function () { - getAppDataPathFileNums(uriSystemA, async (err, nums) => { - expect(err).assertEqual(null); - expect(nums).assertEqual(4); - console.log('====>ACTS_ProcessManage_clearUpApplicationDataFA_1300 getFileNums nums = ' + nums); - console.log('ACTS_ProcessManage_clearUpApplicationDataFA_1300 end'); - done(); - }); - }, 4000); - }); - }) - - /* - * @tc.number: ACTS_ProcessManage_clearUpApplicationDataFA_1400 - * @tc.name: The system application cleans third-party application for ten times - * @tc.desc: Check the process was cleaned up (by AsyncCallback) - */ - it('ACTS_ProcessManage_clearUpApplicationDataFA_1400', 0, async function (done) { - console.log('ACTS_ProcessManage_clearUpApplicationDataFA_1400 begin'); - var subscriber; - await featureAbility.startAbility( - { - want: - { - bundleName: systemABundleName, - abilityName: systemAAbilityName, - action: "promiseCleanupTentimes", - parameters: { - testTarget: vendorABundleName - } - }, - } - ); - - await commonEvent.createSubscriber(subscribeInfo).then(async (data) => { - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_1400 Create Subscriber data====>" - + data); - subscriber = data; - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_1400 subscriber====>" - + JSON.stringify(subscriber)); - await commonEvent.subscribe(subscriber, subscribeCallBack); - }); - - async function subscribeCallBack(err, data) { - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_1400 Subscribe CallBack data:====>" - + JSON.stringify(data)); - expect(data.event).assertEqual(eventFromSystemA); - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - setTimeout(async function () { - var processexist = await checkPromiseExistDelay(vendorAProcessName); - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_1400 processexist:====>" - + JSON.stringify(processexist)); - expect(processexist).assertEqual(false); - - var missionexist = await checkPromiseMissionExistDelay(vendorAAbilityName) - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_1400 missionexist:====>" - + JSON.stringify(missionexist)); - expect(missionexist).assertEqual(false); - - getAppDataPathFileNums(uriVendorA, async (err, nums) => { - expect(err).assertEqual(null); - expect(nums).assertEqual(4); - console.log('====>ACTS_ProcessManage_clearUpApplicationDataFA_1400 getAppDataPathFileNums nums = ' - + nums); - - console.log('ACTS_ProcessManage_clearUpApplicationDataFA_1400 end'); - done(); - }); - }, 15000); - } - function unSubscribeCallback() { - console.debug("====>ACTS_ProcessManage_clearUpApplicationDataFA_1400 UnSubscribe CallBack====>"); - } - }) -}) \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/test/List.test.js b/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/test/List.test.js deleted file mode 100644 index 8b803e026..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/entry/src/main/js/test/List.test.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * 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 - * - * 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. - */ -require('./ActsProcessManageJsTest.test.js') \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/amsprocessmanageapi7/actsprocessmanagejstest/signature/openharmony_sx.p7b deleted file mode 100644 index cc53179a48f88f20acc379c138a001e9a15838f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3442 zcmcgvYj6|S6}BF>F-F+L*anwiBOa!J?7OmLOQwYEN~;%M$tz2?WlYUVT0LxOwU$<1 zS(Haa;)Zu=rr?H0Y#s&@105h3XNE^Z10^9aB$Vk;3~>l;p)@qbNk}NPE878^fghdB zpdZ>f=bn4-chC9Gcjtnbh)PPC(V}blR>Vu@x5Y$tASRm6=kXvBNKHyv*rMZ+0wJFV zVu@*w19@$+!~|hX_@71MCNdcE1}KRm;3UPR(5y!eituv|F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><}1Pk zvA~`n#EN^G*EfikZ@wckoO(Dt@TCLx&s)?jN!{FZ^p?$bVg9CVFUP(={HaZ-U4>~| z=?%!v&bGepy8D)nQKNetudn;FcFgwIL|2dO+;+b%^ZvBlRl%OTpT3BPZ2Bc7$=ZKy zN5IP|oP5C6 zu=&u(-?F=3+PLLX^`Uk9@;gSZIX~)1Y4^m}md%hyYj?I!kZis9K|na!Ys+Ug@xhdL zru;InpmTDvdF+lgeQm3OVQ#bfyD)l#-qEyWb065)XjuU3x?G-jR|WOX%tqrvjhqhKbWtIr4vS?5W~5?1m9|5&+2u z{wqIMEdMQYXX)?mm3r#-oG#va{aE_xOBvS}yV6ZJbk=JtmW}sx>HmH4R#)aHw=Rw0 z#Ol{~gHl)Aro86NYoABWEtHw3K8*7Q{w2fKg{!sST?8^mE zj0bZho5Q^hK*Mt>+t)L{bD0H}=Exg$E`)GEx$uH11O5u0)^&a(S_= zqy`i|9u-1jVcuFgr(k5xqDILM=e~ zc{#;vD-tsmmGjTOa;B*7yD=xXwyzeC*e}ny+-|#O-3sw1C7i80M~^ssbgpv!d$W#+ YX9HpW+h1JFRc8v8e%3PML|^*<0J%6(*8l(j diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/BUILD.gn b/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/BUILD.gn deleted file mode 100644 index 7ccdba3c7..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/BUILD.gn +++ /dev/null @@ -1,34 +0,0 @@ -# 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 -# -# 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_hap("ActsAmsProcessManageSystemAppAApi7") { - hap_name = "ActsAmsProcessManageSystemAppAApi7" - hap_profile = "./src/main/config.json" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./src/main/js/resources" ] - hap_profile = "./src/main/config.json" -} diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/signature/openharmony_sx.p7b deleted file mode 100644 index cc53179a48f88f20acc379c138a001e9a15838f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3442 zcmcgvYj6|S6}BF>F-F+L*anwiBOa!J?7OmLOQwYEN~;%M$tz2?WlYUVT0LxOwU$<1 zS(Haa;)Zu=rr?H0Y#s&@105h3XNE^Z10^9aB$Vk;3~>l;p)@qbNk}NPE878^fghdB zpdZ>f=bn4-chC9Gcjtnbh)PPC(V}blR>Vu@x5Y$tASRm6=kXvBNKHyv*rMZ+0wJFV zVu@*w19@$+!~|hX_@71MCNdcE1}KRm;3UPR(5y!eituv|F;oBwfOwWT9QHanQx2ph zcBPV($X(o@tXS@pDCIyQA(SM5iexSq2`RW}rkRdU4w62S2$7tFplONI8)AZ9dzgvu zHy9BJ)p;p~bO(vJmkVqnd|s!QX%?3*5>o+2VkcdJU>uoTDN_{7rEms7eLfNjJ>u5!kIq36rWYs)jMd?QZlm z)SJq2Tn)2U7}H`ARTMTLZet|^+bnQ{(ZsD_##z*DQ&-~nJd|b19ooupg;vvSuTq9d z3tEFA4lN8>QB?%PEk%gW-r(^#{7{pfYH(L-D?PQ8-GbI*DzrZej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bWtIr4vS?5W~5?1m9|5&+2u z{wqIMEdMQYXX)?mm3r#-oG#va{aE_xOBvS}yV6ZJbk=JtmW}sx>HmH4R#)aHw=Rw0 z#Ol{~gHl)Aro86NYoABWEtHw3K8*7Q{w2fKg{!sST?8^mE zj0bZho5Q^hK*Mt>+t)L{bD0H}=Exg$E`)GEx$uH11O5u0)^&a(S_= zqy`i|9u-1jVcuFgr(k5xqDILM=e~ zc{#;vD-tsmmGjTOa;B*7yD=xXwyzeC*e}ny+-|#O-3sw1C7i80M~^ssbgpv!d$W#+ YX9HpW+h1JFRc8v8e%3PML|^*<0J%6(*8l(j diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/config.json b/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/config.json deleted file mode 100644 index 829eb86b1..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/config.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "app": { - "bundleName": "com.acts.pmsystemappaapi7", - "vendor": "example", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": { - "default": { - "process": "com.acts.pmsystemappaapi7" - } - }, - "module": { - "package": "com.acts.pmsystemappaapi7", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry" - }, - "abilities": [ - { - "skills": [ - { - "entities": [ - "entity.system.home" - ], - "actions": [ - "action.system.home" - ] - } - ], - "name": "com.acts.pmsystemappaapi7.MainAbility", - "visible": true, - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "launchType": "standard" - } - ], - "reqPermissions": [ - { - "name":"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", - "reason":"need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" - }, - { - "name":"ohos.permission.GET_BUNDLE_INFO", - "reason":"need use ohos.permission.GET_BUNDLE_INFO" - }, - { - "name":"ohos.permission.CHANGE_ABILITY_ENABLED_STATE", - "reason":"need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE" - }, - { - "name":"ohos.permission.REMOVE_CACHE_FILES", - "reason":"need use ohos.permission.REMOVE_CACHE_FILES" - }, - { - "name":"ohos.permission.LISTEN_BUNDLE_CHANGE", - "reason":"need use ohos.permission.LISTEN_BUNDLE_CHANGE" - }, - { - "name":"ohos.permission.INSTALL_BUNDLE", - "reason":"need use ohos.permission.INSTALL_BUNDLE" - }, - { - "name":"ohos.permission.MANAGE_MISSIONS", - "reason":"need use ohos.permission.MANAGE_MISSIONS" - }, - { - "name":"ohos.permission.GET_RUNNING_INFO", - "reason":"need use ohos.permission.GET_RUNNING_INFO" - }, - { - "name":"ohos.permission.CLEAN_BACKGROUND_PROCESSES", - "reason":"need use ohos.permission.CLEAN_BACKGROUND_PROCESSES" - }, - { - "name":"ohos.permission.CLEAN_APPLICATION_DATA", - "reason":"need use ohos.permission.CLEAN_APPLICATION_DATA" - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/default/app.js b/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/default/app.js deleted file mode 100644 index d47cf0cd3..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/default/app.js +++ /dev/null @@ -1,28 +0,0 @@ -/* - * 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 - * - * 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('ProcessManageSystemAppA onCreate'); - }, - onDestroy() { - console.info('ProcessManageSystemAppA onDestroy'); - }, - onShow() { - console.info('ProcessManageSystemAppA onShow'); - }, - onHide() { - console.info('ProcessManageSystemAppA onHide'); - } -}; diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d97..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/default/pages/index/index.css deleted file mode 100644 index 6fda79275..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,9 +0,0 @@ -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/default/pages/index/index.hml deleted file mode 100644 index f64b040a5..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,5 +0,0 @@ -
- - {{ $t('strings.hello') }} {{ title }} - -
diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/default/pages/index/index.js deleted file mode 100644 index 78cc2ff7a..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,226 +0,0 @@ -/* - * 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 - * - * 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 commonEvent from '@ohos.commonevent' -import abilityManager from '@ohos.application.appManager' -import featureAbility from '@ohos.ability.featureability' - -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') - -var subscribeInfo = { - events: ["event_from_ProcessManage_SystemTest", - "event_SystemAppBToSystemAppA", - "event_VendorAppAToSystemAppA", - "event_SystemAppAMultiToSystemAppA", - "event_VendorAppServiceToSystemAppA" - ], -}; -var publishEventName = "event_from_ProcessManage_SystemAppA"; -var eventFromSystemAMulti = "event_SystemAppAMultiToSystemAppA"; -var testAction; -var testTarget; -var subscriber; -var systemABundleName = "com.acts.pmsystemappaapi7"; -var systemBBundleName = "com.acts.pmsystemappbapi7"; -var vendorABundleName = "com.acts.pmvendorappaapi7"; -var systemBAbilityName = "com.acts.pmsystemappbapi7.MainAbility"; -var vendorAAbilityName = "com.acts.pmvendorappaapi7.MainAbility"; -var multiAAbilityName = "com.acts.pmsystemappamultiapi7.MainAbility"; - -function onReceivedPublishCallBack() { - console.log("ACTS_ProcessManage SystemAppA onReceivedPublishCallBack"); -} - -function publishResultEvent(testResult) { - console.log("ACTS_ProcessManage SystemAppA publishResultEvent testAction:" + testAction); - console.log("ACTS_ProcessManage SystemAppA publishResultEvent testTarget:" + testTarget); - console.log("ACTS_ProcessManage SystemAppA publishResultEvent testResult:" + testResult); - let publishData = { data: testResult.toString() }; - console.log("ACTS_ProcessManage SystemAppA publishResultEvent publishData:" - + JSON.stringify(publishData)); - commonEvent.publish(publishEventName, publishData, onReceivedPublishCallBack); - -} -function onReceivedHandleCallback(err, data) { - publishResultEvent(data); - console.log("ACTS_ProcessManage SystemAppA onReceivedHandleCallback data:" - + JSON.stringify(data)); -} - -async function onShowProcess() { - - var abilityWant = await featureAbility.getWant(); - console.log("ACTS_ProcessManage SystemAppA onShowProcess abilityWant:" - + JSON.stringify(abilityWant)); - testAction = abilityWant.action; - console.log("ACTS_ProcessManage SystemAppA onShowProcess testAction:" + testAction); - testTarget = abilityWant.parameters.testTarget; - console.log("ACTS_ProcessManage SystemAppA onShowProcess testTarget:" + testTarget); - - - if (testTarget == systemABundleName) { - - if (testAction == "promiseKill") { - console.log("ACTS_ProcessManage SystemAppA onShowProcess testAction:" + testAction); - var result = await abilityManager.killProcessesByBundleName(testTarget); - console.log("ACTS_ProcessManage SystemAppA onShowProcess result:" + result); - publishResultEvent(result); - } else if (testAction == "asyncKill") { - console.log("ACTS_ProcessManage SystemAppA onShowProcess testAction:" + testAction); - abilityManager.killProcessesByBundleName(testTarget, onReceivedHandleCallback); - } else if (testAction == "promiseCleanup") { - console.log("ACTS_ProcessManage SystemAppA onShowProcess testAction:" + testAction); - var result = await abilityManager.clearUpApplicationData(testTarget); - console.log("ACTS_ProcessManage SystemAppA onShowProcess result:" + result); - publishResultEvent(result); - } else if (testAction == "asyncCleanup") { - console.log("ACTS_ProcessManage SystemAppA onShowProcess testAction:" + testAction); - abilityManager.clearUpApplicationData(testTarget, onReceivedHandleCallback); - } - - } - else { - try { - subscriber = await commonEvent.createSubscriber(subscribeInfo) - console.debug("ACTS_ProcessManage SystemAppA onShowProcess subscriber:" - + JSON.stringify(subscriber)); - commonEvent.subscribe(subscriber, subscribeCallBack); - } catch (err) { - console.debug("ACTS_ProcessManage SystemAppA onShowProcess err:" + err); - } - - if (testTarget == systemBBundleName) { - await featureAbility.startAbility( - { - want: - { - bundleName: systemBBundleName, - abilityName: systemBAbilityName, - }, - } - ); - } - else if (testTarget == vendorABundleName) { - await featureAbility.startAbility( - { - want: - { - bundleName: vendorABundleName, - abilityName: vendorAAbilityName, - }, - } - ); - } - else if (testTarget == multiAAbilityName) { - await featureAbility.startAbility( - { - want: - { - bundleName: systemABundleName, - abilityName: multiAAbilityName, - }, - } - ); - } - } - - async function subscribeCallBack(err, data) { - console.debug("ACTS_ProcessManage SystemAppA subscribeCallBack SubscribeCallBack data:====>" - + JSON.stringify(data)); - console.debug("ACTS_ProcessManage SystemAppA subscribeCallBack SubscribeCallBack data.event:====>" - + JSON.stringify(data.event)); - - if (data.event == eventFromSystemAMulti) { - testTarget = systemABundleName; - } - - if (testAction == "promiseKill") { - console.log("ACTS_ProcessManage SystemAppA subscribeCallBack testAction:" + testAction); - var result = await abilityManager.killProcessesByBundleName(testTarget); - console.log("ACTS_ProcessManage SystemAppA subscribeCallBack result:" + result); - publishResultEvent(result); - } else if (testAction == "asyncKill") { - console.log("ACTS_ProcessManage SystemAppA subscribeCallBack testAction:" + testAction); - await abilityManager.killProcessesByBundleName(testTarget, onReceivedHandleCallback); - } else if (testAction == "promiseCleanup") { - console.log("ACTS_ProcessManage SystemAppA subscribeCallBack testAction:" + testAction); - var result = await abilityManager.clearUpApplicationData(testTarget); - console.log("ACTS_ProcessManage SystemAppA subscribeCallBack result:" + result); - publishResultEvent(result); - } else if (testAction == "asyncCleanup") { - console.log("ACTS_ProcessManage SystemAppA subscribeCallBack testAction:" + testAction); - await abilityManager.clearUpApplicationData(testTarget, onReceivedHandleCallback); - } else if (testAction == "promiseCleanupTentimes") { - for (var i = 0; i < 10; i++) { - console.log("ACTS_ProcessManage SystemAppA subscribeCallBack testAction:" + testAction); - var result = await abilityManager.clearUpApplicationData(testTarget); - console.log("ACTS_ProcessManage SystemAppA subscribeCallBack result:" + result); - } - publishResultEvent(result); - } - } - -} - -export default { - data: { - title: "" - }, - onInit() { - console.info('ACTS_ProcessManage SystemAppA onInit'); - this.title = "ProcessManageSystemAppA"; - }, - onReady() { - console.info('ACTS_ProcessManage SystemAppA onReady'); - onShowProcess(); - }, - onActive() { - console.info('ACTS_ProcessManage SystemAppA onActive'); - }, - onShow() { - console.info('ACTS_ProcessManage SystemAppA onShow'); - - }, - onInactive() { - console.info('ACTS_ProcessManage SystemAppA onInactive'); - }, - onHide() { - console.info('ACTS_ProcessManage SystemAppA onHide'); - }, - onDestroy() { - console.info('ACTS_ProcessManage SystemAppA onDestroy'); - }, - onBackPress() { - console.info('ACTS_ProcessManage SystemAppA onBackPress'); - }, - onNewRequest() { - console.info('ACTS_ProcessManage SystemAppA onNewRequest'); - }, - onStartContinuation() { - console.info('ACTS_ProcessManage SystemAppA onStartContinuation'); - }, - onSaveData(value) { - console.info('ACTS_ProcessManage SystemAppA onSaveData:' + JSON.stringify(value)); - }, - onRestoreData(value) { - console.info('ACTS_ProcessManage SystemAppA onRestoreData:' + JSON.stringify(value)); - }, - onCompleteContinuation(code) { - console.info('ACTS_ProcessManage SystemAppA onCompleteContinuation:' + JSON.stringify(code)); - }, - onConfigurationUpdated(configuration) { - console.info('ACTS_ProcessManage SystemAppA onConfigurationUpdated:' + JSON.stringify(configuration)); - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/resources/base/element/string.json deleted file mode 100644 index fd60cdefa..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "particlestartability" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappa/src/main/js/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 zrdpa{2QLqPJ4Y{j7=Mrl{BaxrkdY69+c~(w{Fv-v&aR%aEI&JYSeRTLWm!zbv;?)_ ziZB;fwGbbeL5Q}YLx`J$lp~A09KK8t_z}PZ=4ZzgdeKtgoc+o5EvN9A1K1_<>M?MBqb#!ASf&# zEX?<)!RH(7>1P+j=jqG(58}TVN-$psA6K}atCuI!KTJD&FMmH-78ZejBm)0qc{ESp z|LuG1{QnBUJRg_E=h1#XMWt2%fcoN@l7eAS!Es?Q+;XsRNPhiiE=@AqlLkJzF`O18 zbsbSmKN=aaq8k3NFYZfDWpKmM!coBU0(XnL8R{4=i|wi{!uWYM2je{U{B*K2PVdu&=E zTq*-XsEsJ$u5H4g6DIm2Y!DN`>^v|AqlwuCD;w45K0@eqauiqWf7l&o)+YLHm~|L~ z7$0v5mkobriU!H<@mVJHLlmQqzQ3d6Rh_-|%Yy2li*tHO>_vcnuZ7OR_xkAIuIU&x z-|8Y0wj|6|a6_I(v91y%k_kNw6pnkNdxjqG8!%Vz_d%c_!X+6-;1`GC9_FpjoHev5fEV7RhJ>r=mh-jp$fqbqRJ=obwdgLD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8v8e%3PML|^*<0J%6(*8l(j diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/config.json b/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/config.json deleted file mode 100644 index fcc970b48..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/config.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "app": { - "bundleName": "com.acts.pmsystemappaapi7", - "vendor": "example", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": { - "default": { - "process": "com.acts.pmsystemappamultiapi7" - } - }, - "module": { - "package": "com.acts.pmsystemappamultiapi7", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "secondEntry", - "moduleType": "feature" - }, - "abilities": [ - { - "skills": [ - { - "entities": [ - "entity.system.home" - ], - "actions": [ - "action.system.home" - ] - } - ], - "name": "com.acts.pmsystemappamultiapi7.MainAbility", - "visible": true, - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "launchType": "standard" - } - ], - "reqPermissions": [ - { - "name":"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", - "reason":"need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" - }, - { - "name":"ohos.permission.GET_BUNDLE_INFO", - "reason":"need use ohos.permission.GET_BUNDLE_INFO" - }, - { - "name":"ohos.permission.CHANGE_ABILITY_ENABLED_STATE", - "reason":"need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE" - }, - { - "name":"ohos.permission.REMOVE_CACHE_FILES", - "reason":"need use ohos.permission.REMOVE_CACHE_FILES" - }, - { - "name":"ohos.permission.LISTEN_BUNDLE_CHANGE", - "reason":"need use ohos.permission.LISTEN_BUNDLE_CHANGE" - }, - { - "name":"ohos.permission.INSTALL_BUNDLE", - "reason":"need use ohos.permission.INSTALL_BUNDLE" - }, - { - "name":"ohos.permission.MANAGE_MISSIONS", - "reason":"need use ohos.permission.MANAGE_MISSIONS" - }, - { - "name":"ohos.permission.GET_RUNNING_INFO", - "reason":"need use ohos.permission.GET_RUNNING_INFO" - }, - { - "name":"ohos.permission.CLEAN_BACKGROUND_PROCESSES", - "reason":"need use ohos.permission.CLEAN_BACKGROUND_PROCESSES" - }, - { - "name":"ohos.permission.CLEAN_APPLICATION_DATA", - "reason":"need use ohos.permission.CLEAN_APPLICATION_DATA" - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/default/app.js b/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/default/app.js deleted file mode 100644 index d2c248770..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/default/app.js +++ /dev/null @@ -1,28 +0,0 @@ -/* - * 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 - * - * 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('ProcessManageSystemAppB onCreate'); - }, - onDestroy() { - console.info('ProcessManageSystemAppB onDestroy'); - }, - onShow() { - console.info('ProcessManageSystemAppB onShow'); - }, - onHide() { - console.info('ProcessManageSystemAppB onHide'); - } -}; diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d97..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/default/pages/index/index.css deleted file mode 100644 index 6fda79275..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,9 +0,0 @@ -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/default/pages/index/index.hml deleted file mode 100644 index f64b040a5..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,5 +0,0 @@ -
- - {{ $t('strings.hello') }} {{ title }} - -
diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/default/pages/index/index.js deleted file mode 100644 index 81e9ef77f..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,74 +0,0 @@ -/* - * 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 - * - * 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 commonEvent from '@ohos.commonevent' - -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') - -var publishEventName = "event_SystemAppAMultiToSystemAppA"; - -function onReceivedPublishCallBack() { - console.log("ACTS_ProcessManage SystemAppAMulti onReceivedPublishCallBack"); -} - -export default { - data: { - title: "" - }, - onInit() { - console.info('ACTS_ProcessManage SystemAppAMulti onInit'); - this.title = "ACTS_ProcessManage SystemAppAMulti"; - }, - onReady() { - console.info('ACTS_ProcessManage SystemAppAMulti onReady'); - commonEvent.publish(publishEventName,onReceivedPublishCallBack); - }, - onActive() { - console.info('ACTS_ProcessManage SystemAppAMulti onActive'); - }, - onShow() { - console.info('ACTS_ProcessManage SystemAppAMulti onShow'); - }, - onInactive() { - console.info('ACTS_ProcessManage SystemAppAMulti onInactive'); - }, - onHide() { - console.info('ACTS_ProcessManage SystemAppAMulti onHide'); - }, - onDestroy() { - console.info('ACTS_ProcessManage SystemAppAMulti onDestroy'); - }, - onBackPress() { - console.info('ACTS_ProcessManage SystemAppAMulti onBackPress'); - }, - onNewRequest() { - console.info('ACTS_ProcessManage SystemAppAMulti onNewRequest'); - }, - onStartContinuation() { - console.info('ACTS_ProcessManage SystemAppAMulti onStartContinuation'); - }, - onSaveData(value) { - console.info('ACTS_ProcessManage SystemAppAMulti onSaveData:' + JSON.stringify(value)); - }, - onRestoreData(value) { - console.info('ACTS_ProcessManage SystemAppAMulti onRestoreData:' + JSON.stringify(value)); - }, - onCompleteContinuation(code) { - console.info('ACTS_ProcessManage SystemAppAMulti onCompleteContinuation:' + JSON.stringify(code)); - }, - onConfigurationUpdated(configuration) { - console.info('ACTS_ProcessManage SystemAppAMulti onConfigurationUpdated:' + JSON.stringify(configuration)); - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/resources/base/element/string.json deleted file mode 100644 index fd60cdefa..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "particlestartability" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappamulti/src/main/js/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 zrdpa{2QLqPJ4Y{j7=Mrl{BaxrkdY69+c~(w{Fv-v&aR%aEI&JYSeRTLWm!zbv;?)_ ziZB;fwGbbeL5Q}YLx`J$lp~A09KK8t_z}PZ=4ZzgdeKtgoc+o5EvN9A1K1_<>M?MBqb#!ASf&# zEX?<)!RH(7>1P+j=jqG(58}TVN-$psA6K}atCuI!KTJD&FMmH-78ZejBm)0qc{ESp z|LuG1{QnBUJRg_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geQm3OVQ#bfyD)l#-qEyWb065)XjuU3x?G-jR|WOX%tqrvjhqhKbWtIr4vS?5W~5?1m9|5&+2u z{wqIMEdMQYXX)?mm3r#-oG#va{aE_xOBvS}yV6ZJbk=JtmW}sx>HmH4R#)aHw=Rw0 z#Ol{~gHl)Aro86NYoABWEtHw3K8*7Q{w2fKg{!sST?8^mE zj0bZho5Q^hK*Mt>+t)L{bD0H}=Exg$E`)GEx$uH11O5u0)^&a(S_= zqy`i|9u-1jVcuFgr(k5xqDILM=e~ zc{#;vD-tsmmGjTOa;B*7yD=xXwyzeC*e}ny+-|#O-3sw1C7i80M~^ssbgpv!d$W#+ YX9HpW+h1JFRc8v8e%3PML|^*<0J%6(*8l(j diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/config.json b/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/config.json deleted file mode 100644 index 9cc2e488d..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/config.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "app": { - "bundleName": "com.acts.pmsystemappbapi7", - "vendor": "example", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.acts.pmsystemappbapi7", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry" - }, - "abilities": [ - { - "skills": [ - { - "entities": [ - "entity.system.home" - ], - "actions": [ - "action.system.home" - ] - } - ], - "name": "com.acts.pmsystemappbapi7.MainAbility", - "visible": true, - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "launchType": "standard" - } - ], - "reqPermissions": [ - { - "name":"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", - "reason":"need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" - }, - { - "name":"ohos.permission.GET_BUNDLE_INFO", - "reason":"need use ohos.permission.GET_BUNDLE_INFO" - }, - { - "name":"ohos.permission.CHANGE_ABILITY_ENABLED_STATE", - "reason":"need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE" - }, - { - "name":"ohos.permission.REMOVE_CACHE_FILES", - "reason":"need use ohos.permission.REMOVE_CACHE_FILES" - }, - { - "name":"ohos.permission.LISTEN_BUNDLE_CHANGE", - "reason":"need use ohos.permission.LISTEN_BUNDLE_CHANGE" - }, - { - "name":"ohos.permission.INSTALL_BUNDLE", - "reason":"need use ohos.permission.INSTALL_BUNDLE" - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/default/app.js b/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/default/app.js deleted file mode 100644 index d2c248770..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/default/app.js +++ /dev/null @@ -1,28 +0,0 @@ -/* - * 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 - * - * 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('ProcessManageSystemAppB onCreate'); - }, - onDestroy() { - console.info('ProcessManageSystemAppB onDestroy'); - }, - onShow() { - console.info('ProcessManageSystemAppB onShow'); - }, - onHide() { - console.info('ProcessManageSystemAppB onHide'); - } -}; diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d97..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/default/pages/index/index.css deleted file mode 100644 index 6fda79275..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,9 +0,0 @@ -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/default/pages/index/index.hml deleted file mode 100644 index f64b040a5..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,5 +0,0 @@ -
- - {{ $t('strings.hello') }} {{ title }} - -
diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/default/pages/index/index.js deleted file mode 100644 index e5a9840f0..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,74 +0,0 @@ -/* - * 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 - * - * 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 commonEvent from '@ohos.commonevent' - -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') - -var publishEventName = "event_SystemAppBToSystemAppA"; - -function onReceivedPublishCallBack() { - console.log("ACTS_ProcessManage SystemAppB onReceivedPublishCallBack"); -} - -export default { - data: { - title: "" - }, - onInit() { - console.info('ACTS_ProcessManage SystemAppB onInit'); - this.title = "ACTS_ProcessManage SystemAppB"; - }, - onReady() { - console.info('ACTS_ProcessManage SystemAppB onReady'); - commonEvent.publish(publishEventName,onReceivedPublishCallBack); - }, - onActive() { - console.info('ACTS_ProcessManage SystemAppB onActive'); - }, - onShow() { - console.info('ACTS_ProcessManage SystemAppB onShow'); - }, - onInactive() { - console.info('ACTS_ProcessManage SystemAppB onInactive'); - }, - onHide() { - console.info('ACTS_ProcessManage SystemAppB onHide'); - }, - onDestroy() { - console.info('ACTS_ProcessManage SystemAppB onDestroy'); - }, - onBackPress() { - console.info('ACTS_ProcessManage SystemAppB onBackPress'); - }, - onNewRequest() { - console.info('ACTS_ProcessManage SystemAppB onNewRequest'); - }, - onStartContinuation() { - console.info('ACTS_ProcessManage SystemAppB onStartContinuation'); - }, - onSaveData(value) { - console.info('ACTS_ProcessManage SystemAppB onSaveData:' + JSON.stringify(value)); - }, - onRestoreData(value) { - console.info('ACTS_ProcessManage SystemAppB onRestoreData:' + JSON.stringify(value)); - }, - onCompleteContinuation(code) { - console.info('ACTS_ProcessManage SystemAppB onCompleteContinuation:' + JSON.stringify(code)); - }, - onConfigurationUpdated(configuration) { - console.info('ACTS_ProcessManage SystemAppB onConfigurationUpdated:' + JSON.stringify(configuration)); - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/resources/base/element/string.json deleted file mode 100644 index fd60cdefa..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "particlestartability" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/amsprocessmanageapi7/pmsystemappb/src/main/js/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 zrdpa{2QLqPJ4Y{j7=Mrl{BaxrkdY69+c~(w{Fv-v&aR%aEI&JYSeRTLWm!zbv;?)_ ziZB;fwGbbeL5Q}YLx`J$lp~A09KK8t_z}PZ=4ZzgdeKtgoc+o5EvN9A1K1_<>M?MBqb#!ASf&# zEX?<)!RH(7>1P+j=jqG(58}TVN-$psA6K}atCuI!KTJD&FMmH-78ZejBm)0qc{ESp z|LuG1{QnBUJRg_E=h1#XMWt2%fcoN@l7eAS!Es?Q+;XsRNPhiiE=@AqlLkJz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<7wxFlWui+*cW%F1J?8H8%$1?8tY1trhwb{s1n z5U`)2OyVUCVp2w7+O~JczuJ>v+Iy}!`(Se=Gvf21)f0FUfQt{9N+uin{3mAjOB=Ry zRvcclKf7(%s1b5VL*?bdhs57l==-icYepcHV?YPE7mPa_tqn>^qO(s5`GZe{F ztll6og5-J9!93#3r=y5ZpwN`9-=ErYAVa=y#iu)}|8WI=K3jNs!rM2#q?fAp?@qe4 z?|Sxx&pO`{y??Y|$Kqf`)2YSJ1rOG@z4s>zC_ntwh8g)KN7@gZ*fe4D&KpflX*bR_ zPieaS+JeKgGH+i!-M#vb#MbHr_z-b=EJywijy+b~hMX`0Zvr6rAaL;&#nRu<*I)bX z?Lu$$o>Tc-FCR}k)tP>Ikvq-QqqBY8v}C-uUH|X%SKG&YakX<4D^@3;p_n~|p>3A- z>5{ugD)xS|etp^r{|jAX;}h>Kzhqn$>RF9n4%+Eeo=;_OzwlKK6z8c}lFeoB0-*M( zl(GLr9eV9(@quvz*NzkclsaG}^T5ObBP9_U$sLRAlMke_JUL6f+=rt=NG!|>zc^>! z+U4{3*ndwBztOqz$c4jOOR_Bs{BJfEg$>QjWiV{uEawZg0Oe<8JowTxblAMpRY81*w8(C)7-q~VFx-B MFE+_H33k^04}`^2tpET3 diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/config.json b/aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/config.json deleted file mode 100644 index 38a858855..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/config.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "app": { - "bundleName": "com.acts.pmvendorappaapi7", - "vendor": "example", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.acts.pmvendorappaapi7", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry" - }, - "abilities": [ - { - "skills": [ - { - "entities": [ - "entity.system.home" - ], - "actions": [ - "action.system.home" - ] - } - ], - "name": "com.acts.pmvendorappaapi7.MainAbility", - "visible": true, - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "launchType": "standard" - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/default/app.js b/aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/default/app.js deleted file mode 100644 index eee95cf27..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/default/app.js +++ /dev/null @@ -1,28 +0,0 @@ -/* - * 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 - * - * 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('ProcessManageVendorAppA onCreate'); - }, - onDestroy() { - console.info('ProcessManageVendorAppA onDestroy'); - }, - onShow() { - console.info('ProcessManageVendorAppA onShow'); - }, - onHide() { - console.info('ProcessManageVendorAppA onHide'); - } -}; diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d97..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/default/pages/index/index.css deleted file mode 100644 index 6fda79275..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,9 +0,0 @@ -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/default/pages/index/index.hml deleted file mode 100644 index f64b040a5..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,5 +0,0 @@ -
- - {{ $t('strings.hello') }} {{ title }} - -
diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/default/pages/index/index.js deleted file mode 100644 index bd639822c..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,107 +0,0 @@ -/* - * 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 - * - * 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 commonEvent from '@ohos.commonevent' -import abilityManager from '@ohos.application.appManager' -import featureAbility from '@ohos.ability.featureability' - -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') - -var publishEventName = "event_VendorAppAToSystemAppA"; -var publishEventNameVendor = "event_from_ProcessManage_VendorAppA"; -var testAction; -var testTarget; - -function onReceivedPublishCallBack() { - console.log("ACTS_ProcessManage VendorAppA onReceivedPublishCallBack"); -} - -function onReceivedHandleCallback(err, data) { - console.log("ACTS_ProcessManage VendorAppA onReceivedHandleCallback JSON.stringify data:" - + JSON.stringify(data)); - console.log("ACTS_ProcessManage VendorAppA onReceivedHandleCallback data:" - + data); - console.log("ACTS_ProcessManage VendorAppA onReceivedHandleCallback err:" - + err); - commonEvent.publish(publishEventNameVendor,onReceivedPublishCallBack); -} - -export default { - data: { - title: "" - }, - onInit() { - console.info('ACTS_ProcessManage VendorAppA onInit'); - this.title = "ACTS_ProcessManage VendorAppA"; - }, - async onReady() { - console.info('ACTS_ProcessManage VendorAppA onReady'); - var abilityWant = await featureAbility.getWant(); - console.log("ACTS_ProcessManage VendorAppA onShow abilityWant:" - + JSON.stringify(abilityWant)); - testAction = abilityWant.action; - console.log("ACTS_ProcessManage VendorAppA onShow testAction:" + testAction); - testTarget = abilityWant.parameters.testTarget; - console.log("ACTS_ProcessManage VendorAppA onShow testTarget:" + testTarget); - if (testAction == 'thirdpartykill') { - console.log("ACTS_ProcessManage VendorAppA onForeground testAction:" + testAction); - appManager.killProcessesByBundleName(testTarget, onReceivedHandleCallback); - } - if (testAction == 'thirdpartyclear') { - console.log("ACTS_ProcessManage VendorAppA onForeground testAction:" + testAction); - appManager.clearUpApplicationData(testTarget, onReceivedHandleCallback); - } - else{ - commonEvent.publish(publishEventName, onReceivedPublishCallBack); - } - - }, - onActive() { - console.info('ACTS_ProcessManage VendorAppA onActive'); - }, - onShow() { - console.info('ACTS_ProcessManage VendorAppA onShow'); - }, - onInactive() { - console.info('ACTS_ProcessManage VendorAppA onInactive'); - }, - onHide() { - console.info('ACTS_ProcessManage VendorAppA onHide'); - }, - onDestroy() { - console.info('ACTS_ProcessManage VendorAppA onDestroy'); - }, - onBackPress() { - console.info('ACTS_ProcessManage VendorAppA onBackPress'); - }, - onNewRequest() { - console.info('ACTS_ProcessManage VendorAppA onNewRequest'); - }, - onStartContinuation() { - console.info('ACTS_ProcessManage VendorAppA onStartContinuation'); - }, - onSaveData(value) { - console.info('ACTS_ProcessManage VendorAppA onSaveData:' + JSON.stringify(value)); - }, - onRestoreData(value) { - console.info('ACTS_ProcessManage VendorAppA onRestoreData:' + JSON.stringify(value)); - }, - onCompleteContinuation(code) { - console.info('ACTS_ProcessManage VendorAppA onCompleteContinuation:' + JSON.stringify(code)); - }, - onConfigurationUpdated(configuration) { - console.info('ACTS_ProcessManage VendorAppA onConfigurationUpdated:' + JSON.stringify(configuration)); - } -} diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/resources/base/element/string.json deleted file mode 100644 index fd60cdefa..000000000 --- a/aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "particlestartability" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/amsprocessmanageapi7/pmvendorappa/src/main/js/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 zrdpa{2QLqPJ4Y{j7=Mrl{BaxrkdY69+c~(w{Fv-v&aR%aEI&JYSeRTLWm!zbv;?)_ ziZB;fwGbbeL5Q}YLx`J$lp~A09KK8t_z}PZ=4ZzgdeKtgoc+o5EvN9A1K1_<>M?MBqb#!ASf&# zEX?<)!RH(7>1P+j=jqG(58}TVN-$psA6K}atCuI!KTJD&FMmH-78ZejBm)0qc{ESp z|LuG1{QnBUJRg_E=h1#XMWt2%fcoN@l7eAS!Es?Q+;XsRNPhiiE=@AqlLkJzF`O18 zbsbSmKN=aaq8k3NFYZfDWpKmM!coBU0(XnL8R{4=i|wi{!uWYM2je{U{B*K2PVdu&=E zTq*-XsEsJ$u5H4g6DIm2Y!DN`>^v|AqlwuCD;w45K0@eqauiqWf7l&o)+YLHm~|L~ z7$0v5mkobriU!H<@mVJHLlmQqzQ3d6Rh_-|%Yy2li*tHO>_vcnuZ7OR_xkAIuIU&x z-|8Y0wj|6|a6_I(v91y%k_kNw6pnkNdxjqG8!%Vz_d%c_!X+6-;1`GC9_FpjoHev5fEV7RhJ>r=mh-jp$fqbqRJ=obwdgLDVP5+s zy1=_DWG0Y-Jb3t^WXmkr(d9~08k-|#Ly zaNOmT(^9tIb&eb4%CzIT zAm3CUtWSr1t4?h1kk#NBi{U|pJslvME{q|_eS^3En>SOqSxyuN1x;Is@8~m?*>}** znrRFArP!K_52RpX*&JHMR<^lVdm8ypJ}0R(SD(51j;6@ni$6bQ+2XL+R^|NnSp5}(kzvMZ^(@4fD_{QVu$(&K6H|C37TG1Am9Re{<<3gd zh@`>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ON.stringify(data) ) - console.log("---uri: " + data.uri) - if(data.uri != ""){ - console.log("want.uri" + JSON.stringify(data.uri)); - commonEvent.publish("uri", { - parameters:{ - uri: data.uri - } - }, () => { - console.log("MainAbility2 Publish CallBack data.uri") - }); - }else if(data.type != ""){ - console.log("want.type" + JSON.stringify(data.type)); - commonEvent.publish("type", { - parameters:{ - type: data.type - } - }, () => { - console.log("MainAbility2 Publish CallBack data.type") - }); - } - }) }, onDestroy() { diff --git a/aafwk/aafwk_standard/fa/fa_coverapi_test/entry/src/main/js/test/coverApiTest.js b/aafwk/aafwk_standard/fa/fa_coverapi_test/entry/src/main/js/test/coverApiTest.js index 651ba17f2..407553a70 100755 --- a/aafwk/aafwk_standard/fa/fa_coverapi_test/entry/src/main/js/test/coverApiTest.js +++ b/aafwk/aafwk_standard/fa/fa_coverapi_test/entry/src/main/js/test/coverApiTest.js @@ -45,80 +45,4 @@ describe('CoverApiTest', function () { done(); }) }); - - /* - * @tc.number SUB_AA_OpenHarmony_CoverApi_0700 - * @tc.name Verify that the data of nonexistent apps is cleared - * @tc.desc Function test - * @tc.level 0 - */ - it('SUB_AA_OpenHarmony_CoverApi_0700', 0, async function (done) { - console.log("SUB_AA_OpenHarmony_CoverApi_0700 --- start"); - appManager.clearUpApplicationData('com.example.coverapi') - .then((data) => { - console.info('SUB_AA_OpenHarmony_CoverApi_0700 successful. data: ' + JSON.stringify(data)); - expect(data == 0).assertTrue(); - done(); - }).catch((error) => { - console.error('SUB_AA_OpenHarmony_CoverApi_0700 failed. error: ' + JSON.stringify(error)); - expect().assertFalse(); - done(); - }) - }) - - /** - * @tc.number: SUB_AA_OpenHarmony_CoverApi_0500 - * @tc.name: wantConstant : Check specific enum - * @tc.desc: Check the return type of the interface (by Promise) - */ - it('SUB_AA_OpenHarmony_CoverApi_0800', 0, async function (done) { - console.log("SUB_AA_OpenHarmony_CoverApi_0800 --- start"); - - var Subscriber; - let id; - - function SubscribeCallBack(err, data) { - console.debug("SUB_AA_OpenHarmony_CoverApi_0800====>Subscribe CallBack data:====>" + JSON.stringify(data)); - expect(data.event == 'mainAbilityOnConfigurationUpdated').assertTrue(); - if (data.event == 'mainAbility_onConfigurationUpdated') { - clearTimeout(id); - commonEvent.unsubscribe(Subscriber, UnSubscribeCallback); - done(); - } - } - - commonEvent.createSubscriber(subscriberInfoMainAbility).then(async (data) => { - console.debug("SUB_AA_OpenHarmony_CoverApi_0800====>Create Subscriber====>"); - Subscriber = data; - await commonEvent.subscribe(Subscriber, SubscribeCallBack); - }) - - - function UnSubscribeCallback() { - console.debug("SUB_AA_OpenHarmony_CoverApi_0800====>UnSubscribe CallBack====>"); - done(); - } - - function timeout() { - expect().assertFail(); - console.debug('SUB_AA_OpenHarmony_CoverApi_0800 - timeout'); - commonEvent.unsubscribe(Subscriber, UnSubscribeCallback) - done(); - } - - id = setTimeout(timeout, START_ABILITY_TIMEOUT); - - var Configuration = { language: "en" }; - abilityManager.updateConfiguration(Configuration) - .then((data) => { - console.log("SUB_AA_OpenHarmony_CoverApi_0800 --- updateConfiguration " + JSON.stringify(data)); - done(); - }).catch((error) => { - console.error('SUB_AA_OpenHarmony_CoverApi_0800 failed. error: ' + JSON.stringify(error)); - done(); - }) - - console.log("SUB_AA_OpenHarmony_CoverApi_0800 --- end"); - }) - }) diff --git a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/test/AbilityDisableTest.js b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/test/AbilityDisableTest.js index a3b8feb23..a2e34e560 100755 --- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/test/AbilityDisableTest.js +++ b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/test/AbilityDisableTest.js @@ -93,40 +93,4 @@ describe('AbilityDisableTests', function () { }) done(); }); - - /* - * @tc.number SUB_AA_OpenHarmony_EqueryAbilityByWant_0300 - * @tc.name Call AbilityStateData to get abilityType - * @tc.desc Function test - * @tc.level 0 - */ - it("SUB_AA_OpenHarmony_EqueryAbilityByWant_0400", 0, async function (done) { - console.log("------------start SUB_AA_OpenHarmony_EqueryAbilityByWant_0400-------------"); - var registerId = appManager.registerApplicationStateObserver({ - onForegroundApplicationChanged: (data) => { - console.log("SUB_onForegroundApplicationChanged") - }, - onAbilityStateChanged: (data) => { - console.log("SUB_onAbilityStateChanged") - }, - onProcessCreated: (data) => { - console.log("SUB_onProcessCreated") - }, - onProcessDied: (data) => { - console.log("SUB_onProcessDied") - } - }) - console.log('SUB_AA_OpenHarmony_EqueryAbilityByWant_0400 registerId : ' + JSON.stringify(registerId)); - console.log('SUB_AA_OpenHarmony_EqueryAbilityByWant_0400 registerId : ' + typeof registerId); - expect(typeof(registerId) == "number").assertTrue(); - - await appManager.unregisterApplicationStateObserver(parseInt(registerId), async(err, data) => { - console.log("SUB_AA_OpenHarmony_StateListener_0200 err1:" - + JSON.stringify(err) + ",data: " + JSON.stringify(data)); - expect(err["code"] == "1").assertTrue(); - }) - done(); - }) - - }) \ No newline at end of file diff --git a/aafwk/aafwk_standard/fa/fa_statelistener_test/BUILD.gn b/aafwk/aafwk_standard/fa/fa_statelistener_test/BUILD.gn deleted file mode 100755 index 375c2ea88..000000000 --- a/aafwk/aafwk_standard/fa/fa_statelistener_test/BUILD.gn +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright (c) 2020-2021 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("FaStatelistenerTest") { - hap_profile = "./entry/src/main/config.json" - deps = [ - ":fa_statelistener_test_assets", - ":fa_statelistener_test_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" - hap_name = "FaStatelistenerTest" -} -ohos_js_assets("fa_statelistener_test_assets") { - source_dir = "./entry/src/main/js/MainAbility" -} -ohos_resources("fa_statelistener_test_resources") { - sources = [ "./entry/src/main/resources" ] - hap_profile = "./entry/src/main/config.json" -} diff --git a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/config.json b/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/config.json deleted file mode 100755 index f357e0836..000000000 --- a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/config.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "app": { - "bundleName": "com.example.fenxdy", - "vendor": "example", - "version": { - "code": 1000000, - "name": "1.0.0" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.example.fenxdy", - "name": ".MyApplication", - "mainAbility": ".MainAbility", - "srcPath": "", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry", - "installationFree": false - }, - "abilities": [ - { - "skills": [ - { - "entities": [ - "entity.system.home" - ], - "actions": [ - "action.system.home" - ] - } - ], - "orientation": "unspecified", - "visible": true, - "srcPath": "MainAbility", - "name": ".MainAbility", - "srcLanguage": "js", - "icon": "$media:icon", - "description": "$string:description_mainability", - "formsEnabled": false, - "label": "$string:entry_MainAbility", - "type": "page", - "launchType": "standard" - }, - { - "orientation": "unspecified", - "srcPath": "MainAbility2", - "name": ".MainAbility2", - "srcLanguage": "js", - "icon": "$media:icon", - "description": "$string:description_mainability2", - "formsEnabled": false, - "label": "$string:entry_MainAbility2", - "type": "page", - "launchType": "standard" - } - ], - "js": [ - { - "pages": [ - "pages/index/index", - "pages/second/second" - ], - "name": ".MainAbility", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - }, - { - "pages": [ - "pages/index/index", - "pages/second/second" - ], - "name": ".MainAbility2", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/app.js b/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/app.js deleted file mode 100755 index 50449ecbe..000000000 --- a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 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("Application onCreate"); - }, - onDestroy() { - console.info("Application onDestroy"); - } -}; diff --git a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/i18n/en-US.json deleted file mode 100755 index 08e34eac9..000000000 --- a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/i18n/en-US.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World", - "page": "Second Page", - "next": "Next Page", - "back": "Back" - }, - "Files": { - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/i18n/zh-CN.json deleted file mode 100755 index 3dd53b3a8..000000000 --- a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/i18n/zh-CN.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界", - "page": "第二页", - "next": "下一页", - "back": "返回" - }, - "Files": { - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/pages/index/index.css deleted file mode 100755 index 737096ca1..000000000 --- a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/pages/index/index.css +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) 2021 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. - */ -.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; -} - -.btn { - width: 50%; - height: 100px; - font-size: 40px; -} diff --git a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/pages/index/index.hml b/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/pages/index/index.hml deleted file mode 100755 index fef38727f..000000000 --- a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/pages/index/index.hml +++ /dev/null @@ -1,20 +0,0 @@ - -
- - {{ $t('strings.hello') }} {{ title }} {{text}} - - -
diff --git a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/pages/index/index.js deleted file mode 100755 index 07ee10a61..000000000 --- a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/pages/index/index.js +++ /dev/null @@ -1,47 +0,0 @@ - -/* - * Copyright (c) 2021 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 router from '@system.router' -import {Core} from 'deccjsunit/index' -export default { - data: { - title: "", - text: "" - }, - onInit() { - this.title = this.$t('strings.world'); - this.text = "Nobody" - }, - onclick: function () { - router.replace({ - uri: "pages/second/second" - }) - }, - onShow() { - console.info('onShow finish') - const core = Core.getInstance() - core.init() - const configService = core.getDefaultService('config') - configService.setConfig(this) - require('../../../test/List.test') - core.execute() - } - - - -} - - - diff --git a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/pages/second/second.css deleted file mode 100755 index abfc3a081..000000000 --- a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/pages/second/second.css +++ /dev/null @@ -1,39 +0,0 @@ - -/* - * Copyright (c) 2021 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. - */ -.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; -} - -.btn { - width: 50%; - height: 100px; - font-size: 40px; -} diff --git a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/pages/second/second.hml deleted file mode 100755 index 4503365d5..000000000 --- a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/pages/second/second.hml +++ /dev/null @@ -1,20 +0,0 @@ - -
- - {{ $t('strings.page') }} - - -
diff --git a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/pages/second/second.js deleted file mode 100755 index 55c229adf..000000000 --- a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility/pages/second/second.js +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright (c) 2021 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 router from '@system.router' - -export default { - data: { - title: 'World' - }, - onclick: function () { - router.replace({ - uri: "pages/index/index" - }) - } -} diff --git a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/app.js b/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/app.js deleted file mode 100755 index 50449ecbe..000000000 --- a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/app.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 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("Application onCreate"); - }, - onDestroy() { - console.info("Application onDestroy"); - } -}; diff --git a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/i18n/en-US.json deleted file mode 100755 index 08e34eac9..000000000 --- a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/i18n/en-US.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World", - "page": "Second Page", - "next": "Next Page", - "back": "Back" - }, - "Files": { - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/i18n/zh-CN.json deleted file mode 100755 index 3dd53b3a8..000000000 --- a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/i18n/zh-CN.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界", - "page": "第二页", - "next": "下一页", - "back": "返回" - }, - "Files": { - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/pages/index/index.css deleted file mode 100755 index abfc3a081..000000000 --- a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/pages/index/index.css +++ /dev/null @@ -1,39 +0,0 @@ - -/* - * Copyright (c) 2021 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. - */ -.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; -} - -.btn { - width: 50%; - height: 100px; - font-size: 40px; -} diff --git a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/pages/index/index.hml b/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/pages/index/index.hml deleted file mode 100755 index 83ae6b784..000000000 --- a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/pages/index/index.hml +++ /dev/null @@ -1,20 +0,0 @@ - -
- - {{ $t('strings.hello') }} {{ title }} - - -
diff --git a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/pages/index/index.js deleted file mode 100755 index cc22dd2c8..000000000 --- a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/pages/index/index.js +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2021 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 router from '@system.router' - -export default { - data: { - title: "" - }, - onInit() { - this.title = this.$t('strings.world'); - }, - onclick: function () { - router.replace({ - uri: "pages/second/second" - }) - } -} - - - diff --git a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/pages/second/second.css deleted file mode 100755 index 737096ca1..000000000 --- a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/pages/second/second.css +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) 2021 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. - */ -.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; -} - -.btn { - width: 50%; - height: 100px; - font-size: 40px; -} diff --git a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/pages/second/second.hml deleted file mode 100755 index 4503365d5..000000000 --- a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/pages/second/second.hml +++ /dev/null @@ -1,20 +0,0 @@ - -
- - {{ $t('strings.page') }} - - -
diff --git a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/pages/second/second.js deleted file mode 100755 index 55c229adf..000000000 --- a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/MainAbility2/pages/second/second.js +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright (c) 2021 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 router from '@system.router' - -export default { - data: { - title: 'World' - }, - onclick: function () { - router.replace({ - uri: "pages/index/index" - }) - } -} diff --git a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/test/List.test.js b/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/test/List.test.js deleted file mode 100755 index fd96c69b6..000000000 --- a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/test/List.test.js +++ /dev/null @@ -1,18 +0,0 @@ - -/* - * Copyright (c) 2021 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. - */ - - -require('./startFULL.test.js'); \ No newline at end of file diff --git a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/test/startFULL.test.js b/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/test/startFULL.test.js deleted file mode 100755 index dc2b04339..000000000 --- a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/js/test/startFULL.test.js +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (c) 2021 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. - */ -// @ts-nocheck -import appManager from '@ohos.application.appManager'; -import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "deccjsunit/index" - -var subscriberInfoMainAbility2 = { - events: ["SUB_AA_OpenHarmony_StateListener_0300_CommonEvent"], -}; - - -describe("appManagerTest", function () { - console.log("----appManagerTest is starting------"); - - /** - * @tc.number: SUB_AA_OpenHarmony_StateListener_0200 - * @tc.name: Re-call deregister listener interface validation - * @tc.desc: Function test - * @tc.level 0 - */ - it("SUB_AA_OpenHarmony_StateListener_0200", 0, async function (done) { - console.log("------------start SUB_AA_OpenHarmony_StateListener_0200-------------"); - var registerId = appManager.registerApplicationStateObserver({ - onForegroundApplicationChanged: (data) => { - console.log("SUB_onForegroundApplicationChanged") - }, - onAbilityStateChanged: (data) => { - console.log("SUB_onAbilityStateChanged") - }, - onProcessCreated: (data) => { - console.log("SUB_onProcessCreated") - }, - onProcessDied: (data) => { - console.log("SUB_onProcessDied") - } - }) - console.log('SUB_AA_OpenHarmony_StateListener_0200 registerId : ' + JSON.stringify(registerId)); - console.log('SUB_AA_OpenHarmony_StateListener_0200 registerId : ' + typeof registerId); - expect(typeof(registerId) == "number").assertTrue(); - - await appManager.unregisterApplicationStateObserver(registerId, async(err, data) => { - console.log("SUB_AA_OpenHarmony_StateListener_0200 err1:" - + JSON.stringify(err) + ",data: " + JSON.stringify(data)); - }) - await appManager.unregisterApplicationStateObserver(registerId, async(err, data) => { - console.log("SUB_AA_OpenHarmony_StateListener_0200 err2:" - + JSON.stringify(err) + ",data: " + JSON.stringify(data)); - expect(err.code == 1).assertTrue(); - done(); - }) - - }) - - -}) - - - - diff --git a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/resources/base/element/string.json b/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/resources/base/element/string.json deleted file mode 100755 index 92f5ff8a4..000000000 --- a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/resources/base/element/string.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "string": [ - { - "name": "entry_MainAbility", - "value": "entry_MainAbility" - }, - { - "name": "description_mainability", - "value": "JS_Empty Ability" - }, - { - "name": "description_mainability2", - "value": "JS_Empty Ability" - }, - { - "name": "entry_MainAbility2", - "value": "entry_MainAbility2" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/resources/base/media/icon.png b/aafwk/aafwk_standard/fa/fa_statelistener_test/entry/src/main/resources/base/media/icon.png deleted file mode 100755 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 zrdpa{2QLqPJ4Y{j7=Mrl{BaxrkdY69+c~(w{Fv-v&aR%aEI&JYSeRTLWm!zbv;?)_ ziZB;fwGbbeL5Q}YLx`J$lp~A09KK8t_z}PZ=4ZzgdeKtgoc+o5EvN9A1K1_<>M?MBqb#!ASf&# zEX?<)!RH(7>1P+j=jqG(58}TVN-$psA6K}atCuI!KTJD&FMmH-78ZejBm)0qc{ESp z|LuG1{QnBUJRg_E=h1#XMWt2%fcoN@l7eAS!Es?Q+;XsRNPhiiE=@AqlLkJzF`O18 zbsbSmKN=aaq8k3NFYZfDWpKmM!coBU0(XnL8R{4=i|wi{!uWYM2je{U{B*K2PVdu&=E zTq*-XsEsJ$u5H4g6DIm2Y!DN`>^v|AqlwuCD;w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=6NnsI@mxnwm;tf5;_Uxg?jZ8m-m0}&6+DA!qam(p$mN5R})yA_7m$q@| zFEd|dpS595rxQr-n#GjI5i-AhnUE>Cr;jpCqSrD~EwK_DqI^7%3#p5)%T_od!t3SOmH9MyXeeGO2(UQL;ax|x?Ncixmeo1=$ z{-);Au{*tfzOG?KQ~K|ak8-HQ?`Pekhe2WM(8s{xv-p>Zmu_6{G!-oE$7$mY`MOJorI=+mMx?H;`pr!;fVYz?5~yXBACruWB`Ph zZM}90_<^OBxIhyZ9BW$`>6JvO;%VFpqVr8|7t3~AmxYak6?`Pp#c;**_SYmi`&z23 z`p6_~ePvH)C6x-G9$hgL=eVALq`-AiamN>!3~Lxw&{H(b{B(7xSRm6<3<{%{yXiH# zos5Rv1L+8fUKJLo%P>4I&$}y { - console.log("SUB_onForegroundApplicationChanged" + JSON.stringify(aapData)) - ForegroundApplication1.push(aapData); - console.log('ForegroundApplication :' + JSON.stringify(ForegroundApplication1)) - }, - onAbilityStateChanged: (StateData) => { - console.log("==onAbilityStateChanged1==>" + JSON.stringify(StateData)) - AbilityStateChanged1.push(StateData) - console.log('AbilityStateChanged1:' + JSON.stringify(AbilityStateChanged1)) - }, - onProcessCreated: (CreateData) => { - console.log("SUB_onProcessCreated" + JSON.stringify(CreateData)) - arr1.push('onProcessCreated', CreateData) - console.log('arr2:' + JSON.stringify(arr1)) - }, - onProcessDied: (ProcessData) => { - console.log("SUB_onProcessDied" + JSON.stringify(ProcessData)) - arr1.push('onProcessDied', ProcessData) - console.log("SUB_onProcessDied" + JSON.stringify(arr1)) - console.log('arr3:' + JSON.stringify(arr1)) - } - }) - await sleep(400); - var want = { - "bundleName": "com.example.fzstatelistener", - "abilityName": "com.example.fzstatelistener.MainAbility" - } - await featureAbility.startAbility({ want }).then().catch(); - await sleep(1000); - console.log('AbilityStateChanged1===>' + JSON.stringify(AbilityStateChanged1)) - console.log('ForegroundApplication1===>' + JSON.stringify(ForegroundApplication1)) - checkArr(arr1, AbilityStateChanged1, ForegroundApplication1) - done(); - }) - - function checkArr(arr, AbilityStateChanged, ForegroundApplication) { - console.log('==app1==:' + AbilityStateChanged.length) - if (arr == [] || AbilityStateChanged == [] || ForegroundApplication == []) { - expect().assertFail() - } - console.log('==check process==>strat' + JSON.stringify(arr)) - let process = getProcessData(arr, 'onProcessCreated') - console.log(' processlist :' + JSON.stringify(process)) - for (let i = 0;i < process.length; i++) { - console.log('==check process==> process[i] :' + JSON.stringify(process[i])) - if (process[i].bundleName == 'com.example.fzstatelistener') { - assistData = process[i] - console.log('==assistData==>' + JSON.stringify(assistData)) - } - } - - checkProcessData(assistData) - console.log('==app==:' + AbilityStateChanged.length) - for (let i = 0;i < AbilityStateChanged.length; i++) { - console.log('==appState==> :' + JSON.stringify(AbilityStateChanged[i])) - if (AbilityStateChanged[i].bundleName == 'com.example.fzstatelistener') { - assistData = AbilityStateChanged[i] - console.log('==check assistData==> :' + JSON.stringify(assistData)) - } - else if (AbilityStateChanged[i].bundleName == 'com.example.sum_statelistener') { - testData = AbilityStateChanged[i] - console.log('==check testData==> :' + JSON.stringify(testData)) - - } - } - if (testData == undefined || assistData == undefined) { - console.log('testData||assistData is null') - expect().assertFail() - } - checkAbilityStateData(assistData) - checkAbilityStateData2(testData) - console.log('==app==:' + ForegroundApplication.length) - for (let i = 0;i < ForegroundApplication.length; i++) { - console.log('==abilityState==>' + JSON.stringify(ForegroundApplication[i])) - if (ForegroundApplication[i].bundleName == 'com.example.fzstatelistener') { - assistData = ForegroundApplication[i] - console.log('==check assistData2==> :' + JSON.stringify(assistData)) - - } - else if (ForegroundApplication[i].bundleName == 'com.example.sum_statelistener') { - testData = ForegroundApplication[i] - console.log('==check testData2==> :' + JSON.stringify(testData)) - } - } - if (testData == undefined || assistData == undefined) { - console.log('testData||assistData is null') - expect().assertFail() - } - checkAppStateData(assistData) - checkAppStateData2(testData) - } - - function checkAbilityStateData2(list) { - console.log('==checkAbilityStateData2==>' + JSON.stringify(list)) - expect('com.example.sum_statelistener').assertEqual(list.bundleName) - expect('com.example.sum_statelistener.MainAbility').assertEqual(list.abilityName) - expect(list.pid > 0).assertTrue() - expect(list.uid > 0).assertTrue() - expect(3).assertEqual(list.state) - } - - function checkAbilityStateData(list) { - console.log('==checkAbilityStateData==>' + JSON.stringify(list)) - expect('com.example.fzstatelistener').assertEqual(list.bundleName) - expect('com.example.fzstatelistener.MainAbility').assertEqual(list.abilityName) - expect(list.pid > 0).assertTrue() - expect(list.uid > 0).assertTrue() - expect(2).assertEqual(list.state) - } - - function checkAppStateData2(list) { - console.log('==checkAppStateData2==>' + JSON.stringify(list)) - expect('com.example.sum_statelistener').assertEqual(list.bundleName) - expect(list.uid > 0).assertTrue() - expect(3).assertEqual(list.state) - } - - function checkAppStateData(list) { - console.log('==checkAppStateData==>' + JSON.stringify(list)) - expect('com.example.fzstatelistener').assertEqual(list.bundleName) - expect(list.uid > 0).assertTrue() - expect(2).assertEqual(list.state) - } - - function checkProcessData(list) { - console.log('==dhhFdh==>' + JSON.stringify(list)) - expect('com.example.fzstatelistener').assertEqual(list.bundleName) - console.log('==list.bundleName==>' + JSON.stringify(list.bundleName)) - expect(list.pid > 0).assertTrue() - console.log('==list.pid==>' + JSON.stringify(list.pid)) - expect(list.uid > 0).assertTrue() - console.log('==list.uid==>' + JSON.stringify(list.uid)) - } - - function getProcessData(reslist, key) { - console.log('getProcessData---start' + JSON.stringify(reslist)) - var listofkey = []; - for (let i = 0;i < reslist.length; i++) { - console.log('==getProcessData==> reslist[i] : ' + JSON.stringify(reslist[i])) - var callback = reslist[i] - console.log('==callback==> : ' + JSON.stringify(callback)) - if (callback == key) { - listofkey.push(reslist[i+1]) - console.log('==reslist[i+1]==> : ' + JSON.stringify(reslist[i+1])) - } - } - console.log('getProcessData' + JSON.stringify(listofkey)) - return listofkey - } - - function sleep(time) { - return new Promise((resolve) => setTimeout(resolve, time)) - } - }) diff --git a/aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/default/pages/index/index.js index 901d6b657..130fe7cec 100644 --- a/aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/default/pages/index/index.js @@ -12,17 +12,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import file from '@system.file' -import app from '@system.app' + import {Core, ExpectExtend} from 'deccjsunit/index' const injectRef = Object.getPrototypeOf(global) || global injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') -var once = true +let once = true export default { data: { - title: "" + title: '' }, onInit() { this.title = this.$t('strings.world'); @@ -35,7 +34,7 @@ export default { console.info('onShow finish'); const core = Core.getInstance() const expectExtend = new ExpectExtend({ - 'id': 'extend' + id: 'extend' }) core.addService('expect', expectExtend) core.init() @@ -47,5 +46,6 @@ export default { core.execute() }, onReady() { + console.info('onReady'); }, } diff --git a/aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/test/List.test.js b/aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/test/List.test.js index 071b9b20d..a9e636da7 100644 --- a/aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/test/List.test.js +++ b/aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/test/List.test.js @@ -12,4 +12,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -require('./FeatureAbilityJsunit.test.js') \ No newline at end of file +require('./FeatureAbilityJsunit.test.js') +require('./StartAbilityJsunit.test.js') \ No newline at end of file diff --git a/aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/test/StartAbilityJsunit.test.js b/aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/test/StartAbilityJsunit.test.js new file mode 100644 index 000000000..9272b3406 --- /dev/null +++ b/aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/test/StartAbilityJsunit.test.js @@ -0,0 +1,309 @@ +/* + * Copyright (c) 2021 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, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index' + +let resultCode = 123; +let bundleName = 'ohso.act.aafwk'; +let mainAbilityName = 'ohos.acts.aafwk.jsap'; +const errCode = -104; +const errCode1 = 2097152; +const errCode2 = 29360157; + +describe('ConnectAbilityTest', function () { + + /* + * @tc.number: SUB_AA_JsApi_StartAbility_0100 + * @tc.name: testAbility0100. + * @tc.desc: StartAbility fail with want nothing. + */ + it("SUB_AA_JsApi_StartAbility_0100", 0, async function (done) { + let parameter = { + 'want': {} + } + await featureAbility.startAbility(parameter).then((data) => { + console.log('testAbility0100 data: ' + JSON.stringify(data)) + expect().assertFail() + }).catch((error) => { + console.log('testAbility0100 error: ' + JSON.stringify(error)) + expect(errCode1).assertEqual(error.code) + }) + done() + }) + + /* + * @tc.number: SUB_AA_JsApi_StartAbility_0200 + * @tc.name: testAbility0200. + * @tc.desc: StartAbility fail with error parameter. + */ + it("SUB_AA_JsApi_StartAbility_0200", 0, async function (done) { + let parameter = { + 'StartAbilityParameter': { + 'want': {} + } + } + featureAbility.startAbility((parameter), (error, data) => { + console.log('testAbility0200 data: ' + JSON.stringify(data)) + console.log('testAbility0200 error: ' + JSON.stringify(error)) + expect(errCode).assertEqual(error.code) + done() + }) + }) + + /* + * @tc.number: SUB_AA_JsApi_StartAbility_0500 + * @tc.name: testAbility0500. + * @tc.desc: startAbility-want-configuration bundleName and abilityName+deviceId error. + */ + it("SUB_AA_JsApi_StartAbility_0500", 0, async function (done) { + let parameter = { + 'want': { + 'deviceId': '123123', + 'bundleName': bundleName, + 'abilityName': mainAbilityName + } + } + await featureAbility.startAbility(parameter).then((data) => { + console.log('testAbility0500 data: ' + JSON.stringify(data)) + expect().assertFail() + }).catch((error) => { + console.log('testAbility0500 error: ' + JSON.stringify(error)) + expect(errCode2).assertEqual(error.code) + }) + done() + }) + + /* + * @tc.number: SUB_AA_JsApi_Ability_0400 + * @tc.name: testAbility0400. + * @tc.desc: StartAbility-want only configure action (implicit start) - Ability + * without corresponding action (custom action). + */ + it("SUB_AA_JsApi_Ability_0400", 0, async function (done) { + let parameter = { + 'want': { + 'action': 'action.com.example.mytestw.TwoAbility123' + } + } + await featureAbility.startAbility(parameter).then((data) => { + console.log('testAbility0600 data: ' + JSON.stringify(data)) + expect().assertFail() + }).catch((error) => { + console.log('testAbility0600 error: ' + JSON.stringify(error)) + expect(errCode1).assertEqual(error.code) + }) + done() + }) + + /* + * @tc.number: SUB_AA_JsApi_Ability_0500 + * @tc.name: testAblity0500. + * @tc.desc: startAbility-want configure action+entities- there is no Ability corresponding to entities. + */ + it("SUB_AA_JsApi_Ability_0500", 0, async function (done) { + let parameter = { + 'want': { + 'action': 'action.ohos.acts.aafwk.jsapi.MainAbility', + 'entities': [ + 'entity.com.example.mytestw.ENITIES22' + ] + } + } + await featureAbility.startAbility(parameter).then((data) => { + console.log('testAblity0500 data: ' + JSON.stringify(data)) + expect().assertFail() + }).catch((error) => { + console.log('testAblity0500 error: ' + JSON.stringify(error)) + expect(errCode1).assertEqual(error.code) + }) + done() + }) + + /* + * @tc.number: SUB_AA_JsApi_Ability_0600 + * @tc.name: testAblity0600. + * @tc.desc: startAbility-want-configuration action+entities-entities is configured as a string. + */ + it("SUB_AA_JsApi_Ability_0600", 0, async function (done) { + let parameter = { + 'want': { + 'action': 'action.ohos.acts.aafwk.jsapi.MainAbility', + 'entities': 'abc123' + } + } + await featureAbility.startAbility(parameter).then((data) => { + console.log('testAblity0600 data: ' + JSON.stringify(data)) + expect().assertFail() + }).catch((error) => { + console.log('testAblity0600 error: ' + JSON.stringify(error)) + expect(errCode1).assertEqual(error.code) + }) + done() + }) + + /* + * @tc.number: SUB_AA_JsApi_Ability_0700 + * @tc.name: testAblity0700. + * @tc.desc: startAbility-want configure action+entities- entities is configurd as a string. + */ + it("SUB_AA_JsApi_Ability_0700", 0, async function (done) { + let parameter = { + 'startAbilityParameter': { + 'want': { + 'bundleName': bundleName, + 'abilityName': mainAbilityName + } + + } + } + await featureAbility.startAbility(parameter).then((data) => { + console.log('testAblity0700 data: ' + JSON.stringify(data)) + expect().assertFail() + }).catch((error) => { + console.log('testAblity0700 error: ' + JSON.stringify(error)) + expect(errCode).assertEqual(error.code) + }) + done() + }) + + /* + * @tc.number: SUB_AA_JsApi_Ability_0800 + * @tc.name: testAblity0800. + * @tc.desc: startAbility-want configure action+entities- entities is configurd as a string. + */ + it("SUB_AA_JsApi_Ability_0800", 0, async function (done) { + let parameter = { + 'want': {} + } + featureAbility.startAbility(parameter, (err, data) => { + console.log('testAblity0800 data: ' + JSON.stringify(data) + ',err: ' + JSON.stringify(err)) + expect(errCode1).assertEqual(err.code) + done(); + }) + }) + + /* + * @tc.number: SUB_AA_JsApi_Ability_0900 + * @tc.name: testAblity0900. + * @tc.desc: startAbility: The input parameter want is not configured (the value is {}). + */ + it("SUB_AA_JsApi_Ability_0900", 0, async function (done) { + let parameter = {} + featureAbility.startAbility(parameter, (err, data) => { + console.log('testAblity0900 data: ' + JSON.stringify(data) + ',err: ' + JSON.stringify(err)) + expect(errCode).assertEqual(err.code) + done(); + }) + }) + + /* + * @tc.number: SUB_AA_JsApi_Ability_1000 + * @tc.name: testAblity1000. + * @tc.desc: startAbility: The input parameter is uddefined. + */ + it("SUB_AA_JsApi_Ability_1000", 0, async function (done) { + await featureAbility.startAbility(undefined).then((data) => { + console.log('testAblity1000 data: ' + JSON.stringify(data)) + expect().assertFail() + }).catch((error) => { + console.log('testAblity1000 error: ' + JSON.stringify(error)) + expect(errCode).assertEqual(error.code) + }) + done() + }) + + + /* + * @tc.number: SUB_AA_JsApi_Ability_1200 + * @tc.name: testAblity1200. + * @tc.desc: startAbilityForResult: The input parameter want is not configured (the value is {}). + */ + it("SUB_AA_JsApi_Ability_1200", 0, async function (done) { + let parameter = {} + await featureAbility.startAbilityForResult(parameter).then((data) => { + console.log('testAblity2900 data: ' + JSON.stringify(data) + ',err: ' + JSON.stringify(err)) + expect.assertFail() + }).catch((err) => { + console.log('testAblity1200' + JSON.stringify(err)); + expect().assertEqual(err.code) + }) + done() + }) + + /* + * @tc.number: SUB_AA_JsApi_Ability_1300 + * @tc.name: testAblity1300. + * @tc.desc: startAbilityForResult: The input parameter optParam is undefined. + */ + it("SUB_AA_JsApi_Ability_1300", 0, async function (done) { + featureAbility.startAbilityForResult(undefined, (err) => { + console.log('testAblity1300' + JSON.stringify(err)); + expect(errCode1).assertEqual(err.code) + done() + }) + }) + + /* + * @tc.number: SUB_AA_JsApi_Ability_1400 + * @tc.name: testAblity1400. + * @tc.desc: startAbilityForResult-wrong input parameter format want a layer outside. + */ + it("SUB_AA_JsApi_Ability_1400", 0, async function (done) { + let parameter = { + 'StartAbilityParameter': { + 'want': { + 'bundleName': bundleName, + 'abilityName': mainAbilityName, + 'parameters': { + 'key': resultCode, + 'terminate': true + } + } + } + } + featureAbility.startAbilityForResult(parameter, (err, data) => { + console.log('testAblity1400' + JSON.stringify(err)); + expect(errCode1).assertEqual(err.code) + done() + }) + }) + + /* + * @tc.number: SUB_AA_JsApi_Ability_2100 + * @tc.name: testAblity2100. + * @tc.desc: startAbilityForResult-want-Set bundleName and abilityName+flag-flag to character strings. + */ + it("SUB_AA_JsApi_Ability_2100", 0, async function (done) { + let parameter = { + 'want': { + 'bundleName': bundleName, + 'abilityName': mainAbilityName, + 'flages': 'abc', + 'parameters': { + 'key': resultCode, + 'terminate': true + } + } + } + await featureAbility.startAbilityForResult(parameter).then((data) => { + console.log('testAblity2100 data: ' + JSON.stringify(data)) + expect.assertFail() + }).catch((err) => { + console.log('testAblity2100' + JSON.stringify(err)); + expect(undefined).assertEqual(err.code) + }) + done() + }) +}) diff --git a/aafwk/aafwk_standard/featureability/sceneproject/finishwithresultemptytest/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/featureability/sceneproject/finishwithresultemptytest/src/main/js/default/pages/index/index.js index 64c13a289..074c151ae 100644 --- a/aafwk/aafwk_standard/featureability/sceneproject/finishwithresultemptytest/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/featureability/sceneproject/finishwithresultemptytest/src/main/js/default/pages/index/index.js @@ -23,25 +23,25 @@ function PublishCallBackOne() { } export default { data: { - title: "" + title: '' }, onInit() { this.title = this.$t('strings.world'); }, async onShow() { commonEvent.publish("ACTS_FinishWithResult_0300_CommonEvent", PublishCallBackOne); - var promise = await featureAbility.terminateSelfWithResult( + await featureAbility.terminateSelfWithResult( { resultCode: 1, want: { - action: "", - entities: [""], - type: "", - deviceId: "", - bundleName: "", - abilityName: "", - uri:"", + action: '', + entities: [''], + type: '', + deviceId: '', + bundleName: '', + abilityName: '', + uri:'', }, } ); @@ -51,5 +51,6 @@ export default { }); }, onReady() { + console.info('onReady'); }, } diff --git a/aafwk/aafwk_standard/featureability/sceneproject/finishwithresultpromiseparameterstest/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/featureability/sceneproject/finishwithresultpromiseparameterstest/src/main/js/default/pages/index/index.js index 8a99d9da5..e7e6f55fa 100644 --- a/aafwk/aafwk_standard/featureability/sceneproject/finishwithresultpromiseparameterstest/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/featureability/sceneproject/finishwithresultpromiseparameterstest/src/main/js/default/pages/index/index.js @@ -31,7 +31,7 @@ export default { }, async onShow() { commonEvent.publish("ACTS_FinishWithResult_0100_CommonEvent", PublishCallBack); - var promise = await featureAbility.terminateSelfWithResult( + await featureAbility.terminateSelfWithResult( { resultCode: 1, want: @@ -68,20 +68,10 @@ export default { // install the specified ability with background mode if it's not installed. installWithBackgroundMode: true }, - deviceId: "deviceId", - bundleName: "com.example.finishwithresultpromiseparameterstest", - abilityName: "com.example.finishwithresultpromiseparameterstest.MainAbility", - uri:"", - parameters: { - mykey0: 2222, - mykey1: [1, 2, 3], - mykey2: "[1, 2, 3]", - mykey3: "ssssssssssssssssssssssssss", - mykey4: [1, 15], - mykey5: [false, true, false], - mykey6: ["qqqqq", "wwwwww", "aaaaaaaaaaaaaaaaa"], - mykey7: true, - } + deviceId: 'deviceId', + bundleName: 'com.example.finishwithresultpromiseparameterstest', + abilityName: 'com.example.finishwithresultpromiseparameterstest.MainAbility', + uri: '', }, } ) @@ -91,5 +81,6 @@ export default { }); }, onReady() { + console.info('onReady'); }, } diff --git a/aafwk/aafwk_standard/featureability/sceneproject/getcallingbundletest/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/featureability/sceneproject/getcallingbundletest/src/main/js/default/pages/index/index.js index c58845785..78eb1acbe 100644 --- a/aafwk/aafwk_standard/featureability/sceneproject/getcallingbundletest/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/featureability/sceneproject/getcallingbundletest/src/main/js/default/pages/index/index.js @@ -29,15 +29,15 @@ function PublishCallBackThree() { } export default { data: { - title: "" + title: '' }, onInit() { this.title = this.$t('strings.world'); }, async onShow() { commonEvent.publish("ACTS_GetCallingBundle_0100_CommonEvent", PublishCallBackOne); - var context = featureAbility.getContext(); - var info = await context.getCallingBundle(); + let context = featureAbility.getContext(); + let info = await context.getCallingBundle(); commonEvent.publish(info + ".promise", PublishCallBackTwo); context.getCallingBundle( (err, data) => { @@ -47,5 +47,6 @@ export default { ); }, onReady() { + console.info('onReady'); }, } diff --git a/aafwk/aafwk_standard/featureability/sceneproject/startabilityforresult/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/featureability/sceneproject/startabilityforresult/src/main/js/default/pages/index/index.js index e4ab37dde..9720c66c2 100644 --- a/aafwk/aafwk_standard/featureability/sceneproject/startabilityforresult/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/featureability/sceneproject/startabilityforresult/src/main/js/default/pages/index/index.js @@ -19,13 +19,13 @@ injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') export default { data: { - title: "StartAbility" + title: 'StartAbility' }, onInit() { this.title = "StartAbilityForResult"; }, async onShow() { - var promise = await featureAbility.terminateSelfWithResult( + await featureAbility.terminateSelfWithResult( { resultCode: 1, want: @@ -38,5 +38,6 @@ export default { await featureAbility.terminateSelf(); }, onReady() { + console.info('onReady'); }, } diff --git a/aafwk/aafwk_standard/featureability/sceneproject/terminateabilitytest/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/featureability/sceneproject/terminateabilitytest/src/main/js/default/pages/index/index.js index 090351fc1..c423fb1ad 100644 --- a/aafwk/aafwk_standard/featureability/sceneproject/terminateabilitytest/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/featureability/sceneproject/terminateabilitytest/src/main/js/default/pages/index/index.js @@ -33,7 +33,7 @@ function PublishCallBackFour() { } export default { data: { - title: "" + title: '' }, onInit() { this.title = this.$t('strings.world'); @@ -50,5 +50,6 @@ export default { ); }, onReady() { + console.info('onReady'); }, } diff --git a/aafwk/aafwk_standard/getactiveprocessinfos/getactiveprocessinfo/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/getactiveprocessinfos/getactiveprocessinfo/entry/src/main/js/default/pages/index/index.js index 005dbb303..57f6936bd 100644 --- a/aafwk/aafwk_standard/getactiveprocessinfos/getactiveprocessinfo/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/getactiveprocessinfos/getactiveprocessinfo/entry/src/main/js/default/pages/index/index.js @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import file from '@system.file' + import {Core, ExpectExtend, ReportExtend} from 'deccjsunit/index' const injecttRef = Object.getPrototypeOf(global) || global @@ -20,7 +20,7 @@ injecttRef.regeneratorRuntime = require('@babel/runtime/regenerator') export default{ data: { - title: "" + title: '' }, onInit() { this.title = this.$t('strings.world'); @@ -29,7 +29,7 @@ export default{ console.info('onShow finish') const core = Core.getInstance() const expectExtend = new ExpectExtend({ - 'id': 'extend' + id: 'extend' }) core.addService('expect', expectExtend) core.init() @@ -41,6 +41,7 @@ export default{ core.execute() }, onReady() { + console.info('onReady'); }, } diff --git a/aafwk/aafwk_standard/getactiveprocessinfos/setshowonlocka/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/getactiveprocessinfos/setshowonlocka/entry/src/main/js/default/pages/index/index.js index 03eb12701..eabc93384 100755 --- a/aafwk/aafwk_standard/getactiveprocessinfos/setshowonlocka/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/getactiveprocessinfos/setshowonlocka/entry/src/main/js/default/pages/index/index.js @@ -15,7 +15,7 @@ */ export default{ data: { - title: "" + title: '' }, onInit() { this.title = this.$t('strings.world'); @@ -25,5 +25,6 @@ export default{ }, onReady() { + console.info('onReady'); }, } diff --git a/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/BUILD.gn b/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/BUILD.gn deleted file mode 100644 index ad4e9d037..000000000 --- a/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/BUILD.gn +++ /dev/null @@ -1,35 +0,0 @@ -# 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 -# -# 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_hap("ActslanguageconfigAppATest") { - hap_name = "ActslanguageconfigAppATest" - hap_profile = "./src/main/config.json" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./src/main/js/resources" ] - hap_profile = "./src/main/config.json" -} diff --git a/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/signature/openharmony_sx.p7b deleted file mode 100644 index cc53179a48f88f20acc379c138a001e9a15838f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3442 zcmcgvYj6|S6}BF>F-F+L*anwiBOa!J?7OmLOQwYEN~;%M$tz2?WlYUVT0LxOwU$<1 zS(Haa;)Zu=rr?H0Y#s&@105h3XNE^Z10^9aB$Vk;3~>l;p)@qbNk}NPE878^fghdB zpdZ>f=bn4-chC9Gcjtnbh)PPC(V}blR>Vu@x5Y$tASRm6=kXvBNKHyv*rMZ+0wJFV zVu@*w19@$+!~|hX_@71MCNdcE1}KRm;3UPR(5y!eituv|F;oBwfOwWT9QHanQx2ph zcBPV($X(o@tXS@pDCIyQA(SM5iexSq2`RW}rkRdU4w62S2$7tFplONI8)AZ9dzgvu zHy9BJ)p;p~bO(vJmkVqnd|s!QX%?3*5>o+2VkcdJU>uoTDN_{7rEms7eLfNjJ>u5!kIq36rWYs)jMd?QZlm z)SJq2Tn)2U7}H`ARTMTLZet|^+bnQ{(ZsD_##z*DQ&-~nJd|b19ooupg;vvSuTq9d z3tEFA4lN8>QB?%PEk%gW-r(^#{7{pfYH(L-D?PQ8-GbI*DzrZej$p)-QFt}N+O@uV zTeX?COJ!~xpsdd0Fk{Eb_=#j|4D0#H#Rqj9Qd6 zs4exV6+`p`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tmW}sx>HmH4R#)aHw=Rw0 z#Ol{~gHl)Aro86NYoABWEtHw3K8*7Q{w2fKg{!sST?8^mE zj0bZho5Q^hK*Mt>+t)L{bD0H}=Exg$E`)GEx$uH11O5u0)^&a(S_= zqy`i|9u-1jVcuFgr(k5xqDILM=e~ zc{#;vD-tsmmGjTOa;B*7yD=xXwyzeC*e}ny+-|#O-3sw1C7i80M~^ssbgpv!d$W#+ YX9HpW+h1JFRc8v8e%3PML|^*<0J%6(*8l(j diff --git a/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/config.json b/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/config.json deleted file mode 100644 index 2c3e93c92..000000000 --- a/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/config.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "app": { - "bundleName": "com.example.actslanguageconfigappatest", - "vendor": "example", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.example.actslanguageconfigappatest", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry" - }, - "abilities": [ - { - "skills": [ - { - "entities": [ - "entity.system.home" - ], - "actions": [ - "action.system.home" - ] - } - ], - "name": "com.example.actslanguageconfigappatest.MainAbility", - "visible": true, - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "launchType": "standard" - } - ], - "reqPermissions": [ - { - "name":"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", - "reason":"need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" - }, - { - "name":"ohos.permission.GET_BUNDLE_INFO", - "reason":"need use ohos.permission.GET_BUNDLE_INFO" - }, - { - "name":"ohos.permission.CHANGE_ABILITY_ENABLED_STATE", - "reason":"need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE" - }, - { - "name":"ohos.permission.REMOVE_CACHE_FILES", - "reason":"need use ohos.permission.REMOVE_CACHE_FILES" - }, - { - "name":"ohos.permission.LISTEN_BUNDLE_CHANGE", - "reason":"need use ohos.permission.LISTEN_BUNDLE_CHANGE" - }, - { - "name":"ohos.permission.INSTALL_BUNDLE", - "reason":"need use ohos.permission.INSTALL_BUNDLE" - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/default/app.js b/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/default/app.js deleted file mode 100644 index d2c248770..000000000 --- a/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/default/app.js +++ /dev/null @@ -1,28 +0,0 @@ -/* - * 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 - * - * 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('ProcessManageSystemAppB onCreate'); - }, - onDestroy() { - console.info('ProcessManageSystemAppB onDestroy'); - }, - onShow() { - console.info('ProcessManageSystemAppB onShow'); - }, - onHide() { - console.info('ProcessManageSystemAppB onHide'); - } -}; diff --git a/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d97..000000000 --- a/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748..000000000 --- a/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/default/pages/index/index.css deleted file mode 100644 index 6fda79275..000000000 --- a/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,9 +0,0 @@ -.container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} diff --git a/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/default/pages/index/index.hml deleted file mode 100644 index f64b040a5..000000000 --- a/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,5 +0,0 @@ -
- - {{ $t('strings.hello') }} {{ title }} - -
diff --git a/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/default/pages/index/index.js deleted file mode 100644 index 904528c4d..000000000 --- a/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,59 +0,0 @@ -/* - * 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 - * - * 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 commonEvent from '@ohos.commonevent' - -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') - -function onReceivedPublishCallBack(){ - console.log("========Publish CallBack UpdateLanguageFinish========"); -} - - -export default { - data: { - title: "" - }, - onInit() { - console.info('ACTS_ProcessManage SystemAppB onInit'); - this.title = "ACTS_ProcessManage SystemAppB"; - }, - onReady() { - console.info('ACTS_ProcessManage SystemAppB onReady'); - commonEvent.publish('UpdateLanguageFinish',onReceivedPublishCallBack); - }, - onActive() { - console.info('ACTS_ProcessManage SystemAppB onActive'); - }, - onShow() { - console.info('ACTS_ProcessManage SystemAppB onShow'); - }, - - onDestroy() { - console.info('ACTS_ProcessManage SystemAppB onDestroy'); - }, - onConfigurationUpdated(config) { - console.log("Acts_LanguageConfigAppA onConfigurationUpdated called" + JSON.stringify(config)); - console.log("Acts_LanguageConfigAppA configuration:" + - JSON.stringify(globalThis.abilityContext.configuration)); - - }, - onCompleteContinuation(code) { - console.info('ACTS_ProcessManage SystemAppB onCompleteContinuation:' + JSON.stringify(code)); - }, - onConfigurationUpdated(configuration) { - console.info('ACTS_ProcessManage SystemAppB onConfigurationUpdated:' + JSON.stringify(configuration)); - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/resources/base/element/string.json deleted file mode 100644 index fd60cdefa..000000000 --- a/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "particlestartability" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/lanuageConfigapi7/ActslanguageconfigAppATest/src/main/js/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 zrdpa{2QLqPJ4Y{j7=Mrl{BaxrkdY69+c~(w{Fv-v&aR%aEI&JYSeRTLWm!zbv;?)_ ziZB;fwGbbeL5Q}YLx`J$lp~A09KK8t_z}PZ=4ZzgdeKtgoc+o5EvN9A1K1_<>M?MBqb#!ASf&# zEX?<)!RH(7>1P+j=jqG(58}TVN-$psA6K}atCuI!KTJD&FMmH-78ZejBm)0qc{ESp z|LuG1{QnBUJRg_E=h1#XMWt2%fcoN@l7eAS!Es?Q+;XsRNPhiiE=@AqlLkJzF`O18 zbsbSmKN=aaq8k3NFYZfDWpKmM!coBU0(XnL8R{4=i|wi{!uWYM2je{U{B*K2PVdu&=E zTq*-XsEsJ$u5H4g6DIm2Y!DN`>^v|AqlwuCD;w45K0@eqauiqWf7l&o)+YLHm~|L~ z7$0v5mkobriU!H<@mVJHLlmQqzQ3d6Rh_-|%Yy2li*tHO>_vcnuZ7OR_xkAIuIU&x z-|8Y0wj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qI^7%3#p5)%T_od!t3SOmH9MyXeeGO2(UQL;ax|x?Ncixmeo1=$ z{-);Au{*tfzOG?KQ~K|ak8-HQ?`Pekhe2WM(8s{xv-p>Zmu_6{G!-oE$7$mY`MOJorI=+mMx?H;`pr!;fVYz?5~yXBACruWB`Ph zZM}90_<^OBxIhyZ9BW$`>6JvO;%VFpqVr8|7t3~AmxYak6?`Pp#c;**_SYmi`&z23 z`p6_~ePvH)C6x-G9$hgL=eVALq`-AiamN>!3~Lxw&{H(b{B(7xSRm6<3<{%{yXiH# zos5Rv1L+8fUKJLo%P>4I&$}y/data/test/ActslanguageconfigAppATest.hap"] - }, - { - "type": "ShellKit", - "run-command": [ - "chmod 777 /data/test/*.hap" - ] - } - ] -} - diff --git a/aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/config.json b/aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/config.json deleted file mode 100644 index 8e9b5b2a5..000000000 --- a/aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/config.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "app": { - "bundleName": "com.example.languageconfigtestapi7", - "vendor": "example", - "version": { - "code": 1, - "name": "1.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Beta1" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.example.languageconfigtestapi7", - "name": ".MyApplication", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "entry", - "moduleType": "entry" - }, - "abilities": [ - { - "skills": [ - { - "entities": [ - "entity.system.home" - ], - "actions": [ - "action.system.home" - ] - } - ], - "name": "com.example.languageconfigtestapi7.MainAbility", - "icon": "$media:icon", - "description": "$string:mainability_description", - "label": "$string:app_name", - "type": "page", - "launchType": "singleton", - "visible": true - } - ], - "reqPermissions": [ - { - "name":"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", - "reason":"need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" - }, - { - "name":"ohos.permission.GET_BUNDLE_INFO", - "reason":"need use ohos.permission.GET_BUNDLE_INFO" - }, - { - "name":"ohos.permission.CHANGE_ABILITY_ENABLED_STATE", - "reason":"need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE" - }, - { - "name":"ohos.permission.REMOVE_CACHE_FILES", - "reason":"need use ohos.permission.REMOVE_CACHE_FILES" - }, - { - "name":"ohos.permission.LISTEN_BUNDLE_CHANGE", - "reason":"need use ohos.permission.LISTEN_BUNDLE_CHANGE" - }, - { - "name":"ohos.permission.INSTALL_BUNDLE", - "reason":"need use ohos.permission.INSTALL_BUNDLE" - } - ], - "js": [ - { - "pages": [ - "pages/index/index" - ], - "name": "default", - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - } - ] - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/default/app.js b/aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/default/app.js deleted file mode 100644 index 11ca2c1d6..000000000 --- a/aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/default/app.js +++ /dev/null @@ -1,28 +0,0 @@ -/* - * 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 - * - * 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('ActsProcessManageJsTest onCreate'); - }, - onDestroy() { - console.info('ActsProcessManageJsTest onDestroy'); - }, - onShow() { - console.info('ActsProcessManageJsTest onShow'); - }, - onHide() { - console.info('ActsProcessManageJsTest onHide'); - } -}; diff --git a/aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/default/i18n/en-US.json b/aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/default/i18n/en-US.json deleted file mode 100644 index e63c70d97..000000000 --- a/aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/default/i18n/en-US.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "Hello", - "world": "World" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/default/i18n/zh-CN.json b/aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/default/i18n/zh-CN.json deleted file mode 100644 index de6ee5748..000000000 --- a/aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/default/i18n/zh-CN.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "strings": { - "hello": "您好", - "world": "世界" - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/default/pages/index/index.css b/aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/default/pages/index/index.css deleted file mode 100644 index deea888af..000000000 --- a/aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/default/pages/index/index.css +++ /dev/null @@ -1,28 +0,0 @@ -/* - * 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 - * - * 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. - */ - .container { - flex-direction: column; - justify-content: center; - align-items: center; -} - -.title { - font-size: 100px; -} - -.btn { - width: 200px; - height: 80px; -} diff --git a/aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/default/pages/index/index.hml b/aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/default/pages/index/index.hml deleted file mode 100644 index 9d0db6ceb..000000000 --- a/aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/default/pages/index/index.hml +++ /dev/null @@ -1,6 +0,0 @@ -
- - {{ $t('strings.hello') }} {{ title }} - - -
diff --git a/aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/default/pages/index/index.js deleted file mode 100644 index a6d4c3ea6..000000000 --- a/aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,84 +0,0 @@ -/* - * 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 - * - * 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 { Core, ExpectExtend } from 'deccjsunit/index' - -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') - -export default { - data: { - title: "", - testTime: 0 - }, - onInit() { - console.info('ActsProcessManageJsTest onInit'); - this.title = this.$t('strings.world'); - }, - onShow() { - console.info('ActsProcessManageJsTest onShow'); - console.info('ActsProcessManageJsTest testTime' + this.testTime); - if (this.testTime == 0) { - const core = Core.getInstance() - const expectExtend = new ExpectExtend({ - 'id': 'extend' - }) - core.addService('expect', expectExtend) - core.init() - const configService = core.getDefaultService('config') - this.timeout = 30000; - configService.setConfig(this) - - require('../../../test/List.test') - core.execute() - } - this.testTime++; - }, - onReady() { - console.info('ActsProcessManageJsTest onReady'); - }, - onActive() { - console.info('ActsProcessManageJsTest onActive'); - }, - onInactive() { - console.info('ActsProcessManageJsTest onInactive'); - }, - onHide() { - console.info('ActsProcessManageJsTest onHide'); - }, - onDestroy() { - console.info('ActsProcessManageJsTest onDestroy'); - }, - onBackPress() { - console.info('ActsProcessManageJsTest onBackPress'); - }, - onNewRequest() { - console.info('ActsProcessManageJsTest onNewRequest'); - }, - onStartContinuation() { - console.info('ActsProcessManageJsTest onStartContinuation'); - }, - onSaveData(value) { - console.info('ActsProcessManageJsTest onSaveData:' + JSON.stringify(value)); - }, - onRestoreData(value) { - console.info('ActsProcessManageJsTest onRestoreData:' + JSON.stringify(value)); - }, - onCompleteContinuation(code) { - console.info('ActsProcessManageJsTest onCompleteContinuation:' + JSON.stringify(code)); - }, - onConfigurationUpdated(configuration) { - console.info('ActsProcessManageJsTest onConfigurationUpdated:' + JSON.stringify(configuration)); - } -} diff --git a/aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/resources/base/element/string.json deleted file mode 100644 index 03574a36c..000000000 --- a/aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "actsparticleabilitytest" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/entry/src/main/js/resources/base/media/icon.png deleted file mode 100644 index ce307a8827bd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7Xz)sG32g9t}YBt zyR$+*_00RmPx+0mW+vVG4mxd(n$(eQf3-w>JPl2UJpafrPaL5@2j}%{VE-) zBI%6Qpj*dsdH<;g!S!avA~bv^0E+ zfyJbSjPb+j;J52U)<|cIcntQBI2T#>2;tOxu{%D?kML476AErF(qN9hPva5Nkc@BF zC-tLF@3ZFb%Kpj)M<{)x*l|*Ia@ECeXo2E4h2f!aV=cHAhi_E_mfUth(sM4^hJq7B zQsGWqdZUm9S%F`$nQ*_#NcuD`&)Ek%_s{&^78{9Hm ztri&rYLOxgFdG>O@+XHy z9#;|&vBCPXH5Mon^I`jSuR$&~ZWtyB67ujzFSj!51>#C}C17~TffQ{c-!QFQkTQ%! zIR^b1`zHx|*1GU?tbBx23weFLz5H?y_Q%N&t$}k?w+``2A=aotj0;2v$~AL z{scF-cL{wsdrmPvf#a9OHyYLcwQD4Kcm)`LLwMh4WT~p29f7M!iafJSU`IV}QY5Wa z(n44-9oA}?J{a+ah*@31WTs#&J#o1`H98#6IQf;Wv0N_!);f&9g7o-k(lW5rWnDUR zQBFIRG+X=6NnsI@mxnwm;tf5;_Uxg?jZ8m-m0}&6+DA!qam(p$mN5R})yA_7m$q@| zFEd|dpS595rxQr-n#GjI5i-AhnUE>Cr;jpCqSrD~EwK_DqI^7%3#p5)%T_od!t3SOmH9MyXeeGO2(UQL;ax|x?Ncixmeo1=$ z{-);Au{*tfzOG?KQ~K|ak8-HQ?`Pekhe2WM(8s{xv-p>Zmu_6{G!-oE$7$mY`MOJorI=+mMx?H;`pr!;fVYz?5~yXBACruWB`Ph zZM}90_<^OBxIhyZ9BW$`>6JvO;%VFpqVr8|7t3~AmxYak6?`Pp#c;**_SYmi`&z23 z`p6_~ePvH)C6x-G9$hgL=eVALq`-AiamN>!3~Lxw&{H(b{B(7xSRm6<3<{%{yXiH# zos5Rv1L+8fUKJLo%P>4I&$}y { - var missionId = -1; - var missionInfos = await missionManager.getMissionInfos('', MAX_MISSION_NUM); - for (let i = 0; i < missionInfos.length; i++) { - console.log('getMissionId result: ' + i + '= ' + JSON.stringify(missionInfos[i])) - if ((missionInfos[i].want.abilityName == "com.example.languageconfigtestapi7.MainAbility") && - (missionInfos[i].runningState == 0)) { - missionId = missionInfos[i].missionId; - break; - } - } - console.log('======>Acts_getMissionId resolve missionId<=======' + missionId); - resolve(missionId); - }) -} - -describe('ActsAbilityTest', function () { - beforeEach(async (done) => { - console.log('======>Acts_beforeEach ininin<======='); - let installer = await bundle.getBundleInstaller(); - var count = 0; - - for (let i = 0; i < BUNDLE_COUNT; i++) { - installer.install(BUNDLE_PATHS[i], { - userId: 100, - installFlag: 1, - isKeepData: false - }, (err, data) => { - count++; - console.log('======>Acts_beforeEach install finish <=======' + err.code); - console.log('======>Acts_beforeEach install finish <=======' + data.status); - console.log('======>Acts_beforeEach install finish <=======' + data.statusMessage); - if (count == BUNDLE_COUNT) { - setTimeout(() => { - done(); - }, 1000) - } - }) - } - }) - - /* - * @tc.number: Acts_UpdateConfigurationFA_0100 - * @tc.name: Connects a service ability, which is used to start a cloned page ability. - * @tc.desc: Check the event data of executor page ability publishes - */ - it('Acts_UpdateConfigurationFA_0100', 0, async function (done) { - console.log('Acts_UpdateConfigurationFA_0100====Acts_Subscribe CallBack data:====>" + JSON.stringify(data)); - - expect(data.event).assertEqual("UpdateLanguageFinish"); - clearTimeout(id); - console.log('Acts_UpdateConfigurationFA_0100 start set lang'); - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - } - - commonEvent.createSubscriber(subscriberInfoMultiInstance).then(async (data) => { - console.debug("Acts_====>Create Subscriber====>"); - subscriber = data; - commonEvent.subscribe(subscriber, subscribeCallBack); - }) - - function unSubscribeCallback() { - - setTimeout( function () { - console.debug("Acts_====>UnSubscribe CallBack====>"); - done(); - }, 2000); - - } - - function timeout() { - expect().assertFail(); - console.log('Acts_StartLanguageConfigTester timeout'); - commonEvent.unsubscribe(subscriber, unSubscribeCallback); - } - - id = setTimeout(timeout, START_ABILITY_TIMEOUT); - console.log('Acts_Start LanguageConfigTester Acts_UpdateConfigurationFA_0100 timer id : ' + id); - - console.log('Acts_LanguageConfigTester Acts_UpdateConfigurationFA_0100 start Ability'); - startAbilityProcess({ - startId: 0, - stepNum: 1, - nextStep: 0, - step: ["StartA1"] - }); - }) - - -}) diff --git a/aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/lanuageConfigapi7/LanguageConfigTestApi7/signature/openharmony_sx.p7b deleted file mode 100644 index cc53179a48f88f20acc379c138a001e9a15838f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3442 zcmcgvYj6|S6}BF>F-F+L*anwiBOa!J?7OmLOQwYEN~;%M$tz2?WlYUVT0LxOwU$<1 zS(Haa;)Zu=rr?H0Y#s&@105h3XNE^Z10^9aB$Vk;3~>l;p)@qbNk}NPE878^fghdB zpdZ>f=bn4-chC9Gcjtnbh)PPC(V}blR>Vu@x5Y$tASRm6=kXvBNKHyv*rMZ+0wJFV zVu@*w19@$+!~|hX_@71MCNdcE1}KRm;3UPR(5y!eituv|F;oBwfOwWT9QHanQx2ph zcBPV($X(o@tXS@pDCIyQA(SM5iexSq2`RW}rkRdU4w62S2$7tFplONI8)AZ9dzgvu zHy9BJ)p;p~bO(vJmkVqnd|s!QX%?3*5>o+2VkcdJU>uoTDN_{7rEms7eLfNjJ>u5!kIq36rWYs)jMd?QZlm z)SJq2Tn)2U7}H`ARTMTLZet|^+bnQ{(ZsD_##z*DQ&-~nJd|b19ooupg;vvSuTq9d z3tEFA4lN8>QB?%PEk%gW-r(^#{7{pfYH(L-D?PQ8-GbI*DzrZej$p)-QFt}N+O@uV zTeX?COJ!~xpsdd0Fk{Eb_=#j|4D0#H#Rqj9Qd6 zs4exV6+`p`xI9={E%n5n5v>KT9yn*nf}%>crb@22RT~()R4&(R%syKch|E*N{(%_G zQcLN;6H%y!b!a2BO{xI|mkYhd;Inh*bx5sjl?ApSZpUDD^+-I^w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E`)GEx$uH11O5u0)^&a(S_= zqy`i|9u-1jVcuFgr(k5xqDILM=e~ zc{#;vD-tsmmGjTOa;B*7yD=xXwyzeC*e}ny+-|#O-3sw1C7i80M~^ssbgpv!d$W#+ YX9HpW+h1JFRc8v8e%3PML|^*<0J%6(*8l(j diff --git a/aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/BUILD.gn b/aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/BUILD.gn deleted file mode 100644 index 040fe9fc3..000000000 --- a/aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/BUILD.gn +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (C) 2021 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_hap("ParticleStartAbility") { - hap_profile = "./src/main/config.json" - hap_name = "ParticleStartAbility" - subsystem_name = XTS_SUITENAME - final_hap_path = - "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" - testonly = true - deps = [ - ":hjs_demo_js_assets", - ":hjs_demo_resources", - ] - certificate_profile = "./signature/openharmony_sx.p7b" -} -ohos_js_assets("hjs_demo_js_assets") { - source_dir = "./src/main/js/default" -} -ohos_resources("hjs_demo_resources") { - sources = [ "./src/main/js/resources" ] - hap_profile = "./src/main/config.json" -} diff --git a/aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/Test.json b/aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/Test.json deleted file mode 100644 index 7a88763ed..000000000 --- a/aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/Test.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "description": "Configuration for hjunit demo Tests", -} diff --git a/aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/signature/openharmony_sx.p7b deleted file mode 100644 index 66b4457a8a81fb8d3356cf46d67226c850944858..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3443 zcmcgvYj6|S8MPj^V?bbHu)zUrguxV$eOH!j$tfhe(&~j*^2(BJ8Bw#6Ru5a+m8F$e z7KKoe&=>-grhpq>=4Bu;(DE|wG>}Juk_0FTWjZM)HPlI=G?d~bG!)vE?SRd|k4|RL z5AA&4J@@X}@1F16xgaj0Q_^NE(=Gc(#7pJ3#zhN2Tx93-c#sGTPf1&_OvfVyLOu_~ zlSe%S@>=7`Ny51BKMTc;WGL*TDT$MIk>XNl)`J8^1h|A4DgXsQJWCvj_*`5l2htLU zQb|hWZthQ3EO$wia-fh9N)kXtGPj$A6damq3MM9pNIyx0NiIPIgA$i7%!GW72$Oi< z0D=zJ`Y49^Lr|^Wn5#m~7QIHVf-PuY)=pu1y$Xw|RIr2ez^opDJ$jTdsS0Ci7(+as25)_x zsT{}EFl&V|Ef!V9U<2YYRwA&?0@oW&+zMu#MLjlkC63QUS*F~nt&CJ?HBF8xWrVb# zH5lU5!jKhJMKRn`g!moxUavC%H9DwzPo=ifYo{C*v<_3DeJD7J5s#wqYJ_!Y{dKl# zbI>7`d2oQTI#itWjMb#pQF0&==*tju`)aL$UCE23tZj*onZ@#D%qMUx!zW7U>s7pT(2?vZB-yTR}BaHF_^_p z>A)i>RKq&8(V$JL0R&eIy~f~oaNp~cTG=WKY(YHEf$Hj!M5XOif2}bDVT~#nwm57i z6^;k1BfkI#2a7>4e42{8g?g`>nbo*tA?vQh{fRzIem6Y!&u8`Yow^C zqOv67Mm26i&zNJdsSk}S5ZJ9i5g1b;GMLpRDryEM1hJu-awZyzc>Q+DX-4p{!Nodj z8p@BoYeJz0+)sJZt zuEPepall8Mbf92R2NrOKP{5F3h655oKi75PrZ7VWYMqI0@AnHgNidN_?~A>hO$>~4 z^Tb@Mb6p+qg%i#dPPBT6TPfsoGNel~WMtla4$I*p39k?b>wSH06QT&ecu{LS5j7WKgGt{%Qg#tlx5^zGpL0XEyDon}XtBlYX@N6O&mN9(L z$3WvjRw6q*BYjXd*Fq8jXbPB|7!qV;4<3SpL4U$-IR3dR7);6%Ng*HwQb@`@>Ox+;D8{>7P%3W3Q%Usi-A~_qV+>e)rntOWl*O-6dZMKE8F5;?K0akaPU^t@xU> z%=cfHofS|kPL6wHyBU;&9FES!DZ+6ebIF)LFY6Fz{&D!$xgA|o7k1uCUbIc31tSxH zQ9Ry%g+c*8bqSc5h(`)Dg=0P>uD!i0X1s82?ZKCCB;WhGR>U(8-7|qN3Ap)CQv0fX zX>mu>K3(2u5yPDS2i~g-k`cK-?+g}k~KDu+;-P*Btr{$~&b>;qGA|AHs7nh`J|G6Cj zFM?4Cp=2b4lMDphW2lmNDT9=hRhqu_t?@tZNiwycZ^=K%z>ov)XaXk~tj_oQ`@1 zbTo;4XZBDgPjUAKnGqx}k`C5UB78cI_yh?}-u&gMP5ZOtdzXK(qxOqy@YH| zKVg=t_U%sjdhgBr><=%#F8a;Uk{yeK)y=0CKNmdE*mmS2GpIWB>H6u#<%c`=zqcWK z9HF5KQ#7Oa~pEP2)s#v~d&wROM>gVs@EXK<+yLWhcgU&n0TfndfCpllJ0~-G1 zq|eQ>U0Y7f|Lt@0PS - - {{ $t('strings.hello') }} {{ title }} - - diff --git a/aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/src/main/js/default/pages/index/index.js deleted file mode 100644 index 7ab2a1b63..000000000 --- a/aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (c) 2021 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 commonEvent from '@ohos.commonEvent' - -const injectRef = Object.getPrototypeOf(global) || global -injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') - -function publishCallBackOne() { - console.debug("====>Publish CallBack ACTS_Particle_StartAbility_0100_CommonEvent====>"); -} -function publishCallBackTwo() { - console.debug("====>Publish CallBack ACTS_Particle_StartAbility_0200_CommonEvent====>"); -} - - -export default { - data: { - title: "ParticleStartAbility" - }, - onInit() { - this.title = "ParticleStartAbility"; - }, - onShow() { - commonEvent.publish("ACTS_Particle_StartAbility_0100_CommonEvent", publishCallBackOne); - commonEvent.publish("ACTS_Particle_StartAbility_0200_CommonEvent", publishCallBackTwo); - - - }, - onReady() { - }, -} diff --git a/aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/src/main/js/resources/base/element/string.json deleted file mode 100644 index fd60cdefa..000000000 --- a/aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "particlestartability" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/serviceability/sceneProject/particlestartability/src/main/js/resources/base/media/icon.png deleted file mode 100644 index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6790 zcmX|G1ymHk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N3Ap)CQv0fX zX>mu>K3(2u5yPDS2i~g-k`cK-?+g}k~KDu+;-P*Btr{$~&b>;qGA|AHs7nh`J|G6Cj zFM?4Cp=2b4lMDphW2lmNDT9=hRhqu_t?@tZNiwycZ^=K%z>ov)XaXk~tj_oQ`@1 zbTo;4XZBDgPjUAKnGqx}k`C5UB78cI_yh?}-u&gMP5ZOtdzXK(qxOqy@YH| zKVg=t_U%sjdhgBr><=%#F8a;Uk{yeK)y=0CKNmdE*mmS2GpIWB>H6u#<%c`=zqcWK z9HF5KQ#7Oa~pEP2)s#v~d&wROM>gVs@EXK<+yLWhcgU&n0TfndfCpllJ0~-G1 zq|eQ>U0Y7f|Lt@0PS - - {{ $t('strings.hello') }} {{ title }} - - diff --git a/aafwk/aafwk_standard/serviceability/sceneProject/particletestserver/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/serviceability/sceneProject/particletestserver/src/main/js/default/pages/index/index.js deleted file mode 100644 index 4a9644a2a..000000000 --- a/aafwk/aafwk_standard/serviceability/sceneProject/particletestserver/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,151 +0,0 @@ -/* - * Copyright (c) 2021 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 rpc from "@ohos.rpc" -import particleAbility from '@ohos.ability.particleAbility' -import commonEvent from '@ohos.commonEvent' - -let mMyStub; -let mMyProxy; - -export default { - data: { - title: "" - }, - onStart(want) { - console.log('SerivceAbilityServer onStart'); - - class MyStub extends rpc.RemoteObject { - constructor(des) { - if (typeof des === 'string') { - super(des, des.length); - } - return null; - } - - onRemoteRequest(code, message, reply, option) { - console.log("RPCTestServer onRemoteRequest called 1111"); - console.log("RPCTestServer onRemoteRequest code:" + code); - if (code === 1) { - let getContextObject = rpc.IPCSkeleton.getContextObject(); - let getCallingPid = rpc.IPCSkeleton.getCallingPid(); - let getCallingUid = rpc.IPCSkeleton.getCallingUid(); - let getCallingDeviceID = rpc.IPCSkeleton.getCallingDeviceID(); - let getLocalDeviceID = rpc.IPCSkeleton.getLocalDeviceID(); - let isLocalCalling = rpc.IPCSkeleton.isLocalCalling(); - let remoteObject = new rpc.RemoteObject("aaa", 3); - let flushCommands = rpc.IPCSkeleton.flushCommands(remoteObject); - let resetCallingIdentity = rpc.IPCSkeleton.resetCallingIdentity(); - let setCallingIdentity = rpc.IPCSkeleton.setCallingIdentity("aaa", 3); - let num = message.readInt(); - let msg = message.readString(); - console.log("num is " + num + "msg is " + msg); - reply.writeString("Success"); - return true; - } - } - } - mMyStub = new MyStub("ServiceAbility-test"); - }, - onStop() { - console.log('SerivceAbilityServer onStop'); - }, - onConnect(want) { - console.log('stub SerivceAbilityServer OnConnect' + JSON.stringify(want)); - if (want.action == 'StartAbilityPromise') { - console.log('stub SerivceAbilityServer OnConnect start 1'); - console.log('=======startAbilityPromise=======') - particleAbility.startAbility( - { - want: - { - action: "action.system.home", - entities: ["entity.system.home"], - type: "MIMETYPE", - deviceId: "", - bundleName: "com.example.particlestartability", - abilityName: "com.example.particlestartability.MainAbility", - uri: "" - }, - } - ); - } - if (want.action == 'StartAbilityCallback') { - console.log('stub SerivceAbilityServer OnConnect start 2') - console.log('=======startAbilityCallback=======') - particleAbility.startAbility( - { - want: - { - action: "action.system.home", - entities: ["entity.system.home"], - type: "MIMETYPE", - deviceId: "", - bundleName: "com.example.particlestartability", - abilityName: "com.example.particlestartability.MainAbility", - uri: "" - }, - }, (err, data) => { - console.debug('=====start Ability callback=====' + err.code + ', data ' + data); - } - ); - } - if (want.action == "AcquireDataHelper") { - console.log('stub SerivceAbilityServer OnConnect start 3') - let dataAbilityUri = "dataability:///com.ix.VerifyActDataAbility"; - const valueBucket = { - "name": "ACTS_AcquireDataHelper", - "age": 221, - "salary": 20.5, - "blobType": "u8", - } - let DAHelper = particleAbility.acquireDataAbilityHelper(dataAbilityUri); - console.log('stub SerivceAbilityServer OnConnect ' + DAHelper + JSON.stringify(DAHelper) + typeof DAHelper) - if (JSON.stringify(DAHelper) != 'null') { - var asyncCallback = DAHelper.insert(dataAbilityUri, valueBucket, - (err, data) => { - console.log("json err【" + JSON.stringify(err) + " 】json data【" + JSON.stringify(data) + " 】;"); - commonEvent.publish("ACTS_AcquireDataHelper_0100" + data, err => { - console.log('Publish ACTS_AcquireDataHelper_0100 result: ' + err.code); - }); - } - ); - } - console.log('stub SerivceAbilityServer OnConnect is null'); - } - if (want.action == "AcquireDataHelper_no") { - console.log('stub SerivceAbilityServer OnConnect start 4') - let dataAbilityUri = ""; - var DAHelper = particleAbility.acquireDataAbilityHelper(dataAbilityUri); - console.log('stub SerivceAbilityServer OnConnect ' + DAHelper + JSON.stringify(DAHelper) + typeof DAHelper); - if (JSON.stringify(DAHelper) == 'null') { - console.log('stub SerivceAbilityServer OnConnect DAHelper is null') - commonEvent.publish("ACTS_AcquireDataHelper_02000", err => { - console.log('Publish ACTS_AcquireDataHelper_0200 result: ' + err.code) - }); - } - console.log('stub SerivceAbilityServer OnConnect end') - } - return mMyStub; - }, - onReconnect(want) { - console.log('SerivceAbilityServer onReconnect'); - }, - onDisconnect() { - console.log('SerivceAbilityServer OnDisConnect'); - }, - onCommand(want, restart, startId) { - console.log('SerivceAbilityServer onCommand'); - }, -} diff --git a/aafwk/aafwk_standard/serviceability/sceneProject/particletestserver/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/serviceability/sceneProject/particletestserver/src/main/js/resources/base/element/string.json deleted file mode 100644 index 45cc67c61..000000000 --- a/aafwk/aafwk_standard/serviceability/sceneProject/particletestserver/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "particletestserver" - }, - { - "name": "mainability_description", - "value": "JS_Phone_Empty Feature Ability" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/serviceability/sceneProject/particletestserver/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/serviceability/sceneProject/particletestserver/src/main/js/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 zrdpa{2QLqPJ4Y{j7=Mrl{BaxrkdY69+c~(w{Fv-v&aR%aEI&JYSeRTLWm!zbv;?)_ ziZB;fwGbbeL5Q}YLx`J$lp~A09KK8t_z}PZ=4ZzgdeKtgoc+o5EvN9A1K1_<>M?MBqb#!ASf&# zEX?<)!RH(7>1P+j=jqG(58}TVN-$psA6K}atCuI!KTJD&FMmH-78ZejBm)0qc{ESp z|LuG1{QnBUJRg_E=h1#XMWt2%fcoN@l7eAS!Es?Q+;XsRNPhiiE=@AqlLkJzF`O18 zbsbSmKN=aaq8k3NFYZfDWpKmM!coBU0(XnL8R{4=i|wi{!uWYM2je{U{B*K2PVdu&=E zTq*-XsEsJ$u5H4g6DIm2Y!DN`>^v|AqlwuCD;w45K0@eqauiqWf7l&o)+YLHm~|L~ z7$0v5mkobriU!H<@mVJHLlmQqzQ3d6Rh_-|%Yy2li*tHO>_vcnuZ7OR_xkAIuIU&x z-|8Y0wj|6|a6_I(v91y%k_kNw6pnkNdxjqG8!%Vz_d%c_!X+6-;1`GC9_FpjoHev5fEV7RhJ>r=mh-jp$fqbqRJ=obwdgLDVP5+s zy1=_DWG0Y-Jb3t^WXmkr(d9~08k-|#Ly zaNOmT(^9tIb&eb4%CzIT zAm3CUtWSr1t4?h1kk#NBi{U|pJslvME{q|_eS^3En>SOqSxyuN1x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Pp#c;**_SYmi`&z23 z`p6_~ePvH)C6x-G9$hgL=eVALq`-AiamN>!3~Lxw&{H(b{B(7xSRm6<3<{%{yXiH# zos5Rv1L+8fUKJLo%P>4I&$}y - - {{ $t('strings.hello') }} {{ title }} - - - StServiceAbilityServer - - diff --git a/aafwk/aafwk_standard/serviceability/stserviceabilityserver/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/serviceability/stserviceabilityserver/entry/src/main/js/default/pages/index/index.js deleted file mode 100644 index 502152515..000000000 --- a/aafwk/aafwk_standard/serviceability/stserviceabilityserver/entry/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,176 +0,0 @@ -/* - * Copyright (c) 2021 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 rpc from "@ohos.rpc"; -let mMyStub; -import particleAbility from '@ohos.ability.particleAbility' -import featureAbility from '@ohos.ability.featureAbility' -import commonEvent from '@ohos.commonEvent' -var serversecond_bundleName = "com.amsst.stserviceabilityserversecond"; -var serversecond_abilityName = "com.amsst.stserviceabilityserversecond.MainAbility"; -var mConnIdJs; -export default { - data: { - title: "" - }, - onInit() { - this.title = this.$t('strings.world'); - }, - onShow() { - console.debug('ACTS_SerivceAbilityServer ====onReconnect=' - + want + " , JSON." + JSON.stringify(want)); - commonEvent.publish("ACTS_SerivceAbilityServer_onReconnect" + "_" + want.action, (err) => { }); - }, - onActive() { - console.debug('ACTS_SerivceAbilityServer ==== { }); - }, - onCommand(want, restart, startId) { - console.debug('ACTS_SerivceAbilityServer ====>onCommand=' - + "JSON(want)=" + JSON.stringify(want) - + " ,restart=" + restart + " ,startId=" + startId); - if (want.action == 'ServiceStartService_0900') { - particleAbility.startAbility( - { - want: - { - bundleName: serversecond_bundleName, - abilityName: serversecond_abilityName, - action: "ServiceStartService_0900", - }, - } - ); - featureAbility.terminateSelf(); - } else if (want.action == 'ServiceStartService_1000') { - particleAbility.startAbility( - { - want: - { - bundleName: serversecond_bundleName, - abilityName: serversecond_abilityName, - action: "ServiceStartService_1000", - }, - }, (err, data) => { - console.debug('ACTS_SerivceAbilityServer start Ability 1000 callback=====' - + err + ', data= ' + data + " , JSON." + JSON.stringify(data)); - featureAbility.terminateSelf(); - } - ); - } else { - commonEvent.publish("ACTS_SerivceAbilityServer_onCommand" + "_" + want.action, (err) => { - if (!err.code) { - if (want.action == 'PageStartService_0100' || want.action == 'PageStartService_0200' - || want.action == 'PageStartService_0301' || want.action == 'PageStartService_0401') { - console.debug('ACTS_SerivceAbilityServer_onCommand 100 200 301 401.terminateSelf()=====>' - + want.action); - featureAbility.terminateSelf(); - } - } else { - console.debug('ACTS_SerivceAbilityServer_onCommand publish err=====>' + err); - } - }); - } - }, - onStart(want) { - console.debug('ACTS_SerivceAbilityServer ====>onStart=' - + want + " , JSON." + JSON.stringify(want)); - commonEvent.publish("ACTS_SerivceAbilityServer_onStart", (err) => { }); - class MyStub extends rpc.RemoteObject { - constructor(des) { super(des); } - } - console.debug("ACTS_SerivceAbilityServer ====< RPCTestServer"); - mMyStub = new MyStub("ServiceAbility-test"); - console.debug("ACTS_SerivceAbilityServer RPCTestServer: mMyStub:" + mMyStub - + " , " + JSON.stringify(mMyStub)) - }, - onStop() { - console.debug('ACTS_SerivceAbilityServer ==== { }); - featureAbility.terminateSelf(); - }, - onConnect(want) { - console.debug('ACTS_SerivceAbilityServer ====>onConnect=' - + want + " , JSON." + JSON.stringify(want)); - function onConnectCallback(element, remote) { - console.debug('ACTS_SerivceAbilityServer_onConnectCallback ====> mConnIdJs=' - + JSON.stringify(mConnIdJs) + " , " + mConnIdJs); - console.debug('ACTS_SerivceAbilityServer_onConnectCallback ====> element=' - + JSON.stringify(element) + " , " + element); - console.debug('ACTS_SerivceAbilityServer_onConnectCallback ====> remote=' - + JSON.stringify(remote) + " , " + remote); - } - function onDisconnectCallback(element) { - console.debug('ACTS_SerivceAbilityServer_onDisconnectCallback ====> element=' - + JSON.stringify(element) + " , " + element); - } - function onFailedCallback(code) { - console.debug('ACTS_SerivceAbilityServer_onFailedCallback ====> code=' - + JSON.stringify(code) + " , " + code) - } - if (want.action == 'ServiceConnectService_1300' || want.action == 'ServiceConnectService_1400' - || want.action == 'ServiceConnectService_1500' || want.action == 'ServiceConnectService_1600') { - mConnIdJs = particleAbility.connectAbility( - { - bundleName: serversecond_bundleName, - abilityName: serversecond_abilityName, - action: want.action, - }, - { - onConnect: onConnectCallback, - onDisconnect: onDisconnectCallback, - onFailed: onFailedCallback, - }, - ) - } else { - commonEvent.publish("ACTS_SerivceAbilityServer_onConnect" + "_" + want.action, (err) => { }); - } - return mMyStub; - }, - OnAbilityConnectDone(element, remoteObject, resultCode) { - console.debug('ACTS_SerivceAbilityServer ====>OnAbilityConnectDone=' - + element + " , JSON." + JSON.stringify(element) - + remoteObject + " , JSON." + JSON.stringify(remoteObject) - + resultCode + " , JSON." + JSON.stringify(resultCode) - ); - commonEvent.publish("ACTS_SerivceAbilityServer_OnAbilityConnectDone", (err) => { }); - }, - onDisconnect(want) { - console.debug('ACTS_SerivceAbilityServer ====>onDisConnect=' - + want + " , JSON." + JSON.stringify(want)); - commonEvent.publish("ACTS_SerivceAbilityServer_onDisConnect", (err) => { - if (err.code) { - console.debug('ACTS_SerivceAbilityServer_onDisConnect publish err=====>' + err); - } else { - console.debug('ACTS_SerivceAbilityServer_onDisConnect featureAbility.terminateSelf()=====<' - + want.action); - if (want.action == 'ServiceConnectService_1300' || want.action == 'ServiceConnectService_1400' - || want.action == 'ServiceConnectService_1500' || want.action == 'ServiceConnectService_1501' - || want.action == 'ServiceConnectService_1600' || want.action == 'ServiceConnectService_1601' - ) { - particleAbility.disconnectAbility(mConnIdJs, (err) => { - console.debug("=ACTS_SerivceAbilityServer_onDisConnect 13 14 15 16 err====>" - + ("json err=") + JSON.stringify(err) + " , " + want.action); - }) - } - featureAbility.terminateSelf(); - } - }); - }, -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/serviceability/stserviceabilityserver/entry/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/serviceability/stserviceabilityserver/entry/src/main/js/resources/base/element/string.json deleted file mode 100644 index 7da68b66d..000000000 --- a/aafwk/aafwk_standard/serviceability/stserviceabilityserver/entry/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "StServiceAbilityServer" - }, - { - "name": "mainability_description", - "value": "hap sample empty page" - } - ] -} diff --git a/aafwk/aafwk_standard/serviceability/stserviceabilityserver/entry/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/serviceability/stserviceabilityserver/entry/src/main/js/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 zrdpa{2QLqPJ4Y{j7=Mrl{BaxrkdY69+c~(w{Fv-v&aR%aEI&JYSeRTLWm!zbv;?)_ ziZB;fwGbbeL5Q}YLx`J$lp~A09KK8t_z}PZ=4ZzgdeKtgoc+o5EvN9A1K1_<>M?MBqb#!ASf&# zEX?<)!RH(7>1P+j=jqG(58}TVN-$psA6K}atCuI!KTJD&FMmH-78ZejBm)0qc{ESp z|LuG1{QnBUJRg_E=h1#XMWt2%fcoN@l7eAS!Es?Q+;XsRNPhiiE=@AqlLkJzF`O18 zbsbSmKN=aaq8k3NFYZfDWpKmM!coBU0(XnL8R{4=i|wi{!uWYM2je{U{B*K2PVdu&=E zT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KY(YHEf$Hj!M5XOif2}bDVT~#nwm57i z6^;k1BfkI#2a7>4e42{8g?g`>nbo*tA?vQh{fRzIem6Y!&u8`Yow^C zqOv67Mm26i&zNJdsSk}S5ZJ9i5g1b;GMLpRDryEM1hJu-awZyzc>Q+DX-4p{!Nodj z8p@BoYeJz0+)sJZt zuEPepall8Mbf92R2NrOKP{5F3h655oKi75PrZ7VWYMqI0@AnHgNidN_?~A>hO$>~4 z^Tb@Mb6p+qg%i#dPPBT6TPfsoGNel~WMtla4$I*p39k?b>wSH06QT&ecu{LS5j7WKgGt{%Qg#tlx5^zGpL0XEyDon}XtBlYX@N6O&mN9(L z$3WvjRw6q*BYjXd*Fq8jXbPB|7!qV;4<3SpL4U$-IR3dR7);6%Ng*HwQb@`@>Ox+;D8{>7P%3W3Q%Usi-A~_qV+>e)rntOWl*O-6dZMKE8F5;?K0akaPU^t@xU> z%=cfHofS|kPL6wHyBU;&9FES!DZ+6ebIF)LFY6Fz{&D!$xgA|o7k1uCUbIc31tSxH zQ9Ry%g+c*8bqSc5h(`)Dg=0P>uD!i0X1s82?ZKCCB;WhGR>U(8-7|qN3Ap)CQv0fX zX>mu>K3(2u5yPDS2i~g-k`cK-?+g}k~KDu+;-P*Btr{$~&b>;qGA|AHs7nh`J|G6Cj zFM?4Cp=2b4lMDphW2lmNDT9=hRhqu_t?@tZNiwycZ^=K%z>ov)XaXk~tj_oQ`@1 zbTo;4XZBDgPjUAKnGqx}k`C5UB78cI_yh?}-u&gMP5ZOtdzXK(qxOqy@YH| zKVg=t_U%sjdhgBr><=%#F8a;Uk{yeK)y=0CKNmdE*mmS2GpIWB>H6u#<%c`=zqcWK z9HF5KQ#7Oa~pEP2)s#v~d&wROM>gVs@EXK<+yLWhcgU&n0TfndfCpllJ0~-G1 zq|eQ>U0Y7f|Lt@0PS - - {{ $t('strings.hello') }} {{ title }} - - - StServiceAbilityServer - - diff --git a/aafwk/aafwk_standard/serviceability/stserviceabilityserversecond/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/serviceability/stserviceabilityserversecond/entry/src/main/js/default/pages/index/index.js deleted file mode 100644 index 75eda49a1..000000000 --- a/aafwk/aafwk_standard/serviceability/stserviceabilityserversecond/entry/src/main/js/default/pages/index/index.js +++ /dev/null @@ -1,167 +0,0 @@ -/* - * Copyright (c) 2021 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 rpc from "@ohos.rpc"; -let mMyStub; -import particleAbility from '@ohos.ability.particleAbility' -import featureAbility from '@ohos.ability.featureAbility' -import commonEvent from '@ohos.commonEvent' -var server_bundleName = "com.amsst.stserviceabilityserver"; -var server_abilityName = "com.amsst.stserviceabilityserver.MainAbility"; -var mConnIdJs; -export default { - data: { - title: "" - }, - onInit() { - this.title = this.$t('strings.world'); - }, - onShow() { - console.debug('ACTS_SerivceAbilityServer ====onReconnect=' - + want + " , JSON." + JSON.stringify(want)); - }, - onActive() { - console.debug('ACTS_SerivceAbilityServerSecond ==== { }); - }, - onCommand(want, restart, startId) { - console.debug('ACTS_SerivceAbilityServerSecond ====>onCommand=' - + "JSON(want)=" + JSON.stringify(want) - + " ,restart=" + restart + " ,startId=" + startId); - commonEvent.publish("ACTS_SerivceAbilityServerSecond_onCommand" + "_" + want.action, (err) => { }); - featureAbility.terminateSelf(); - }, - onStart(want) { - console.debug('ACTS_SerivceAbilityServerSecond ====>onStart=' - + want + " , JSON." + JSON.stringify(want)); - commonEvent.publish("ACTS_SerivceAbilityServerSecond_onStart", (err) => { }); - class MyStub extends rpc.RemoteObject { - constructor(des) { super(des); } - } - console.debug("ACTS_SerivceAbilityServerSecond ====< RPCTestServer"); - mMyStub = new MyStub("ServiceAbility-test"); - console.debug("ACTS_SerivceAbilityServerSecond RPCTestServer: mMyStub:" + mMyStub - + " ,JSON. " + JSON.stringify(mMyStub)) - }, - onStop() { - console.debug('ACTS_SerivceAbilityServerSecond ==== { }); - featureAbility.terminateSelf(); - }, - onConnect(want) { - console.debug('ACTS_SerivceAbilityServerSecond ====>onConnect=' - + want + " , JSON." + JSON.stringify(want)); - function onConnectCallback(element, remote) { - console.debug('ACTS_SerivceAbilityServerSecond_onConnectCallback ====> want.action=' - + JSON.stringify(want.action) + " , " + want.action); - console.debug('ACTS_SerivceAbilityServerSecond_onConnectCallback ====> element=' - + JSON.stringify(element) + " , " + element); - console.debug('ACTS_SerivceAbilityServerSecond_onConnectCallback ====> remote=' - + JSON.stringify(remote) + " , " + remote); - if(want.action == 'ServiceConnectService_1500' || want.action == 'ServiceConnectService_1600'){ - commonEvent.publish("ACTS_SerivceAbilityServerSecond_onConnect" + "_" + want.action, (err) => { - console.debug("publish = ACTS_SerivceAbilityServerSecond_onConnect" + "_" + want.action); - }); - } - } - - function onDisconnectCallback(element) { - console.debug('ACTS_SerivceAbilityServerSecond_onDisconnectCallback ====> element=' - + JSON.stringify(element) + " , " + element); - } - - function onFailedCallback(code) { - console.debug('ACTS_SerivceAbilityServerSecond_onFailedCallback ====> code=' - + JSON.stringify(code) + " , " + code) - } - if (want.action == 'ServiceConnectService_1500') { - mConnIdJs = particleAbility.connectAbility( - { - bundleName: server_bundleName, - abilityName: server_abilityName, - action: "ServiceConnectService_1501", - }, - { - onConnect: onConnectCallback, - onDisconnect: onDisconnectCallback, - onFailed: onFailedCallback, - }, - ) - } else if (want.action == 'ServiceConnectService_1600') { - mConnIdJs = particleAbility.connectAbility( - { - bundleName: server_bundleName, - abilityName: server_abilityName, - action: "ServiceConnectService_1601", - }, - { - onConnect: onConnectCallback, - onDisconnect: onDisconnectCallback, - onFailed: onFailedCallback, - }, - ) - } else if (want.action == 'ServiceConnectService_1590') { - mConnIdJs = particleAbility.connectAbility( - { - bundleName: server_bundleName, - abilityName: server_abilityName, - action: "ServiceConnectService_1591", - }, - { - onConnect: onConnectCallback, - onDisconnect: onDisconnectCallback, - onFailed: onFailedCallback, - }, - ) - } else { - commonEvent.publish("ACTS_SerivceAbilityServerSecond_onConnect" + "_" + want.action, (err) => { }); - } - return mMyStub; - }, - OnAbilityConnectDone(element, remoteObject, resultCode) { - console.debug('ACTS_SerivceAbilityServerSecond ====>OnAbilityConnectDone=' - + element + " , JSON." + JSON.stringify(element) - + remoteObject + " , JSON." + JSON.stringify(remoteObject) - + resultCode + " , JSON." + JSON.stringify(resultCode) - ); - commonEvent.publish("ACTS_SerivceAbilityServerSecond_OnAbilityConnectDone", (err) => { }); - }, - onDisconnect(want) { - console.debug('ACTS_SerivceAbilityServerSecond ====>onDisConnect=' - + want + " , JSON." + JSON.stringify(want)); - commonEvent.publish("ACTS_SerivceAbilityServerSecond_onDisConnect", (err) => { - if (err.code) { - console.debug('ACTS_SerivceAbilityServerSecond_onDisConnect publish err=====>' + err); - } else { - console.debug('ACTS_SerivceAbilityServerSecond_onDisConnect featureAbility.terminateSelf()=====<' - + want.action); - if (want.action == 'ServiceConnectService_1500' || want.action == 'ServiceConnectService_1501' - || want.action == 'ServiceConnectService_1600' || want.action == 'ServiceConnectService_1601' - || want.action == 'ServiceConnectService_1590') { - particleAbility.disconnectAbility(mConnIdJs, (err) => { - console.debug("=ACTS_SerivceAbilityServerSecond_onDisConnect err====>" - + ("json err=") + JSON.stringify(err) + " , " + want.action); - }) - } - featureAbility.terminateSelf(); - } - }); - }, -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/serviceability/stserviceabilityserversecond/entry/src/main/js/resources/base/element/string.json b/aafwk/aafwk_standard/serviceability/stserviceabilityserversecond/entry/src/main/js/resources/base/element/string.json deleted file mode 100644 index 7da68b66d..000000000 --- a/aafwk/aafwk_standard/serviceability/stserviceabilityserversecond/entry/src/main/js/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "StServiceAbilityServer" - }, - { - "name": "mainability_description", - "value": "hap sample empty page" - } - ] -} diff --git a/aafwk/aafwk_standard/serviceability/stserviceabilityserversecond/entry/src/main/js/resources/base/media/icon.png b/aafwk/aafwk_standard/serviceability/stserviceabilityserversecond/entry/src/main/js/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 zrdpa{2QLqPJ4Y{j7=Mrl{BaxrkdY69+c~(w{Fv-v&aR%aEI&JYSeRTLWm!zbv;?)_ ziZB;fwGbbeL5Q}YLx`J$lp~A09KK8t_z}PZ=4ZzgdeKtgoc+o5EvN9A1K1_<>M?MBqb#!ASf&# zEX?<)!RH(7>1P+j=jqG(58}TVN-$psA6K}atCuI!KTJD&FMmH-78ZejBm)0qc{ESp z|LuG1{QnBUJRg_E=h1#XMWt2%fcoN@l7eAS!Es?Q+;XsRNPhiiE=@AqlLkJzF`O18 zbsbSmKN=aaq8k3NFYZfDWpKmM!coBU0(XnL8R{4=i|wi{!uWYM2je{U{B*K2PVdu&=E zTq*-XsEsJ$u5H4g6DIm2Y!DN`>^v|AqlwuCD;w45K0@eqauiqWf7l&o)+YLHm~|L~ z7$0v5mkobriU!H<@mVJHLlmQqzQ3d6Rh_-|%Yy2li*tHO>_vcnuZ7OR_xkAIuIU&x z-|8Y0wj|6|a6_I(v91y%k_kNw6pnkNdxjqG8!%Vz_d%c_!X+6-;1`GC9_FpjoHev5fEV7RhJ>r=mh-jp$fqbqRJ=obwdgLDVP5+s zy1=_DWG0Y-Jb3t^WXmkr(d9~08k-|#Ly zaNOmT(^9tIb&eb4%CzIT zAm3CUtWSr1t4?h1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zGpL0XEyDon}XtBlYX@N6O&mN9(L z$3WvjRw6q*BYjXd*Fq8jXbPB|7!qV;4<3SpL4U$-IR3dR7);6%Ng*HwQb@`@>Ox+;D8{>7P%3W3Q%Usi-A~_qV+>e)rntOWl*O-6dZMKE8F5;?K0akaPU^t@xU> z%=cfHofS|kPL6wHyBU;&9FES!DZ+6ebIF)LFY6Fz{&D!$xgA|o7k1uCUbIc31tSxH zQ9Ry%g+c*8bqSc5h(`)Dg=0P>uD!i0X1s82?ZKCCB;WhGR>U(8-7|qN3Ap)CQv0fX zX>mu>K3(2u5yPDS2i~g-k`cK-?+g}k~KDu+;-P*Btr{$~&b>;qGA|AHs7nh`J|G6Cj zFM?4Cp=2b4lMDphW2lmNDT9=hRhqu_t?@tZNiwycZ^=K%z>ov)XaXk~tj_oQ`@1 zbTo;4XZBDgPjUAKnGqx}k`C5UB78cI_yh?}-u&gMP5ZOtdzXK(qxOqy@YH| zKVg=t_U%sjdhgBr><=%#F8a;Uk{yeK)y=0CKNmdE*mmS2GpIWB>H6u#<%c`=zqcWK z9HF5KQ#7Oa~pEP2)s#v~d&wROM>gVs@EXK<+yLWhcgU&n0TfndfCpllJ0~-G1 zq|eQ>U0Y7f|Lt@0PS { console.log('FeatureAbilityTestCallBack ACTS_setShowOnLockScreen_0100 Called.' + ' error ' + error.code ) }); - console.log('ZLM-----onClick1 end'); + console.log('ZLM-----onClick2 end'); }, onShow(){ this.title = this.$t('strings.world'); @@ -41,6 +41,6 @@ export default { featureAbility.setShowOnLockScreen(false,(error, data) => { console.log('FeatureAbilityTestCallBack ACTS_setShowOnLockScreen_0100 Called.' + ' error ' + error.code ) }); - console.log('ZLM-----onClick1 end'); + console.log('ZLM-----onClick3 end'); } } diff --git a/aafwk/aafwk_standard/setshowonlockscreen/showsethown/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/setshowonlockscreen/showsethown/entry/src/main/js/default/pages/index/index.js index e8014499e..7089efd8f 100644 --- a/aafwk/aafwk_standard/setshowonlockscreen/showsethown/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/setshowonlockscreen/showsethown/entry/src/main/js/default/pages/index/index.js @@ -15,33 +15,16 @@ import featureAbility from '@ohos.ability.featureAbility' export default { data: { - title: "" + title: '' }, onInit() { - this.title = this.$t('strings.world'); - - featureAbility.setShowOnLockScreen(true,(error, data) => { - console.log('FeatureAbilityTestCallBack ACTS_setShowOnLockScreen_0100 Called.' + ' error ' + error.code ) - }); - console.log('ZLM-----onClick1 end'); - }, - + console.info('onInit'); + }, onStart(want){ - - this.title = this.$t('strings.world'); - - featureAbility.setShowOnLockScreen(true,(error, data) => { - console.log('FeatureAbilityTestCallBack ACTS_setShowOnLockScreen_0100 Called.' + ' error ' + error.code ) - }); - console.log('ZLM-----onClick1 end'); + console.info('onStart'); }, onShow(){ - this.title = this.$t('strings.world'); - - featureAbility.setShowOnLockScreen(true,(error, data) => { - console.log('FeatureAbilityTestCallBack ACTS_setShowOnLockScreen_0100 Called.' + ' error ' + error.code ) - }); - console.log('ZLM-----onClick1 end'); + console.info('onShow'); } } diff --git a/aafwk/aafwk_standard/stage/BUILD.gn b/aafwk/aafwk_standard/stage/BUILD.gn deleted file mode 100644 index 74a30a86d..000000000 --- a/aafwk/aafwk_standard/stage/BUILD.gn +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright (c) 2021 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") - -group("stage") { - testonly = true - if (is_standard_system) { - deps = [ - "actsamscontexttest:ActsAmsContextTest", - "stageenvchangetest:StageEnvchangeTest", - ] - } -} diff --git a/aafwk/aafwk_standard/stage/actsamscontexttest/AppScope/app.json b/aafwk/aafwk_standard/stage/actsamscontexttest/AppScope/app.json deleted file mode 100644 index b0decfe1f..000000000 --- a/aafwk/aafwk_standard/stage/actsamscontexttest/AppScope/app.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "app":{ - "bundleName":"ohos.acts.aafwk.pldtest.myapplication", - "vendor":"huawei", - "versionCode":1000000, - "versionName":"1.0.0", - "debug":false, - "icon":"$media:icon", - "label":"$string:app_name", - "description":"$string:description_application", - "distributedNotificationEnabled":true, - "keepAlive":true, - "singleUser":true, - "minAPIVersion":8, - "targetAPIVersion":8, - "car":{ - "apiCompatibleVersion":8, - "singleUser":false - } - } -} diff --git a/aafwk/aafwk_standard/stage/actsamscontexttest/AppScope/resources/base/element/string.json b/aafwk/aafwk_standard/stage/actsamscontexttest/AppScope/resources/base/element/string.json deleted file mode 100644 index ee69f9a86..000000000 --- a/aafwk/aafwk_standard/stage/actsamscontexttest/AppScope/resources/base/element/string.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "string":[ - { - "name":"app_name", - "value":"ohosProject" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/stage/actsamscontexttest/AppScope/resources/base/media/app_icon.png b/aafwk/aafwk_standard/stage/actsamscontexttest/AppScope/resources/base/media/app_icon.png deleted file mode 100644 index 474a55588fd7216113dd42073aadf254d4dba023..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15458 zcmV-oJe|XdP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!~g&e!~vBn4jTXfJNHRMK~#8N)t$?W zZ`*d)f6uD@IOn2&LJ;lP6@!gHh#>Y1!r&0HL_gDqb&`3X(Z=GaQp8SP` z92In5!tr>lHv4nxKS1{J@p1P!+F4$_JksuYcRrnVr_*tFKEi|jF}%m8r`_Y_l6p^% z@+LnCznqL`mDBrry9$FzRWuxkQF=}GpwhbiR|yW zmfjQNx4tFelhpeM=s1qPZ}7VBtuH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LuqY?smTFMUNmdIKf<-~8SGlI=%ec;mREm@HjRX*f(66cBMz?@ylE&?bsh z@s#R?ew0BbZQ+kp`U46IM6|5~Ez2ZdkB^+RYy~d!Wyw(lOy$cVp#7IeiW&lCzEKw8 zGhArebA>XW(l}@Ks0#88AM#=p=?4tAHNMUh>^}zRVgblcD*zuJeB%NHxA8~7&3F3K zAYd$S$x+vP6FXyZt}- z{r}3!ysV$w#X1$JZl72G@wkTCr@<`VBT++f{`d+4%SsK_oWS!)h$X)7Iw5YwMUI%|DP($<}KZ+-u>XG?b9I5f47B0;%?P3__l;YH& z`92CVO`RCVP#y-H@nJZgr1<2a{xBQ-lIK~pAH?^`km{I01IzdD7@r|t*_4y`9@NA5 zq$<1;c6}R8!%NJeZ{_C?c;3;(Bhvgl9`1TUrhJs+)3eHTVN^Wtf9v1;w`bk-!U80# zPb4Nai`;Q4VyWJmBm(HGVb%x!$o9g(m z@BNm8)L5LW41ks^%nDsO9dc#n{!ihj%?OK8jS5s)q|ox6AsyuMaEws?(61<4>Dl&% z(AowWE}sZbd2$Fpd3X!W{44-|eRU%5z)~*gA?R**Vyu2$E5~BWM~PgBBq$=kqGE67 z`@|=dDkKs@MXyRk(q=Sb__5!7i&kaqd|~>q`yW64akf!;YC=W70<8l5tW13-+~|Y; zkOj7m+O z!5pPf&u5hW8I_=fD zD*;20N{)BIOQ{tj;NRl5w-|ch2}M5c{wK!f>CfqKoBq&WEM66PqkaN5`Y)t8TRI`--F?$f7FyF2*vpx(dgmuRWV_Q&1- Y0jIQKqpXab7ytkO07*qoM6N<$f;yQ2zW@LL diff --git a/aafwk/aafwk_standard/stage/actsamscontexttest/BUILD.gn b/aafwk/aafwk_standard/stage/actsamscontexttest/BUILD.gn deleted file mode 100644 index be1de458f..000000000 --- a/aafwk/aafwk_standard/stage/actsamscontexttest/BUILD.gn +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright (c) 2021 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("ActsAmsContextTest") { - hap_profile = "entry/src/main/module.json" - deps = [ - ":actsamscontexttest_js_assets", - ":actsamscontexttest_resources", - ] - ets2abc = true - certificate_profile = "signature/openharmony_sx.p7b" - hap_name = "ActsAmsContextTest" -} - -ohos_app_scope("actsamscontexttest_app_profile") { - app_profile = "AppScope/app.json" - sources = [ "AppScope/resources" ] -} - -ohos_js_assets("actsamscontexttest_js_assets") { - source_dir = "entry/src/main/ets" -} - -ohos_resources("actsamscontexttest_resources") { - sources = [ "entry/src/main/resources" ] - deps = [ ":actsamscontexttest_app_profile" ] - hap_profile = "entry/src/main/module.json" -} diff --git a/aafwk/aafwk_standard/stage/actsamscontexttest/Test.json b/aafwk/aafwk_standard/stage/actsamscontexttest/Test.json deleted file mode 100644 index b1a15957a..000000000 --- a/aafwk/aafwk_standard/stage/actsamscontexttest/Test.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "description": "Configuration for hjunit demo Tests", - "driver": { - "type": "JSUnitTest", - "test-timeout": "180000", - "package": "ohos.acts.aafwk.pldtest.myapplication", - "shell-timeout": "600000" - }, - "kits": [ - { - "test-file-name": [ - "ActsAmsContextTest.hap" - ], - "type": "AppInstallKit", - "cleanup-apps": true - } - ] -} diff --git a/aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/ets/Application/AbilityStage.ts b/aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/ets/Application/AbilityStage.ts deleted file mode 100644 index 51cb02ba3..000000000 --- a/aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/ets/Application/AbilityStage.ts +++ /dev/null @@ -1,9 +0,0 @@ -import AbilityStage from "@ohos.application.AbilityStage" - -export default class MyAbilityStage extends AbilityStage { - onCreate() { - console.log("[Demo] MyAbilityStage onCreate") - globalThis.stageOnCreateRun = 1; - globalThis.stageContext = this.context; - } -} diff --git a/aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/ets/MainAbility/MainAbility.ts b/aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/ets/MainAbility/MainAbility.ts deleted file mode 100644 index 2f9d6d1f2..000000000 --- a/aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/ets/MainAbility/MainAbility.ts +++ /dev/null @@ -1,36 +0,0 @@ -import Ability from '@ohos.application.Ability' - -export default class MainAbility extends Ability { - onCreate(want,launchParam){ - // Ability is creating, initialize resources for this ability - console.log("[Demo] MainAbility onCreate") - globalThis.abilityWant = want; - } - - onDestroy() { - // Ability is destroying, release resources for this ability - console.log("[Demo] MainAbility onDestroy") - } - - onWindowStageCreate(windowStage) { - // Main window is created, set main page for this ability - console.log("[Demo] MainAbility onWindowStageCreate") - globalThis.abilityContext = this.context - windowStage.setUIContent(this.context, "pages/index/index", null) - } - - onWindowStageDestroy() { - //Main window is destroyed, release UI related resources - console.log("[Demo] MainAbility onWindowStageDestroy") - } - - onForeground() { - // Ability has brought to foreground - console.log("[Demo] MainAbility onForeground") - } - - onBackground() { - // Ability has back to background - console.log("[Demo] MainAbility onBackground") - } -}; \ No newline at end of file diff --git a/aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/ets/pages/index/index.ets b/aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/ets/pages/index/index.ets deleted file mode 100644 index 7974e5d93..000000000 --- a/aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/ets/pages/index/index.ets +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright (c) 2021 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 file from '@system.file'; - -import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index.ets" -import testsuite from "../../test/List.test.ets" - - -@Entry -@Component -struct Index { - - aboutToAppear(){ - console.info("start run testcase!!!!") - const core = Core.getInstance() - const expectExtend = new ExpectExtend({ - 'id': 'extend' - }) - core.addService('expect', expectExtend) - const reportExtend = new ReportExtend(file) - - core.addService('report', reportExtend) - core.init() - core.subscribeEvent('task', reportExtend) - const configService = core.getDefaultService('config') - console.info('parameters---->' + JSON.stringify(globalThis.abilityWant.parameters)) - globalThis.abilityWant.parameters.timeout = 70000; - configService.setConfig(globalThis.abilityWant.parameters) - testsuite(globalThis.abilityContext) - core.execute() - } - - build() { - Flex({ direction:FlexDirection.Column, alignItems:ItemAlign.Center, justifyContent: FlexAlign.Center }) { - Text('Hello World') - .fontSize(50) - .fontWeight(FontWeight.Bold) - Button() { - Text('next page') - .fontSize(25) - .fontWeight(FontWeight.Bold) - }.type(ButtonType.Capsule) - .margin({ - top: 20 - }) - .backgroundColor('#0D9FFB') - .onClick(() => { - - }) - } - .width('100%') - .height('100%') - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/ets/pages/second/second.ets b/aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/ets/pages/second/second.ets deleted file mode 100644 index 1c1c727ff..000000000 --- a/aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/ets/pages/second/second.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (c) 2021 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 router from '@system.router'; - -@Entry -@Component -struct Second { - private content: string = "Second Page" - - build() { - Flex({ direction: FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { - Text(`${this.content}`) - .fontSize(50) - .fontWeight(FontWeight.Bold) - Button() { - Text('back to index') - .fontSize(20) - .fontWeight(FontWeight.Bold) - }.type(ButtonType.Capsule) - .margin({ - top: 20 - }) - .backgroundColor('#0D9FFB') - .onClick(() => { - router.back() - }) - } - .width('100%') - .height('100%') - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/ets/test/Ability.test.ets b/aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/ets/test/Ability.test.ets deleted file mode 100644 index 115947def..000000000 --- a/aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/ets/test/Ability.test.ets +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Copyright (c) 2021 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, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "deccjsunit/index" - - -export default function abilityTest(abilityContext) { - describe('ActsAbilityTest', function() { - - /** - * @tc.number: SUB_AA_OpenHarmony_Context_0900 - * @tc.name: Verify that the AbilityContext gets the resourceManger object available - * @tc.desc: Obtain the resourceManger object through ability, call the getString method, pass in the - * labelId of the corresponding hap package, and check whether it is the same as the configuration - * in the config.json file - */ - it('SUB_AA_OpenHarmony_Context_0900', 0, async function (done) { - console.log("SUB_AA_OpenHarmony_Context_0900 --- start"); - var result = await abilityContext.resourceManager.getString(16777218); - console.log("SUB_AA_OpenHarmony_Context_0900 : result = " + JSON.stringify(result)); - setTimeout(function() { - expect(JSON.stringify(result)).assertEqual("entry_MainAbility"); - }, 5000); - done(); - }); - - /** - * @tc.number: SUB_AA_OpenHarmony_Context_1000 - * @tc.name: Verify that the AbilityStageContext gets the resourceManger object available - * @tc.desc: First obtain the resourceManger object through AbilityStage, then call the getString method, - * pass in the labelId of the corresponding hap package, and check whether it is the same as the - * configuration in the config.json file - */ - it('SUB_AA_OpenHarmony_Context_1000', 0, async function (done) { - console.log("SUB_AA_OpenHarmony_Context_1000 --- start"); - var result = await globalThis.stageContext.resourceManager.getString(16777218); - console.log("SUB_AA_OpenHarmony_Context_1000 : result = " + JSON.stringify(result)); - setTimeout(function() { - expect(JSON.stringify(result)).assertEqual("entry_MainAbility"); - }, 5000); - done(); - }); - - /** - * @tc.number: SUB_AA_OpenHarmony_Context_1100 - * @tc.name: Verify that the resourceManger object obtained by AbilityStageContext to obtain - * applicationContext is available - * @tc.desc: First call the getApplication() method through AbilityStage to obtain the ApplicationContext, - * then obtain the resourceManger object through the ApplicationContext, then call the getString - * method, pass in the labelId of the corresponding hap package, and check whether it is the same - * as the configuration in the config.json file - */ - it('SUB_AA_OpenHarmony_Context_1100', 0, async function (done) { - console.log("SUB_AA_OpenHarmony_Context_1100 --- start"); - var result = await globalThis.stageContext.getApplicationContext().resourceManager.getString(16777218); - console.log("SUB_AA_OpenHarmony_Context_1100 : result = " + JSON.stringify(result)); - setTimeout(function() { - expect(JSON.stringify(result)).assertEqual("entry_MainAbility"); - }, 5000); - done(); - }); - - /** - * @tc.number: SUB_AA_OpenHarmony_Context_1300 - * @tc.name: Verify that AbilityContext calls createBundleContext to create the specified context, - * passing in the wrong package name - * @tc.desc: When the createBundleContext method is called through the context of ability, an incorrect - * package name is passed in, and the returned information is checked. - */ - it('SUB_AA_OpenHarmony_Context_1300', 0, async function (done) { - console.log("SUB_AA_OpenHarmony_Context_1300 --- start"); - var result = abilityContext.createBundleContext("com.app.os"); - console.log("SUB_AA_OpenHarmony_Context_1300 : type = " + typeof(result)); - setTimeout(function() { - expect(typeof(result) == "undefined").assertTrue(); - }, 5000); - done(); - }); - - /** - * @tc.number: SUB_AA_OpenHarmony_Context_1400 - * @tc.name: Verify that AbilityContext calls createBundleContext to create the specified - * context and passes in your own package name - * @tc.desc: Call the createBundleContext method through the context of ability, pass in the package name - * of the hap package, then obtain the resourceManager object and call the getString method, pass - * in the corresponding labelId, and check whether the obtained resource is the same as the label - * resource in config.json - */ - it('SUB_AA_OpenHarmony_Context_1400', 0, async function (done) { - console.log("SUB_AA_OpenHarmony_Context_1400 --- start"); - var bundleContext = abilityContext.createBundleContext("ohos.acts.aafwk.pldtest.myapplication"); - var result = await bundleContext.resourceManager.getString(16777218); - console.log("SUB_AA_OpenHarmony_Context_1400 : result = " + JSON.stringify(result)); - setTimeout(function() { - expect(JSON.stringify(result)).assertEqual("entry_MainAbility"); - }, 5000); - done(); - }); - }) -} diff --git a/aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/ets/test/List.test.ets b/aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/ets/test/List.test.ets deleted file mode 100644 index 6b9f9fe39..000000000 --- a/aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/ets/test/List.test.ets +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 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 abilityTest from './Ability.test.ets' - - -export default function testsuite(context) { - - abilityTest(context) - -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/module.json b/aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/module.json deleted file mode 100644 index f9ed77018..000000000 --- a/aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/module.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "module": { - "name": "phone", - "type": "entry", - "srcEntrance": "./ets/Application/AbilityStage.ts", - "description": "$string:phone_entry_dsc", - "mainElement": "MainAbility", - "deviceTypes": [ - "phone" - ], - "deliveryWithInstall": true, - "installationFree": false, - "uiSyntax": "ets", - "pages": "$profile:main_pages", - "abilities": [ - { - "name": "ohos.acts.aafwk.pldtest.myapplication.MainAbility", - "srcEntrance": "./ets/MainAbility/MainAbility.ts", - "description": "$string:phone_entry_main", - "icon": "$media:icon", - "label": "$string:entry_label", - "visible": true, - "orientation": "portrait", - "skills": [ - { - "actions": [ - "action.system.home" - ], - "entities":[ - "entity.system.home" - ] - } - ] - } - ] - - } -} diff --git a/aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/resources/base/element/string.json b/aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/resources/base/element/string.json deleted file mode 100644 index 2977b612e..000000000 --- a/aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/resources/base/element/string.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "string": [ - { - "name": "phone_entry_dsc", - "value": "i am an entry for phone" - }, - { - "name": "phone_entry_main", - "value": "the phone entry ability" - }, - { - "name": "entry_label", - "value": "ActsContextTest" - }, - { - "name": "form_description", - "value": "my form" - }, - { - "name": "serviceability_description", - "value": "my whether" - }, - { - "name": "description_application", - "value": "demo for test" - }, - { - "name": "app_name", - "value": "Demo" - } - ] -} diff --git a/aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/resources/base/media/icon.png b/aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/resources/base/media/icon.png deleted file mode 100644 index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20N{)BIOQ{tj;NRl5w-|ch2}M5c{wK!f>CfqKoBq&WEM66PqkaN5`Y)t8TRI`--F?$f7FyF2*vpx(dgmuRWV_Q&1- Y0jIQKqpXab7ytkO07*qoM6N<$f;yQ2zW@LL diff --git a/aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/resources/base/profile/main_pages.json b/aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/resources/base/profile/main_pages.json deleted file mode 100644 index 6898b31d2..000000000 --- a/aafwk/aafwk_standard/stage/actsamscontexttest/entry/src/main/resources/base/profile/main_pages.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "src": [ - "pages/index/index", - "pages/second/second" - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/stage/actsamscontexttest/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/stage/actsamscontexttest/signature/openharmony_sx.p7b deleted file mode 100644 index 66b4457a8a81fb8d3356cf46d67226c850944858..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3443 zcmcgvYj6|S8MPj^V?bbHu)zUrguxV$eOH!j$tfhe(&~j*^2(BJ8Bw#6Ru5a+m8F$e z7KKoe&=>-grhpq>=4Bu;(DE|wG>}Juk_0FTWjZM)HPlI=G?d~bG!)vE?SRd|k4|RL z5AA&4J@@X}@1F16xgaj0Q_^NE(=Gc(#7pJ3#zhN2Tx93-c#sGTPf1&_OvfVyLOu_~ zlSe%S@>=7`Ny51BKMTc;WGL*TDT$MIk>XNl)`J8^1h|A4DgXsQJWCvj_*`5l2htLU zQb|hWZthQ3EO$wia-fh9N)kXtGPj$A6damq3MM9pNIyx0NiIPIgA$i7%!GW72$Oi< z0D=zJ`Y49^Lr|^Wn5#m~7QIHVf-PuY)=pu1y$Xw|RIr2ez^opDJ$jTdsS0Ci7(+as25)_x zsT{}EFl&V|Ef!V9U<2YYRwA&?0@oW&+zMu#MLjlkC63QUS*F~nt&CJ?HBF8xWrVb# zH5lU5!jKhJMKRn`g!moxUavC%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~pEP2)s#v~d&wROM>gVs@EXK<+yLWhcgU&n0TfndfCpllJ0~-G1 zq|eQ>U0Y7f|Lt@0PS' + JSON.stringify(globalThis.abilityWant.parameters)); - -// configService.setConfig(globalThis.abilityWant.parameters); - - testsuite(globalThis.abilityContext); - - core.execute(); - } - build() { - Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { - Text('Hello World 111') - .fontSize(50) - .fontWeight(FontWeight.Bold) - Button() { - Text('next page') - .fontSize(25) - .fontWeight(FontWeight.Bold) - }.type(ButtonType.Capsule) - .margin({ - top: 20 - }) - .backgroundColor('#0D9FFB') - } - .width('100%') - .height('100%') - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/stage/stageenvchangetest/entry/src/main/ets/MainAbility/pages/second.ets b/aafwk/aafwk_standard/stage/stageenvchangetest/entry/src/main/ets/MainAbility/pages/second.ets deleted file mode 100644 index 93e67fa5f..000000000 --- a/aafwk/aafwk_standard/stage/stageenvchangetest/entry/src/main/ets/MainAbility/pages/second.ets +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (c) 2021 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 router from '@system.router'; - -@Entry -@Component -struct Second { - private content: string = "Second Page" - - build() { - Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { - Text(`${this.content}`) - .fontSize(50) - .fontWeight(FontWeight.Bold) - Button() { - Text('back to index') - .fontSize(20) - .fontWeight(FontWeight.Bold) - }.type(ButtonType.Capsule) - .margin({ - top: 20 - }) - .backgroundColor('#0D9FFB') - .onClick(() => { - router.back() - }) - } - .width('100%') - .height('100%') - } -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/stage/stageenvchangetest/entry/src/main/ets/test/List.test.ets b/aafwk/aafwk_standard/stage/stageenvchangetest/entry/src/main/ets/test/List.test.ets deleted file mode 100644 index 998a93af5..000000000 --- a/aafwk/aafwk_standard/stage/stageenvchangetest/entry/src/main/ets/test/List.test.ets +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2021 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 permisrsions and - * limitations under the License. - */ -import missionManagerTest from './MissionManager_test.ets' - - -export default function testsuite(context) { - - missionManagerTest(context) - -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/stage/stageenvchangetest/entry/src/main/ets/test/MissionManager_test.ets b/aafwk/aafwk_standard/stage/stageenvchangetest/entry/src/main/ets/test/MissionManager_test.ets deleted file mode 100644 index 343ed89ef..000000000 --- a/aafwk/aafwk_standard/stage/stageenvchangetest/entry/src/main/ets/test/MissionManager_test.ets +++ /dev/null @@ -1,155 +0,0 @@ -/* - * Copyright (c) 2021 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, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "deccjsunit/index" -import missionManager from "@ohos.application.missionManager" -import AbilityConstant from '@ohos.application.AbilityConstant' - - -export default function missionManagerTest(abilityContext) { - describe('missionManagerTest', function () { - /* - * @tc.number SUB_AA_OpenHarmony_AbilityStart_6200 - * @tc.name Verify the enumeration values abilityContext.config.language - * @tc.desc Function test - * @tc.level 0 - */ - it("SUB_AA_OpenHarmony_EnvChange_0100", 0, async function (done) { - console.info("------------------logMessage SUB_AA_OpenHarmony_EnvChange_0100-------------------"); - console.info("SUB_AA_OpenHarmony_EnvChange_0100 abilityContext.config.language:" + abilityContext.config.language); - expect(abilityContext.config.language=="zh-Hans").assertTrue(); - done(); - }); - /* - * @tc.number SUB_AA_OpenHarmony_AbilityStart_6200 - * @tc.name Call direction to get the direction - * @tc.desc Function test - * @tc.level 0 - */ - it("SUB_AA_OpenHarmony_EnvChange_0200", 0, async function (done) { - console.info("------------------logMessage SUB_AA_OpenHarmony_EnvChange_0200-------------------"); - console.info("SUB_AA_OpenHarmony_EnvChange_0200 abilityContext.config.direction:" + abilityContext.config.direction); - expect(abilityContext.config.direction==0).assertTrue(); - done(); - }); - /* - * @tc.number SUB_AA_OpenHarmony_AbilityStart_6200 - * @tc.name Call direction to get the screenDensity - * @tc.desc Function test - * @tc.level 0 - */ - it("SUB_AA_OpenHarmony_EnvChange_0300", 0, async function (done) { - console.info("------------------logMessage SUB_AA_OpenHarmony_EnvChange_0300-------------------"); - console.info("SUB_AA_OpenHarmony_EnvChange_0300 abilityContext.config.screenDensity:" + abilityContext.config.screenDensity); - expect(abilityContext.config.screenDensity==160).assertTrue(); - done(); - }); - /* - * @tc.number SUB_AA_OpenHarmony_EnvChange_0400 - * @tc.name Call direction to get the displayId - * @tc.desc Function test - * @tc.level 0 - */ - it("SUB_AA_OpenHarmony_EnvChange_0400", 0, async function (done) { - console.info("------------------logMessage SUB_AA_OpenHarmony_EnvChange_0400-------------------"); - console.info("SUB_AA_OpenHarmony_EnvChange_0400 abilityContext.config.displayId:" + abilityContext.config.displayId); - expect(abilityContext.config.displayId==0).assertTrue(); - done(); - }); - /* - * @tc.number SUB_AA_OpenHarmony_AbilityStart_6200 - * @tc.name Verify the enumeration values LaunchReason. CONTINUATION - * @tc.desc Function test - * @tc.level 0 - */ - it("SUB_AA_OpenHarmony_AbilityStart_6200", 0, async function (done) { - console.info("------------------logMessage SUB_AA_OpenHarmony_AbilityStart_6300-------------------"); - console.info("SUB_AA_OpenHarmony_AbilityStart_6200 LaunchReason.CONTINUATION: " + AbilityConstant.LaunchReason.CONTINUATION); - expect(AbilityConstant.LaunchReason.CONTINUATION==3).assertTrue(); - done(); - }); - /* - * @tc.number SUB_AA_OpenHarmony_AbilityStart_6300 - * @tc.name Verify the enumeration value launchreason.start UNKNOWN - * @tc.desc Function test - * @tc.level 0 - */ - it("SUB_AA_OpenHarmony_AbilityStart_6300", 0, async function (done) { - console.info("------------------logMessage SUB_AA_OpenHarmony_AbilityStart_6300-------------------"); - console.info("SUB_AA_OpenHarmony_AbilityStart_6300 LaunchReason.UNKNOWN: " + AbilityConstant.LaunchReason.UNKNOWN); - expect(AbilityConstant.LaunchReason.UNKNOWN==0).assertTrue(); - done(); - }); - /* - * @tc.number SUB_AA_OpenHarmony_AbilityStart_6400 - * @tc.name Verify the enumeration value launchreason.START_ABILITY - * @tc.desc Function test - * @tc.level 0 - */ - it("SUB_AA_OpenHarmony_AbilityStart_6400", 0, async function (done) { - console.info("------------------logMessage SUB_AA_OpenHarmony_AbilityStart_6400-------------------"); - console.info("SUB_AA_OpenHarmony_AbilityStart_6400 LaunchReason.START_ABILITY: " + AbilityConstant.LaunchReason.START_ABILITY); - expect(AbilityConstant.LaunchReason.START_ABILITY==1).assertTrue(); - done(); - }); - /* - * @tc.number SUB_AA_OpenHarmony_AbilityStart_6500 - * @tc.name Verify the enumeration values LaunchReason. CALL - * @tc.desc Function test - * @tc.level 0 - */ - it("SUB_AA_OpenHarmony_AbilityStart_6500", 0, async function (done) { - console.info("------------------logMessage SUB_AA_OpenHarmony_AbilityStart_6500-------------------"); - console.info("SUB_AA_OpenHarmony_AbilityStart_6500 LaunchReason.CALL: " + AbilityConstant.LaunchReason.CALL); - expect(AbilityConstant.LaunchReason.CALL==2).assertTrue(); - done(); - }); - /* - * @tc.number SUB_AA_OpenHarmony_AbilityStart_6600 - * @tc.name Verify the enumeration values LastExitReason.UNKNOWN - * @tc.desc Function test - * @tc.level 0 - */ - it("SUB_AA_OpenHarmony_AbilityStart_6600", 0, async function (done) { - console.info("------------------logMessage SUB_AA_OpenHarmony_AbilityStart_6600-------------------"); - console.info("SUB_AA_OpenHarmony_AbilityStart_6600 LastExitReason.UNKNOWN: " + AbilityConstant.LastExitReason.UNKNOWN); - expect(AbilityConstant.LastExitReason.UNKNOWN==0).assertTrue(); - done(); - }); - /* - * @tc.number SUB_AA_OpenHarmony_AbilityStart_6700 - * @tc.name Verify the enumeration values LastExitReason.ABILITY_NOT_RESPONDING - * @tc.desc Function test - * @tc.level 0 - */ - it("SUB_AA_OpenHarmony_AbilityStart_6700", 0, async function (done) { - console.info("------------------logMessage SUB_AA_OpenHarmony_AbilityStart_6700-------------------"); - console.info("SUB_AA_OpenHarmony_AbilityStart_6700 LastExitReason.ABILITY_NOT_RESPONDING: " + AbilityConstant.LastExitReason.ABILITY_NOT_RESPONDING); - expect(AbilityConstant.LastExitReason.ABILITY_NOT_RESPONDING==1).assertTrue(); - done(); - }); - /* - * @tc.number SUB_AA_OpenHarmony_AbilityStart_6700 - * @tc.name Verify the enumeration values LastExitReason.NORMAL - * @tc.desc Function test - * @tc.level 0 - */ - it("SUB_AA_OpenHarmony_AbilityStart_6800", 0, async function (done) { - console.info("------------------logMessage SUB_AA_OpenHarmony_AbilityStart_6800-------------------"); - console.info("SUB_AA_OpenHarmony_AbilityStart_6800 LastExitReason.NORMAL: " + AbilityConstant.LastExitReason.NORMAL); - expect(AbilityConstant.LastExitReason.NORMAL==2).assertTrue(); - done(); - }); - }) -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/stage/stageenvchangetest/entry/src/main/resources/base/element/string.json b/aafwk/aafwk_standard/stage/stageenvchangetest/entry/src/main/resources/base/element/string.json deleted file mode 100644 index 8df972c7b..000000000 --- a/aafwk/aafwk_standard/stage/stageenvchangetest/entry/src/main/resources/base/element/string.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "string": [ - { - "name": "entry_MainAbility", - "value": "entry_MainAbility" - }, - { - "name": "description_mainability", - "value": "eTS_Empty Ability" - } - ] -} \ No newline at end of file diff --git a/aafwk/aafwk_standard/stage/stageenvchangetest/entry/src/main/resources/base/media/icon.png b/aafwk/aafwk_standard/stage/stageenvchangetest/entry/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 zrdpa{2QLqPJ4Y{j7=Mrl{BaxrkdY69+c~(w{Fv-v&aR%aEI&JYSeRTLWm!zbv;?)_ ziZB;fwGbbeL5Q}YLx`J$lp~A09KK8t_z}PZ=4ZzgdeKtgoc+o5EvN9A1K1_<>M?MBqb#!ASf&# zEX?<)!RH(7>1P+j=jqG(58}TVN-$psA6K}atCuI!KTJD&FMmH-78ZejBm)0qc{ESp z|LuG1{QnBUJRg_E=h1#XMWt2%fcoN@l7eAS!Es?Q+;XsRNPhiiE=@AqlLkJzF`O18 zbsbSmKN=aaq8k3NFYZfDWpKmM!coBU0(XnL8R{4=i|wi{!uWYM2je{U{B*K2PVdu&=E zTq*-XsEsJ$u5H4g6DIm2Y!DN`>^v|AqlwuCD;w45K0@eqauiqWf7l&o)+YLHm~|L~ z7$0v5mkobriU!H<@mVJHLlmQqzQ3d6Rh_-|%Yy2li*tHO>_vcnuZ7OR_xkAIuIU&x z-|8Y0wj|6|a6_I(v91y%k_kNw6pnkNdxjqG8!%Vz_d%c_!X+6-;1`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bjh%c>R#@=8nM&Md>_a+zVulsl;){flFekV1t9ob z+SqfV_Pv3$2f)bQ8%Ul2>fdYR^1zs0BQF~olsOj5AodC&Q_7SMFzsz2 z9newxE&jodk~tNHwl%LBMMDbrk=(^b diff --git a/aafwk/aafwk_standard/want/actsgetwantalltest/Test.json b/aafwk/aafwk_standard/want/actsgetwantalltest/Test.json index 663d15bb3..ff1ff4ee7 100644 --- a/aafwk/aafwk_standard/want/actsgetwantalltest/Test.json +++ b/aafwk/aafwk_standard/want/actsgetwantalltest/Test.json @@ -2,9 +2,9 @@ "description": "Configuration for hjunit demo Tests", "driver": { "type": "JSUnitTest", - "test-timeout": "60000", + "test-timeout": "600000", "package": "com.example.actsgetwantalltest", - "shell-timeout": "60000" + "shell-timeout": "600000" }, "kits": [ { diff --git a/aafwk/aafwk_standard/want/actsgetwantalltest/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/want/actsgetwantalltest/entry/src/main/js/default/pages/index/index.js index 2d999e3ce..933aff059 100644 --- a/aafwk/aafwk_standard/want/actsgetwantalltest/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/want/actsgetwantalltest/entry/src/main/js/default/pages/index/index.js @@ -12,18 +12,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import file from '@system.file' -import app from '@system.app' -import device from '@system.device' -import router from '@system.router' + import {Core, ExpectExtend} from 'deccjsunit/index' const injectRef = Object.getPrototypeOf(global) || global injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') -var once = true +let once = true export default { data: { - title: "" + title: '' }, onInit() { this.title = this.$t('strings.world'); @@ -34,7 +31,7 @@ export default { console.info('onShow finish') const core = Core.getInstance() const expectExtend = new ExpectExtend({ - 'id': 'extend' + id: 'extend' }) core.addService('expect', expectExtend) core.init() @@ -47,6 +44,7 @@ export default { } }, onReady() { + console.info('onReady'); }, } diff --git a/aafwk/aafwk_standard/want/actsgetwantalltest/entry/src/main/js/test/ActsGetWantAllTest.js b/aafwk/aafwk_standard/want/actsgetwantalltest/entry/src/main/js/test/ActsGetWantAllTest.js index 6a2ca6782..22364ce4a 100755 --- a/aafwk/aafwk_standard/want/actsgetwantalltest/entry/src/main/js/test/ActsGetWantAllTest.js +++ b/aafwk/aafwk_standard/want/actsgetwantalltest/entry/src/main/js/test/ActsGetWantAllTest.js @@ -22,6 +22,8 @@ describe('ActsGetWantTest', function () { done(); }) + var TIMEOUT_NUMBER = 2500; + // @tc.number: ACTS_GetWant_0100 // @tc.name: getWant : get want in current ability // @tc.desc:Start the ability through startabilityforresult, @@ -45,11 +47,6 @@ describe('ActsGetWantTest', function () { } }, (err, data) => { - if (err.code != 0) { - console.info('error: ' + JSON.stringify(err)); - done(); - return; - } console.info('====> ACTS_StartAbilityForResult_0100 start ability=====>' + JSON.stringify(data)) expect(data.want.deviceId).assertEqual(""); expect(data.want.bundleName).assertEqual("com.example.actsgetwantalltesthap"); @@ -67,7 +64,9 @@ describe('ActsGetWantTest', function () { expect(data.want.parameters.mykey5[0]).assertEqual("str"); expect(data.want.parameters.mykey5[1]).assertEqual("STR"); expect(data.want.parameters.mykey5[2]).assertEqual("helloopenharmony"); - done(); + setTimeout(()=>{ + done(); + }, TIMEOUT_NUMBER); }) }) @@ -99,11 +98,6 @@ describe('ActsGetWantTest', function () { }, }, (err, data) => { - if (err.code != 0) { - console.info('error: ' + JSON.stringify(err)); - done(); - return; - } console.info('====> ACTS_StartAbilityForResult_0400 start ability=====>' + JSON.stringify(data)) expect(data.want.deviceId).assertEqual(""); expect(data.want.bundleName).assertEqual("com.example.actsgetwantalltesthap"); @@ -127,7 +121,9 @@ describe('ActsGetWantTest', function () { expect(data.want.parameters.mykey5[1]).assertEqual("!@#$%"); expect(data.want.parameters.mykey5[2]).assertEqual("helloopenharmony"); console.info('====> before done=====>') - done(); + setTimeout(()=>{ + done(); + }, TIMEOUT_NUMBER); }) }) @@ -159,11 +155,6 @@ describe('ActsGetWantTest', function () { }, }, (err, data) => { - if (err.code != 0) { - console.info('error: ' + JSON.stringify(err)); - done(); - return; - } console.info('====> ACTS_StartAbilityForResult_0500 start ability=====>' + JSON.stringify(data)) expect(data.want.deviceId).assertEqual(""); expect(data.want.bundleName).assertEqual("com.example.actsgetwantalltesthap"); @@ -186,7 +177,9 @@ describe('ActsGetWantTest', function () { expect(data.want.parameters.mykey5[1]).assertEqual("STR"); expect(data.want.parameters.mykey5[2]).assertEqual("helloopenharmonyhelloopenharmonyhelloopenharmony"); console.info('====> before done=====>') - done(); + setTimeout(()=>{ + done(); + }, TIMEOUT_NUMBER); }) }) // @tc.number: ACTS_GetWant_0600 @@ -217,11 +210,6 @@ describe('ActsGetWantTest', function () { }, }, (err, data) => { - if (err.code != 0) { - console.info('error: ' + JSON.stringify(err)); - done(); - return; - } console.info('====> ACTS_StartAbilityForResult_0600 start ability=====>' + JSON.stringify(data)) expect(data.want.deviceId).assertEqual(""); expect(data.want.bundleName).assertEqual("com.example.actsgetwantalltesthap"); @@ -244,7 +232,9 @@ describe('ActsGetWantTest', function () { expect(data.want.parameters.mykey5[1]).assertEqual("STR"); expect(data.want.parameters.mykey5[2]).assertEqual("helloopenharmonyhelloopenharmonyhelloopenharmony"); console.info('====> before done=====>') - done(); + setTimeout(()=>{ + done(); + }, TIMEOUT_NUMBER); }) }) // @tc.number: ACTS_GetWant_0700 @@ -275,11 +265,6 @@ describe('ActsGetWantTest', function () { }, }, (err, data) => { - if (err.code != 0) { - console.info('error: ' + JSON.stringify(err)); - done(); - return; - } console.info('====> ACTS_StartAbilityForResult_0700 start ability=====>' + JSON.stringify(data)) expect(data.want.deviceId).assertEqual(""); expect(data.want.bundleName).assertEqual("com.example.actsgetwantalltesthap"); @@ -302,7 +287,9 @@ describe('ActsGetWantTest', function () { expect(data.want.parameters.mykey5[1]).assertEqual("STR"); expect(data.want.parameters.mykey5[2]).assertEqual("helloopenharmonyhelloopenharmonyhelloopenharmony"); console.info('====> before done=====>') - done(); + setTimeout(()=>{ + done(); + }, TIMEOUT_NUMBER); }) }) // @tc.number: ACTS_GetWant_0800 @@ -332,11 +319,6 @@ describe('ActsGetWantTest', function () { }, }, (err, data) => { - if (err.code != 0) { - console.info('error: ' + JSON.stringify(err)); - done(); - return; - } console.info('====> ACTS_StartAbilityForResult_0800 start ability=====>' + JSON.stringify(data)) expect(data.want.deviceId).assertEqual(""); expect(data.want.bundleName).assertEqual("com.example.actsgetwantalltesthap"); @@ -358,7 +340,9 @@ describe('ActsGetWantTest', function () { expect(data.want.parameters.mykey5[1]).assertEqual("STR"); expect(data.want.parameters.mykey5[2]).assertEqual("helloopenharmonyhelloopenharmonyhelloopenharmony"); console.info('====> before done=====>') - done(); + setTimeout(()=>{ + done(); + }, TIMEOUT_NUMBER); }) }) // @tc.number: ACTS_GetWant_0900 @@ -389,11 +373,6 @@ describe('ActsGetWantTest', function () { }, }, (err, data) => { - if (err.code != 0) { - console.info('error: ' + JSON.stringify(err)); - done(); - return; - } console.info('====> ACTS_StartAbilityForResult_0900 start ability=====>' + JSON.stringify(data)) expect(data.want.deviceId).assertEqual(""); expect(data.want.bundleName).assertEqual("com.example.actsgetwantalltesthap"); @@ -416,7 +395,9 @@ describe('ActsGetWantTest', function () { expect(data.want.parameters.mykey5[1]).assertEqual("STR"); expect(data.want.parameters.mykey5[2]).assertEqual("helloopenharmonyhelloopenharmonyhelloopenharmony"); console.info('====> before done=====>') - done(); + setTimeout(()=>{ + done(); + }, TIMEOUT_NUMBER); }) }) // @tc.number: ACTS_GetWant_1000 @@ -434,7 +415,6 @@ describe('ActsGetWantTest', function () { entities: ["entity1"], type: "MIMETYPE", uri: "key={true,true,false}", - flags: wantConstant.Flags.FLAG_AUTH_PERSISTABLE_URI_PERMISSION , parameters: { mykey0: 0.1, @@ -447,11 +427,6 @@ describe('ActsGetWantTest', function () { }, }, (err, data) => { - if (err.code != 0) { - console.info('error: ' + JSON.stringify(err)); - done(); - return; - } console.info('====> ACTS_StartAbilityForResult_1000 start ability=====>' + JSON.stringify(data)) expect(data.want.deviceId).assertEqual(""); expect(data.want.bundleName).assertEqual("com.example.actsgetwantalltesthap"); @@ -460,7 +435,6 @@ describe('ActsGetWantTest', function () { expect(data.want.entities[0]).assertEqual("entity1"); expect(data.want.type).assertEqual("MIMETYPE"); expect(data.want.uri).assertEqual("key={true,true,false}"); - expect(data.want.flags).assertEqual(wantConstant.Flags.FLAG_AUTH_PERSISTABLE_URI_PERMISSION ); expect(data.want.parameters.mykey0).assertEqual(0.1); expect(data.want.parameters.mykey1[0]).assertEqual(0.1); expect(data.want.parameters.mykey1[1]).assertEqual(0.2); @@ -474,7 +448,9 @@ describe('ActsGetWantTest', function () { expect(data.want.parameters.mykey5[1]).assertEqual("STR"); expect(data.want.parameters.mykey5[2]).assertEqual("helloopenharmonyhelloopenharmonyhelloopenharmony"); console.info('====> before done=====>') - done(); + setTimeout(()=>{ + done(); + }, TIMEOUT_NUMBER); }) }) // @tc.number: ACTS_GetWant_1100 @@ -492,7 +468,6 @@ describe('ActsGetWantTest', function () { entities: ["entity1"], type: "MIMETYPE", uri: "key={true,true,false}", - flags: wantConstant.Flags.FLAG_AUTH_PREFIX_URI_PERMISSION , parameters: { mykey0: 0.1, @@ -505,11 +480,6 @@ describe('ActsGetWantTest', function () { }, }, (err, data) => { - if (err.code != 0) { - console.info('error: ' + JSON.stringify(err)); - done(); - return; - } console.info('====> ACTS_StartAbilityForResult_1100 start ability=====>' + JSON.stringify(data)) expect(data.want.deviceId).assertEqual(""); expect(data.want.bundleName).assertEqual("com.example.actsgetwantalltesthap"); @@ -518,7 +488,6 @@ describe('ActsGetWantTest', function () { expect(data.want.entities[0]).assertEqual("entity1"); expect(data.want.type).assertEqual("MIMETYPE"); expect(data.want.uri).assertEqual("key={true,true,false}"); - expect(data.want.flags).assertEqual(wantConstant.Flags.FLAG_AUTH_PREFIX_URI_PERMISSION ); expect(data.want.parameters.mykey0).assertEqual(0.1); expect(data.want.parameters.mykey1[0]).assertEqual(0.1); expect(data.want.parameters.mykey1[1]).assertEqual(0.2); @@ -531,8 +500,10 @@ describe('ActsGetWantTest', function () { expect(data.want.parameters.mykey5[0]).assertEqual("str"); expect(data.want.parameters.mykey5[1]).assertEqual("STR"); expect(data.want.parameters.mykey5[2]).assertEqual("helloopenharmonyhelloopenharmonyhelloopenharmony"); - console.info('====> before done=====>') - done(); + console.info('====> before done.=====>') + setTimeout(()=>{ + done(); + }, TIMEOUT_NUMBER); }) }) // @tc.number: ACTS_GetWant_1200 @@ -563,11 +534,6 @@ describe('ActsGetWantTest', function () { }, }, (err, data) => { - if (err.code != 0) { - console.info('error: ' + JSON.stringify(err)); - done(); - return; - } console.info('====> ACTS_StartAbilityForResult_1200 start ability=====>' + JSON.stringify(data)) expect(data.want.deviceId).assertEqual(""); expect(data.want.bundleName).assertEqual("com.example.actsgetwantalltesthap"); @@ -589,8 +555,10 @@ describe('ActsGetWantTest', function () { expect(data.want.parameters.mykey5[0]).assertEqual("str"); expect(data.want.parameters.mykey5[1]).assertEqual("STR"); expect(data.want.parameters.mykey5[2]).assertEqual("helloopenharmonyhelloopenharmonyhelloopenharmony"); - console.info('====> before done=====>') - done(); + console.info('====> setTimeout before done.=====>') + setTimeout(()=>{ + done(); + }, TIMEOUT_NUMBER); }) }) // @tc.number: ACTS_GetWant_1300 @@ -621,11 +589,6 @@ describe('ActsGetWantTest', function () { }, }, (err, data) => { - if (err.code != 0) { - console.info('error: ' + JSON.stringify(err)); - done(); - return; - } console.info('====> ACTS_StartAbilityForResult_1300 start ability=====>' + JSON.stringify(data)) expect(data.want.deviceId).assertEqual(""); expect(data.want.bundleName).assertEqual("com.example.actsgetwantalltesthap"); @@ -647,8 +610,10 @@ describe('ActsGetWantTest', function () { expect(data.want.parameters.mykey5[0]).assertEqual("str"); expect(data.want.parameters.mykey5[1]).assertEqual("STR"); expect(data.want.parameters.mykey5[2]).assertEqual("helloopenharmonyhelloopenharmonyhelloopenharmony"); - console.info('====> before done=====>') - done(); + console.info('====> setTimeout before done.=====>') + setTimeout(()=>{ + done(); + }, TIMEOUT_NUMBER); }) }) // @tc.number: ACTS_GetWant_1400 @@ -666,7 +631,6 @@ describe('ActsGetWantTest', function () { entities: ["entity1"], type: "MIMETYPE", uri: "key={true,true,false}", - flags: wantConstant.Flags.FLAG_ABILITY_CONTINUATION_REVERSIBLE, parameters: { mykey0: 0.1, @@ -679,11 +643,6 @@ describe('ActsGetWantTest', function () { }, }, (err, data) => { - if (err.code != 0) { - console.info('error: ' + JSON.stringify(err)); - done(); - return; - } console.info('====> ACTS_StartAbilityForResult_1400 start ability=====>' + JSON.stringify(data)) expect(data.want.deviceId).assertEqual(""); expect(data.want.bundleName).assertEqual("com.example.actsgetwantalltesthap"); @@ -692,7 +651,6 @@ describe('ActsGetWantTest', function () { expect(data.want.entities[0]).assertEqual("entity1"); expect(data.want.type).assertEqual("MIMETYPE"); expect(data.want.uri).assertEqual("key={true,true,false}"); - expect(data.want.flags).assertEqual(wantConstant.Flags.FLAG_ABILITY_CONTINUATION_REVERSIBLE); expect(data.want.parameters.mykey0).assertEqual(0.1); expect(data.want.parameters.mykey1[0]).assertEqual(0.1); expect(data.want.parameters.mykey1[1]).assertEqual(0.2); @@ -705,68 +663,13 @@ describe('ActsGetWantTest', function () { expect(data.want.parameters.mykey5[0]).assertEqual("str"); expect(data.want.parameters.mykey5[1]).assertEqual("STR"); expect(data.want.parameters.mykey5[2]).assertEqual("helloopenharmonyhelloopenharmonyhelloopenharmony"); - console.info('====> before done=====>') - done(); - }) - }) - // @tc.number: ACTS_GetWant_1500 - // @tc.name: getWant : get want in current ability - // @tc.desc:Start the ability through startabilityforresult, - // and then use terminateselfwithresult to return the data - it('ACTS_GetWant_1500', 0, async function (done) { - featureAbility.startAbilityForResult({ - want: - { - deviceId: "", - bundleName: "com.example.actsgetwantalltesthap", - abilityName: "com.example.actsgetwantalltesthap.MainAbility", - action: "action1", - entities: ["entity1"], - type: "MIMETYPE", - uri: "key={true,true,false}", - flags: wantConstant.Flags.FLAG_INSTALL_ON_DEMAND, - parameters: - { - mykey0: 0.1, - mykey1: [0.1, 0.2, 0.0000000003], - mykey2: "[a, b, c]", - mykey3: "str", - mykey4: [false, true, false], - mykey5: ["str", "STR", "helloopenharmonyhelloopenharmonyhelloopenharmony"], - }, - }, - }, - (err, data) => { - if (err.code != 0) { - console.info('error: ' + JSON.stringify(err)); + console.info('====> setTimeout before done.=====>') + setTimeout(()=>{ done(); - return; - } - console.info('====> ACTS_StartAbilityForResult_1500 start ability=====>' + JSON.stringify(data)) - expect(data.want.deviceId).assertEqual(""); - expect(data.want.bundleName).assertEqual("com.example.actsgetwantalltesthap"); - expect(data.want.abilityName).assertEqual("com.example.actsgetwantalltesthap.MainAbility"); - expect(data.want.action).assertEqual("action1"); - expect(data.want.entities[0]).assertEqual("entity1"); - expect(data.want.type).assertEqual("MIMETYPE"); - expect(data.want.uri).assertEqual("key={true,true,false}"); - expect(data.want.flags).assertEqual(wantConstant.Flags.FLAG_INSTALL_ON_DEMAND); - expect(data.want.parameters.mykey0).assertEqual(0.1); - expect(data.want.parameters.mykey1[0]).assertEqual(0.1); - expect(data.want.parameters.mykey1[1]).assertEqual(0.2); - expect(data.want.parameters.mykey1[2]).assertEqual(0.0000000003); - expect(data.want.parameters.mykey2).assertEqual("[a, b, c]"); - expect(data.want.parameters.mykey3).assertEqual("str"); - expect(data.want.parameters.mykey4[0]).assertEqual(false); - expect(data.want.parameters.mykey4[1]).assertEqual(true); - expect(data.want.parameters.mykey4[2]).assertEqual(false); - expect(data.want.parameters.mykey5[0]).assertEqual("str"); - expect(data.want.parameters.mykey5[1]).assertEqual("STR"); - expect(data.want.parameters.mykey5[2]).assertEqual("helloopenharmonyhelloopenharmonyhelloopenharmony"); - console.info('====> before done=====>') - done(); + }, TIMEOUT_NUMBER); }) }) + // @tc.number: ACTS_GetWant_1600 // @tc.name: getWant : get want in current ability // @tc.desc:Start the ability through startabilityforresult, @@ -795,11 +698,6 @@ describe('ActsGetWantTest', function () { }, }, (err, data) => { - if (err.code != 0) { - console.info('error: ' + JSON.stringify(err)); - done(); - return; - } console.info('====> ACTS_StartAbilityForResult_1600 start ability=====>' + JSON.stringify(data)) expect(data.want.deviceId).assertEqual(""); expect(data.want.bundleName).assertEqual("com.example.actsgetwantalltesthap"); @@ -821,8 +719,10 @@ describe('ActsGetWantTest', function () { expect(data.want.parameters.mykey5[0]).assertEqual("str"); expect(data.want.parameters.mykey5[1]).assertEqual("STR"); expect(data.want.parameters.mykey5[2]).assertEqual("helloopenharmonyhelloopenharmonyhelloopenharmony"); - console.info('====> before done=====>') - done(); + console.info('====> setTimeout before done.=====>') + setTimeout(()=>{ + done(); + }, TIMEOUT_NUMBER); }) }) // @tc.number: ACTS_GetWant_1700 @@ -853,11 +753,6 @@ describe('ActsGetWantTest', function () { }, }, (err, data) => { - if (err.code != 0) { - console.info('error: ' + JSON.stringify(err)); - done(); - return; - } console.info('====> ACTS_StartAbilityForResult_1700 start ability=====>' + JSON.stringify(data)) expect(data.want.deviceId).assertEqual(""); expect(data.want.bundleName).assertEqual("com.example.actsgetwantalltesthap"); @@ -879,8 +774,10 @@ describe('ActsGetWantTest', function () { expect(data.want.parameters.mykey5[0]).assertEqual("str"); expect(data.want.parameters.mykey5[1]).assertEqual("STR"); expect(data.want.parameters.mykey5[2]).assertEqual("helloopenharmonyhelloopenharmonyhelloopenharmony"); - console.info('====> before done=====>') - done(); + console.info('====> setTimeout before done.=====>') + setTimeout(()=>{ + done(); + }, TIMEOUT_NUMBER); }) }) // @tc.number: ACTS_GetWant_1800 @@ -911,11 +808,6 @@ describe('ActsGetWantTest', function () { }, }, (err, data) => { - if (err.code != 0) { - console.info('error: ' + JSON.stringify(err)); - done(); - return; - } console.info('====> ACTS_StartAbilityForResult_1800 start ability=====>' + JSON.stringify(data)) expect(data.want.deviceId).assertEqual(""); expect(data.want.bundleName).assertEqual("com.example.actsgetwantalltesthap"); @@ -937,66 +829,10 @@ describe('ActsGetWantTest', function () { expect(data.want.parameters.mykey5[0]).assertEqual("str"); expect(data.want.parameters.mykey5[1]).assertEqual("STR"); expect(data.want.parameters.mykey5[2]).assertEqual("helloopenharmonyhelloopenharmonyhelloopenharmony"); - console.info('====> before done=====>') - done(); - }) - }) - // @tc.number: ACTS_GetWant_1900 - // @tc.name: getWant : get want in current ability - // @tc.desc:Start the ability through startabilityforresult, - // and then use terminateselfwithresult to return the data - it('ACTS_GetWant_1900', 0, async function (done) { - featureAbility.startAbilityForResult({ - want: - { - deviceId: "", - bundleName: "com.example.actsgetwantalltesthap", - abilityName: "com.example.actsgetwantalltesthap.MainAbility", - action: "action1", - entities: ["entity1"], - type: "MIMETYPE", - uri: "key={true,true,false}", - flags: wantConstant.Flags.FLAG_ABILITY_MISSION_TOP , - parameters: - { - mykey0: 0.1, - mykey1: [0.1, 0.2, 0.0000000003], - mykey2: "[a, b, c]", - mykey3: "str", - mykey4: [false, true, false], - mykey5: ["str", "STR", "helloopenharmonyhelloopenharmonyhelloopenharmony"], - }, - }, - }, - (err, data) => { - if (err.code != 0) { - console.info('error: ' + JSON.stringify(err)); + console.info('====> setTimeout before done.=====>') + setTimeout(()=>{ done(); - return; - } - console.info('====> ACTS_StartAbilityForResult_1900 start ability=====>' + JSON.stringify(data)) - expect(data.want.deviceId).assertEqual(""); - expect(data.want.bundleName).assertEqual("com.example.actsgetwantalltesthap"); - expect(data.want.abilityName).assertEqual("com.example.actsgetwantalltesthap.MainAbility"); - expect(data.want.action).assertEqual("action1"); - expect(data.want.entities[0]).assertEqual("entity1"); - expect(data.want.type).assertEqual("MIMETYPE"); - expect(data.want.uri).assertEqual("key={true,true,false}"); - expect(data.want.flags).assertEqual(wantConstant.Flags.FLAG_ABILITY_MISSION_TOP ); - expect(data.want.parameters.mykey0).assertEqual(0.1); - expect(data.want.parameters.mykey1[0]).assertEqual(0.1); - expect(data.want.parameters.mykey1[1]).assertEqual(0.2); - expect(data.want.parameters.mykey1[2]).assertEqual(0.0000000003); - expect(data.want.parameters.mykey2).assertEqual("[a, b, c]"); - expect(data.want.parameters.mykey3).assertEqual("str"); - expect(data.want.parameters.mykey4[0]).assertEqual(false); - expect(data.want.parameters.mykey4[1]).assertEqual(true); - expect(data.want.parameters.mykey4[2]).assertEqual(false); - expect(data.want.parameters.mykey5[0]).assertEqual("str"); - expect(data.want.parameters.mykey5[1]).assertEqual("STR"); - expect(data.want.parameters.mykey5[2]).assertEqual("helloopenharmonyhelloopenharmonyhelloopenharmony"); - console.info('====> before done=====>') - done(); + }, TIMEOUT_NUMBER); }) }) @@ -1032,13 +868,11 @@ describe('ActsGetWantTest', function () { }, }, (err, data) => { - if (err.code != 0) { - console.info('error: ' + JSON.stringify(err)); - done(); - return; - } checkOnAbilityResult(data); - done(); + console.info('====> setTimeout before done.=====>') + setTimeout(()=>{ + done(); + }, TIMEOUT_NUMBER); }) }catch(error){ console.log("ACTS_GetWant_2000 : error = " + error); diff --git a/aafwk/aafwk_standard/want/sceneProject/actsgetwantalltesthap/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/want/sceneProject/actsgetwantalltesthap/src/main/js/default/pages/index/index.js index f55854db6..510a67390 100755 --- a/aafwk/aafwk_standard/want/sceneProject/actsgetwantalltesthap/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/want/sceneProject/actsgetwantalltesthap/src/main/js/default/pages/index/index.js @@ -14,32 +14,30 @@ */ import featureAbility from '@ohos.ability.featureAbility' -var globalWant; export default { data: { - title: "" + title: '' }, onInit() { this.title = this.$t('strings.world'); }, - onShow() { console.info('============Start Ability onShow finish'); featureAbility.getWant( (err, data) => { - globalWant = data; - console.debug("==========data=" + JSON.stringify(globalWant)); - if (globalWant.parameters.mykey5[1] == 'test123'){ + data = data; + console.debug("==========data=" + JSON.stringify(data)); + if (data.parameters.mykey5[1] == 'test123'){ featureAbility.getWant().then((data) =>{ - globalWant = data + data = data setTimeout(function(){ console.debug("==========data2 bundleName is===========" - + JSON.stringify(globalWant.bundleName)); - var promise = featureAbility.terminateSelfWithResult( + + JSON.stringify(data.bundleName)); + featureAbility.terminateSelfWithResult( { resultCode: 1, - want: globalWant + want: data } ); },1000); @@ -47,11 +45,11 @@ export default { }else{ setTimeout(function(){ console.debug("==========data1 bundleName is===========" - + JSON.stringify(globalWant.bundleName)); - var promise = featureAbility.terminateSelfWithResult( + + JSON.stringify(data.bundleName)); + featureAbility.terminateSelfWithResult( { resultCode: 1, - want: globalWant + want: data } ); },1000); @@ -60,5 +58,6 @@ export default { ) }, onReady() { + console.info('onReady'); }, } -- GitLab