diff --git a/aafwk/aafwk_standard/BUILD.gn b/aafwk/aafwk_standard/BUILD.gn
index 34e0d38bc9c43489ddcba25b5fdd9dd1866639cc..95da9f254a84dde300ef299d3fbe53ae7e50d168 100755
--- a/aafwk/aafwk_standard/BUILD.gn
+++ b/aafwk/aafwk_standard/BUILD.gn
@@ -25,6 +25,7 @@ group("aafwk_standard") {
"amsdatauriutils:ActsAmsDataUriUtilsTest",
"amsgetabilityprocessinfo:amsgetabilityprocessinfo",
"context:context",
+ "fa:fa",
"featureability:featureability",
"formmanager:formmanager",
"want:want",
diff --git a/aafwk/aafwk_standard/amsdatauriutils/entry/src/main/js/test/DataUriUtilsJsSt.test.js b/aafwk/aafwk_standard/amsdatauriutils/entry/src/main/js/test/DataUriUtilsJsSt.test.js
index 086d084961002d3abdd2a35e246a62006253914c..a3edd3e47aaa3fad9b934009ab8bb5f2096bc349 100644
--- a/aafwk/aafwk_standard/amsdatauriutils/entry/src/main/js/test/DataUriUtilsJsSt.test.js
+++ b/aafwk/aafwk_standard/amsdatauriutils/entry/src/main/js/test/DataUriUtilsJsSt.test.js
@@ -24,7 +24,7 @@ describe('ActsDataUriUtilsTest', function () {
*/
it('ACTS_GetIdSync_0100', 0, function (done) {
console.log('dataUriUtils getIdSync start1');
- var result = dataUriUtils.getIdSync("com.ix.dataUriUtils/1221");
+ var result = dataUriUtils.getId("com.ix.dataUriUtils/1221");
console.log('dataUriUtils getIdSync URI : ' + result);
expect(typeof(result)).assertEqual("number");
@@ -40,7 +40,7 @@ describe('ActsDataUriUtilsTest', function () {
*/
it('ACTS_GetIdSync_0200', 0, function (done) {
console.log('dataUriUtils getIdSync start2 ');
- var result = dataUriUtils.getIdSync("com.ix.dataUriUtils1221");
+ var result = dataUriUtils.getId("com.ix.dataUriUtils1221");
console.log('dataUriUtils getIdSync URI : ' + result);
expect(typeof(result)).assertEqual("number");
@@ -57,7 +57,7 @@ describe('ActsDataUriUtilsTest', function () {
*/
it('ACTS_GetIdSync_0300', 0, function (done) {
console.log('dataUriUtils getIdSync start3 ');
- var result = dataUriUtils.getIdSync("com.ix.dataUriUtils/11234567890");
+ var result = dataUriUtils.getId("com.ix.dataUriUtils/11234567890");
console.log('dataUriUtils getIdSync URI : ' + result);
expect(typeof(result)).assertEqual("number");
@@ -74,7 +74,7 @@ describe('ActsDataUriUtilsTest', function () {
*/
it('ACTS_GetIdSync_0400', 0, function (done) {
console.log('dataUriUtils getIdSync start4 ');
- var result = dataUriUtils.getIdSync("com.ix.dataUriUtils");
+ var result = dataUriUtils.getId("com.ix.dataUriUtils");
console.log('dataUriUtils getIdSync URI : ' + result);
expect(typeof(result)).assertEqual("number");
@@ -91,7 +91,7 @@ describe('ActsDataUriUtilsTest', function () {
*/
it('ACTS_GetIdSync_0500', 0, function (done) {
console.log('dataUriUtils getIdSync start5 ');
- var result = dataUriUtils.getIdSync("com.ix.dataUriUtils/-777");
+ var result = dataUriUtils.getId("com.ix.dataUriUtils/-777");
console.log('dataUriUtils getIdSync URI : ' + result);//-777
expect(typeof(result)).assertEqual("number");
@@ -109,7 +109,7 @@ describe('ActsDataUriUtilsTest', function () {
it('ACTS_AttachIdSync_0100',0, function (done) {
console.log('dataUriUtils attachIdSync start1 ');
var idint = 1122;
- var result = dataUriUtils.attachIdSync("com.ix.dataUriUtils",idint);
+ var result = dataUriUtils.attachId("com.ix.dataUriUtils",idint);
console.log('dataUriUtils attachIdSync URI :' + result)
expect(typeof(result)).assertEqual("string");
@@ -127,7 +127,7 @@ describe('ActsDataUriUtilsTest', function () {
it('ACTS_AttachIdSync_0200',0, function (done) {
console.log('dataUriUtils attachIdSync start2 ');
var idint = 0;
- var result = dataUriUtils.attachIdSync("com.ix.dataUriUtils/777",idint);
+ var result = dataUriUtils.attachId("com.ix.dataUriUtils/777",idint);
console.log('dataUriUtils attachIdSync URI :' + result)
expect(typeof(result)).assertEqual("string");
@@ -145,7 +145,7 @@ describe('ActsDataUriUtilsTest', function () {
it('ACTS_AttachIdSync_0300',0, function (done) {
console.log('dataUriUtils attachIdSync start3 ');
var idint = 456789;
- var result = dataUriUtils.attachIdSync("com.ix.dataUriUtils/123",idint);
+ var result = dataUriUtils.attachId("com.ix.dataUriUtils/123",idint);
console.log('dataUriUtils attachIdSync URI :' + result)
expect(typeof(result)).assertEqual("string");
@@ -163,7 +163,7 @@ describe('ActsDataUriUtilsTest', function () {
it('ACTS_AttachIdSync_0400',0, function (done) {
console.log('dataUriUtils attachIdSync start4 ');
var idint = 123456789011;
- var result = dataUriUtils.attachIdSync("com.ix.dataUriUtils",idint);
+ var result = dataUriUtils.attachId("com.ix.dataUriUtils",idint);
console.log('dataUriUtils attachIdSync URI :' + result)
expect(typeof(result)).assertEqual("string");
@@ -181,7 +181,7 @@ describe('ActsDataUriUtilsTest', function () {
it('ACTS_AttachIdSync_0500',0, function (done) {
console.log('dataUriUtils attachIdSync start5 ');
var idint = -1;
- var result = dataUriUtils.attachIdSync("com.ix.dataUriUtils",idint);
+ var result = dataUriUtils.attachId("com.ix.dataUriUtils",idint);
console.log('dataUriUtils attachIdSync URI :' + result)
expect(typeof(result)).assertEqual("string");
@@ -198,7 +198,7 @@ describe('ActsDataUriUtilsTest', function () {
*/
it('ACTS_DeleteIdSync_0100',0, function (done) {
console.log('dataUriUtils deleteIdSync start1 ');
- var result = dataUriUtils.deleteIdSync("com.ix.dataUriUtils");
+ var result = dataUriUtils.deleteId("com.ix.dataUriUtils");
console.log('dataUriUtils deleteIdSync URI : ' + result);
expect(typeof(result)).assertEqual("string");
@@ -215,7 +215,7 @@ describe('ActsDataUriUtilsTest', function () {
*/
it('ACTS_DeleteIdSync_0200',0, function (done) {
console.log('dataUriUtils deleteIdSync start2 ');
- var result = dataUriUtils.deleteIdSync("com.ix.dataUriUtils/1122");
+ var result = dataUriUtils.deleteId("com.ix.dataUriUtils/1122");
console.log('dataUriUtils deleteIdSync URI : ' + result);
expect(typeof(result)).assertEqual("string");
@@ -232,7 +232,7 @@ describe('ActsDataUriUtilsTest', function () {
*/
it('ACTS_DeleteIdSync_0300',0, function (done) {
console.log('dataUriUtils deleteIdSync start3 ');
- var result = dataUriUtils.deleteIdSync("com.ix.dataUriUtils1122");
+ var result = dataUriUtils.deleteId("com.ix.dataUriUtils1122");
console.log('dataUriUtils deleteIdSync URI : ' + result);
expect(typeof(result)).assertEqual("string");
@@ -249,7 +249,7 @@ describe('ActsDataUriUtilsTest', function () {
*/
it('ACTS_DeleteIdSync_0400',0, function (done) {
console.log('dataUriUtils deleteIdSync start4 ');
- var result = dataUriUtils.deleteIdSync("com.ix.dataUriUtils/-1");
+ var result = dataUriUtils.deleteId("com.ix.dataUriUtils/-1");
console.log('dataUriUtils deleteIdSync URI : ' + result);
expect(typeof(result)).assertEqual("string");
@@ -266,7 +266,7 @@ describe('ActsDataUriUtilsTest', function () {
*/
it('ACTS_DeleteIdSync_0500',0, function (done) {
console.log('dataUriUtils deleteIdSync start5 ');
- var result = dataUriUtils.deleteIdSync("com.ix.dataUriUtils/1122/2211");
+ var result = dataUriUtils.deleteId("com.ix.dataUriUtils/1122/2211");
console.log('dataUriUtils deleteIdSync URI : ' + result);
expect(typeof(result)).assertEqual("string");
@@ -284,7 +284,7 @@ describe('ActsDataUriUtilsTest', function () {
it('ACTS_UpdateIdSync_0100',0, function (done) {
console.log('dataUriUtils updateIdSync start1 ');
var idint = 1122;
- var result = dataUriUtils.updateIdSync("com.ix.dataUriUtils",idint);
+ var result = dataUriUtils.updateId("com.ix.dataUriUtils",idint);
console.log('updateIdSync updateIdSync URI : ' + result);
expect(typeof(result)).assertEqual("string");
@@ -302,7 +302,7 @@ describe('ActsDataUriUtilsTest', function () {
it('ACTS_UpdateIdSync_0200',0, function (done) {
console.log('dataUriUtils updateIdSync start2 ');
var idint = 1122;
- var result = dataUriUtils.updateIdSync("com.ix.dataUriUtils/",idint)
+ var result = dataUriUtils.updateId("com.ix.dataUriUtils/",idint)
console.log('updateIdSync updateIdSync URI : ' + result);
expect(typeof(result)).assertEqual("string");
@@ -320,7 +320,7 @@ describe('ActsDataUriUtilsTest', function () {
it('ACTS_UpdateIdSync_0300',0, function (done) {
console.log('dataUriUtils updateIdSync start3 ');
var idint = 3344;
- var result = dataUriUtils.updateIdSync("com.ix.dataUriUtils/-1",idint)
+ var result = dataUriUtils.updateId("com.ix.dataUriUtils/-1",idint)
console.log('updateIdSync updateIdSync URI : ' + result);
expect(typeof(result)).assertEqual("string");
@@ -338,7 +338,7 @@ describe('ActsDataUriUtilsTest', function () {
it('ACTS_UpdateIdSync_0400',0, function (done) {
console.log('dataUriUtils updateIdSync start4 ');
var idint = 5566;
- var result = dataUriUtils.updateIdSync("com.ix.dataUriUtils/123456789011",idint)
+ var result = dataUriUtils.updateId("com.ix.dataUriUtils/123456789011",idint)
console.log('updateIdSync updateIdSync URI : ' + result);
expect(typeof(result)).assertEqual("string");
@@ -360,7 +360,7 @@ describe('ActsDataUriUtilsTest', function () {
expect(typeof(idint)).assertEqual("number");
console.log('dataUriUtils updateIdSync start666 ');
- var result = dataUriUtils.updateIdSync("com.ix.dataUriUtils/1122",idint)
+ var result = dataUriUtils.updateId("com.ix.dataUriUtils/1122",idint)
console.log('updateIdSync updateIdSync URI : ' + result);
expect(typeof(result)).assertEqual("string");
expect(result).assertEqual("com.ix.dataUriUtils/0");
diff --git a/aafwk/aafwk_standard/fa/BUILD.gn b/aafwk/aafwk_standard/fa/BUILD.gn
index daef990a9b2ab2f3c49770000d3b6cc49580220e..3d14825fe73e61e3bfc2377c9cbf8b03dcb7c0c4 100644
--- a/aafwk/aafwk_standard/fa/BUILD.gn
+++ b/aafwk/aafwk_standard/fa/BUILD.gn
@@ -17,20 +17,8 @@ group("fa") {
testonly = true
if (is_standard_system) {
deps = [
- "fa_applicationinfo_test:FaApplicationinfoTest",
- "fa_auxstate_test:FaAuxstateTest",
- "fa_auxsumstate_test:FaAuxsumstateTest",
- "fa_clear_test:FaClearTest",
- "fa_configurationconstant_test:FaConfigurationconstantTest",
- "fa_coverapi_test:FaCoverapiTest",
- "fa_equeryabilitybywant_test:FaEqueryabilitybywantTest",
- "fa_lock_test:FaLockTest",
- "fa_missionmanager_test:FaMissionmanagerTest",
- "fa_movemissiontofront_test:FaMissionmanagerTest",
- "fa_state_test:FaStateTest",
- "fa_sumstate_test:FaSumstateTest",
- "fa_taskmanager_test:FaTaskmanagerTest",
- "fa_taskswiting_test:FaTaskswitingTest",
+ "faconfigurationconstant:ActsConfigurationconstantTest",
+ "facoverapi:ActsCoverapiTest",
]
}
}
diff --git a/aafwk/aafwk_standard/fa/fa_applicationinfo_test/BUILD.gn b/aafwk/aafwk_standard/fa/fa_applicationinfo_test/BUILD.gn
deleted file mode 100755
index 4de31f4de024aed6678bf9a77a32e9604fdeb957..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_applicationinfo_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("FaApplicationinfoTest") {
- hap_profile = "./entry/src/main/config.json"
- deps = [
- ":fa_applicationinfo_test_assets",
- ":fa_applicationinfo_test_resources",
- ]
- certificate_profile = "./signature/openharmony_sx.p7b"
- hap_name = "FaApplicationinfoTest"
-}
-ohos_js_assets("fa_applicationinfo_test_assets") {
- source_dir = "./entry/src/main/js/MainAbility"
-}
-ohos_resources("fa_applicationinfo_test_resources") {
- sources = [ "./entry/src/main/resources" ]
- hap_profile = "./entry/src/main/config.json"
-}
diff --git a/aafwk/aafwk_standard/fa/fa_applicationinfo_test/Test.json b/aafwk/aafwk_standard/fa/fa_applicationinfo_test/Test.json
deleted file mode 100755
index 776b88009d046d24c37fefce8a86504d1b68d5d2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_applicationinfo_test/Test.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "description" : "Configuration for hjunit demo Test",
- "driver": {
- "type" : "JSUnitTest",
- "test-timeout": "180000",
- "package": "com.example.actsabilitydistributetest",
- "shell-timeout": "600000"
- },
- "kits": [
- {
- "test-file-name": [
- "ActsAbilityDistributeTest.hap"
- ],
- "type": "AppInstallKit",
- "cleanup-apps": true
- }
- ]
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_applicationinfo_test/entry/src/main/js/MainAbility/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_applicationinfo_test/entry/src/main/js/MainAbility/pages/second/second.css
deleted file mode 100644
index 8b5cce53e8f61458e5a3005866217e0df1dfa133..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_applicationinfo_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_applicationinfo_test/entry/src/main/js/MainAbility/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_applicationinfo_test/entry/src/main/js/MainAbility/pages/second/second.hml
deleted file mode 100644
index 35006f7a7182a4e208c19a8e2c28ee68d8650fd1..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_applicationinfo_test/entry/src/main/js/MainAbility/pages/second/second.hml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
- {{ $t('strings.page') }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_applicationinfo_test/entry/src/main/js/MainAbility/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_applicationinfo_test/entry/src/main/js/MainAbility/pages/second/second.js
deleted file mode 100644
index 13d00f1ea98b01a81f526095fb9e5845fd069a95..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_applicationinfo_test/entry/src/main/js/MainAbility/pages/second/second.js
+++ /dev/null
@@ -1,27 +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_applicationinfo_test/entry/src/main/js/MainAbility2/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_applicationinfo_test/entry/src/main/js/MainAbility2/pages/index/index.js
deleted file mode 100644
index e25efc776371bb1d0cabf65b59dfef81e9e7fa4a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_applicationinfo_test/entry/src/main/js/MainAbility2/pages/index/index.js
+++ /dev/null
@@ -1,33 +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_applicationinfo_test/entry/src/main/js/MainAbility2/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_applicationinfo_test/entry/src/main/js/MainAbility2/pages/second/second.css
deleted file mode 100644
index 8b5cce53e8f61458e5a3005866217e0df1dfa133..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_applicationinfo_test/entry/src/main/js/MainAbility2/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_applicationinfo_test/entry/src/main/js/MainAbility2/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_applicationinfo_test/entry/src/main/js/MainAbility2/pages/second/second.hml
deleted file mode 100644
index 35006f7a7182a4e208c19a8e2c28ee68d8650fd1..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_applicationinfo_test/entry/src/main/js/MainAbility2/pages/second/second.hml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
- {{ $t('strings.page') }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_applicationinfo_test/entry/src/main/js/MainAbility2/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_applicationinfo_test/entry/src/main/js/MainAbility2/pages/second/second.js
deleted file mode 100644
index 13d00f1ea98b01a81f526095fb9e5845fd069a95..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_applicationinfo_test/entry/src/main/js/MainAbility2/pages/second/second.js
+++ /dev/null
@@ -1,27 +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_applicationinfo_test/entry/src/main/js/test/ApplicationInfoJsunit.test.js b/aafwk/aafwk_standard/fa/fa_applicationinfo_test/entry/src/main/js/test/ApplicationInfoJsunit.test.js
deleted file mode 100644
index 01cf6ddd7ea5f71c7e3d86d99ad81bad4f1fc29f..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_applicationinfo_test/entry/src/main/js/test/ApplicationInfoJsunit.test.js
+++ /dev/null
@@ -1,198 +0,0 @@
-// @ts-nocheck
-/*
- * 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, expect, it} from 'deccjsunit/index'
-import commonEvent from '@ohos.commonevent'
-import featureAbility from '@ohos.ability.featureability'
-import formBindingData from '@ohos.application.formBindingData'
-import bundle from '@ohos.bundle';
-
-var getCallingBundleUri = {
- events: ["uri"]
-}
-
-var getCallingBundleType = {
- events: ["type"]
-}
-
-describe("ApplicationInfoTest", function () {
- var TAG = "";
-
- /*
- * @tc.number SUB_AA_OpenHarmony_FormBase_1000
- * @tc.name Validate formbindingdata creation data
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_FormBase_1000', 0, async function (done) {
- console.log("------------start SUB_AA_OpenHarmony_FormBase_1000-------------");
- TAG = "SUB_AA_OpenHarmony_FormBase_1000";
- var dataObj = {
- temperature:"11c",
- "time":"11:00",
- "test":11,
- "test3":true
- }
- var result = formBindingData.createFormBindingData(dataObj)
- console.log(TAG + " result is : " + JSON.stringify(result))
- expect(JSON.stringify(result)).
- assertEqual(JSON.stringify({"data":"{\"temperature\":\"11c\",\"time\":\"11:00\",\"test\":11,\"test3\":true}"}));
- done();
- console.log("------------end SUB_AA_OpenHarmony_FormBase_1000-------------");
- });
-
- /*
- * @tc.number SUB_AA_OpenHarmony_Want_0200
- * @tc.name Switching the mission in the launcherlist to the foreground is not supported
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_Want_0200', 0, async function (done) {
- console.log("------------start SUB_AA_OpenHarmony_Want_0200-------------");
- TAG = "SUB_AA_OpenHarmony_Want_0200";
- var Subscriber = "";
-
- function SubscribeCallBackUri(err, data) {
- console.log(TAG + " Subscribe CallBack data:" + JSON.stringify(data));
- if(data.event != ""){
- for (var key in data.parameters){
- console.log(TAG + "data.parameters[key] is :" + data.parameters[key])
- }
- expect(data.parameters[key] == "key={true,true,false}").assertTrue();
- }
- done();
- }
-
- commonEvent.createSubscriber(getCallingBundleUri).then(async (data) => {
- console.debug(TAG + "====>Create Subscriber====>");
- Subscriber = data;
- await commonEvent.subscribe(Subscriber, SubscribeCallBackUri);
- });
-
- featureAbility.startAbility({
- want: {
- abilityName: "com.example.applicationinfo.MainAbility2",
- bundleName: "com.example.applicationinfo",
- uri: "key={true,true,false}"
- }
- }, (err, data) => {
- console.log(TAG + ":startAbility success , err:" + JSON.stringify(err) + ",data:" + JSON.stringify(data));
- });
- console.log("------------end SUB_AA_OpenHarmony_Want_0200-------------");
- });
-
- /*
- * @tc.number SUB_AA_OpenHarmony_Want_0300
- * @tc.name Switching the mission in the launcherlist to the foreground is not supported
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_Want_0300', 0, async function (done) {
- console.log("------------start SUB_AA_OpenHarmony_Want_0300-------------");
- TAG = "SUB_AA_OpenHarmony_Want_0300";
- var Subscriber = "";
-
- function SubscribeCallBackType(err, data) {
- console.log(TAG + " Subscribe CallBack data:" + JSON.stringify(data));
- if(data.event != ""){
- for (var key in data.parameters){
- console.log(TAG + "data.parameters[key] is :" + data.parameters[key])
- }
- expect(data.parameters[key] == "MIMETYPE").assertTrue();
- }
- done();
- }
-
- commonEvent.createSubscriber(getCallingBundleType).then(async (data) => {
- console.debug(TAG + "====>Create Subscriber====>");
- Subscriber = data;
- await commonEvent.subscribe(Subscriber, SubscribeCallBackType);
- });
-
- featureAbility.startAbility({
- want: {
- abilityName: "com.example.applicationinfo.MainAbility2",
- bundleName: "com.example.applicationinfo",
- type: "MIMETYPE",
- }
- }, (err, data) => {
- console.log(TAG + ":startAbility success , err:" + JSON.stringify(err) + ",data:" + JSON.stringify(data));
- });
- console.log("------------end SUB_AA_OpenHarmony_Want_0300-------------");
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_ApplicationInfo_0100
- * @tc.name Verify the CodePath of applicationinfo
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_ApplicationInfo_0100', 0, async function (done) {
- console.log("------------start SUB_AA_OpenHarmony_ApplicationInfo_0100-------------");
- TAG = "SUB_AA_OpenHarmony_ApplicationInfo_0100";
-
- bundle.getApplicationInfo("com.example.applicationinfo", 1, (error, data)=> {
- console.log(TAG + "getApplicationInfo success, error: "
- + JSON.stringify(error) + ", data: " + JSON.stringify(data))
- console.log(TAG + "data.condePath: " + JSON.stringify(data.codePath))
- expect(JSON.stringify(data.codePath)).
- assertEqual(JSON.stringify("/data/app/el1/bundle/public/com.example.applicationinfo"))
- done()
- })
- console.log("------------end SUB_AA_OpenHarmony_ApplicationInfo_0100-------------");
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_ApplicationInfo_0200
- * @tc.name Verify the removable of applicationinfo
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_ApplicationInfo_0200', 0, async function (done) {
- console.log("------------start SUB_AA_OpenHarmony_ApplicationInfo_0200-------------");
- TAG = "SUB_AA_OpenHarmony_ApplicationInfo_0200";
-
- bundle.getApplicationInfo("com.example.applicationinfo", 1, (error, data)=> {
- console.log(TAG + "getApplicationInfo success, error: "
- + JSON.stringify(error) + ", data: " + JSON.stringify(data))
- console.log(TAG + "data.removable: " + JSON.stringify(data.removable))
- expect(JSON.stringify(data.removable)).assertEqual("true")
- done()
- })
- console.log("------------end SUB_AA_OpenHarmony_ApplicationInfo_0200-------------");
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_ApplicationInfo_0300
- * @tc.name Verify the accesstokenid of applicationinfo
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_ApplicationInfo_0300', 0, async function (done) {
- console.log("------------start SUB_AA_OpenHarmony_ApplicationInfo_0300-------------");
- TAG = "SUB_AA_OpenHarmony_ApplicationInfo_0300";
-
- bundle.getApplicationInfo("com.example.applicationinfo", 1, (error, data)=> {
- console.log(TAG + "getApplicationInfo success, error: "
- + JSON.stringify(error) + ", data: " + JSON.stringify(data))
- console.log(TAG + "data.accessTokenId: " + JSON.stringify(data.accessTokenId))
- expect(data.accessTokenId == 537317578).assertTrue();
- done()
- })
- console.log("------------end SUB_AA_OpenHarmony_ApplicationInfo_0300-------------");
- })
-
-})
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_applicationinfo_test/entry/src/main/js/test/List.test.js b/aafwk/aafwk_standard/fa/fa_applicationinfo_test/entry/src/main/js/test/List.test.js
deleted file mode 100644
index 7750127a75256ba92ced6c8d5128d3a614c77cbb..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_applicationinfo_test/entry/src/main/js/test/List.test.js
+++ /dev/null
@@ -1,16 +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('./ApplicationInfoJsunit.test.js')
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_auxstate_test/Test.json b/aafwk/aafwk_standard/fa/fa_auxstate_test/Test.json
deleted file mode 100755
index 776b88009d046d24c37fefce8a86504d1b68d5d2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_auxstate_test/Test.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "description" : "Configuration for hjunit demo Test",
- "driver": {
- "type" : "JSUnitTest",
- "test-timeout": "180000",
- "package": "com.example.actsabilitydistributetest",
- "shell-timeout": "600000"
- },
- "kits": [
- {
- "test-file-name": [
- "ActsAbilityDistributeTest.hap"
- ],
- "type": "AppInstallKit",
- "cleanup-apps": true
- }
- ]
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_auxstate_test/entry/src/main/config.json b/aafwk/aafwk_standard/fa/fa_auxstate_test/entry/src/main/config.json
deleted file mode 100644
index 9f2d104a5879bd7a111bbea65cf4523fb26070c5..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_auxstate_test/entry/src/main/config.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "app": {
- "bundleName": "com.example.fzgc",
- "vendor": "example",
- "version": {
- "code": 1000000,
- "name": "1.0.0"
- }
- },
- "deviceConfig": {},
- "module": {
- "package": "com.example.fzgc",
- "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"
- }
- ],
- "js": [
- {
- "pages": [
- "pages/index/index",
- "pages/second/second"
- ],
- "name": ".MainAbility",
- "window": {
- "designWidth": 720,
- "autoDesignWidth": false
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_auxstate_test/entry/src/main/js/MainAbility/app.js b/aafwk/aafwk_standard/fa/fa_auxstate_test/entry/src/main/js/MainAbility/app.js
deleted file mode 100644
index 4ffc03ec09c405ae65730ca98f05eef74a77efb9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_auxstate_test/entry/src/main/js/MainAbility/app.js
+++ /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 featureAbility from '@ohos.ability.featureAbility';
-
-export default {
- onCreate() {
- console.info("Application onCreate");
- setTimeout(() => {
- featureAbility.terminateSelf().then(() => {
- console.log('--start-- : ')
- }).catch(() => {
- console.log('---end-- : ')
- })
- }, 3000)
- },
- onDestroy() {
- console.info("Application onDestroy");
- }
-};
diff --git a/aafwk/aafwk_standard/fa/fa_auxstate_test/entry/src/main/js/MainAbility/pages/index/index.hml b/aafwk/aafwk_standard/fa/fa_auxstate_test/entry/src/main/js/MainAbility/pages/index/index.hml
deleted file mode 100644
index 2084461fb2f40fa97a774ee5c9a5ae22fb0411b8..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_auxstate_test/entry/src/main/js/MainAbility/pages/index/index.hml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- {{ $t('strings.hello') }} {{ title }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_auxstate_test/entry/src/main/js/MainAbility/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_auxstate_test/entry/src/main/js/MainAbility/pages/index/index.js
deleted file mode 100644
index cc22dd2c86d5e7ed3e45bfdd2319fa6bb55dfb50..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_auxstate_test/entry/src/main/js/MainAbility/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_auxstate_test/entry/src/main/js/MainAbility/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_auxstate_test/entry/src/main/js/MainAbility/pages/second/second.hml
deleted file mode 100644
index f5433cccb2beadd4dae61b4c40f6b6d5b0112d16..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_auxstate_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_auxstate_test/entry/src/main/resources/base/element/string.json b/aafwk/aafwk_standard/fa/fa_auxstate_test/entry/src/main/resources/base/element/string.json
deleted file mode 100644
index d1321867f15bbb87342c4263a8579a7c1b6f68c6..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_auxstate_test/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": "JS_Empty Ability"
- }
- ]
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_auxsumstate_test/BUILD.gn b/aafwk/aafwk_standard/fa/fa_auxsumstate_test/BUILD.gn
deleted file mode 100755
index 230d8d221db79ba5a585e1f0958e03f6cff78229..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_auxsumstate_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("FaAuxsumstateTest") {
- hap_profile = "./entry/src/main/config.json"
- deps = [
- ":fa_auxsumstate_test_assets",
- ":fa_auxsumstate_test_resources",
- ]
- certificate_profile = "./signature/openharmony_sx.p7b"
- hap_name = "FaAuxsumstateTest"
-}
-ohos_js_assets("fa_auxsumstate_test_assets") {
- source_dir = "./entry/src/main/js/MainAbility"
-}
-ohos_resources("fa_auxsumstate_test_resources") {
- sources = [ "./entry/src/main/resources" ]
- hap_profile = "./entry/src/main/config.json"
-}
diff --git a/aafwk/aafwk_standard/fa/fa_auxsumstate_test/Test.json b/aafwk/aafwk_standard/fa/fa_auxsumstate_test/Test.json
deleted file mode 100755
index 776b88009d046d24c37fefce8a86504d1b68d5d2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_auxsumstate_test/Test.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "description" : "Configuration for hjunit demo Test",
- "driver": {
- "type" : "JSUnitTest",
- "test-timeout": "180000",
- "package": "com.example.actsabilitydistributetest",
- "shell-timeout": "600000"
- },
- "kits": [
- {
- "test-file-name": [
- "ActsAbilityDistributeTest.hap"
- ],
- "type": "AppInstallKit",
- "cleanup-apps": true
- }
- ]
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_auxsumstate_test/entry/src/main/config.json b/aafwk/aafwk_standard/fa/fa_auxsumstate_test/entry/src/main/config.json
deleted file mode 100644
index 2caea87e88dbf40f24bdfd94dca1b7bac95ad67b..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_auxsumstate_test/entry/src/main/config.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "app": {
- "bundleName": "com.example.fzstatelistener",
- "vendor": "example",
- "version": {
- "code": 1000000,
- "name": "1.0.0"
- }
- },
- "deviceConfig": {},
- "module": {
- "package": "com.example.fzstatelistener",
- "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"
- }
- ],
- "js": [
- {
- "pages": [
- "pages/index/index",
- "pages/second/second"
- ],
- "name": ".MainAbility",
- "window": {
- "designWidth": 720,
- "autoDesignWidth": false
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_auxsumstate_test/entry/src/main/js/MainAbility/app.js b/aafwk/aafwk_standard/fa/fa_auxsumstate_test/entry/src/main/js/MainAbility/app.js
deleted file mode 100644
index 901a9f73aad12f27cf6d0fff8c8318ad48c0d910..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_auxsumstate_test/entry/src/main/js/MainAbility/app.js
+++ /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 featureAbility from '@ohos.ability.featureAbility';
-
-export default {
- onCreate() {
- console.info("Application onCreate");
- setTimeout(() => {
- featureAbility.terminateSelf().then(() => {
- console.log('--start-- : ')
- }).catch(() => {
- console.log('---end-- : ')
- })
- }, 5000)
- },
- onDestroy() {
- console.info("Application onDestroy");
- }
-};
diff --git a/aafwk/aafwk_standard/fa/fa_auxsumstate_test/entry/src/main/js/MainAbility/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_auxsumstate_test/entry/src/main/js/MainAbility/pages/index/index.js
deleted file mode 100644
index b849eeeb2a8c4ea02f869891bf817de55d64f6ec..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_auxsumstate_test/entry/src/main/js/MainAbility/pages/index/index.js
+++ /dev/null
@@ -1,46 +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'
-import appManager from "@ohos.application.appManager"
-import commonEvent from '@ohos.commonEvent';
-import featureAbility from '@ohos.ability.featureAbility';
-export default {
- data: {
- title: ""
- },
- onInit() {
- this.title = this.$t('strings.world');
- },
- 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)
- core.execute()
- },
-
-
-
-}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_auxsumstate_test/entry/src/main/resources/base/element/string.json b/aafwk/aafwk_standard/fa/fa_auxsumstate_test/entry/src/main/resources/base/element/string.json
deleted file mode 100644
index d1321867f15bbb87342c4263a8579a7c1b6f68c6..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_auxsumstate_test/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": "JS_Empty Ability"
- }
- ]
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_clear_test/BUILD.gn b/aafwk/aafwk_standard/fa/fa_clear_test/BUILD.gn
deleted file mode 100755
index 69288b6f021c658771fc2f4d1619517d086fd663..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_clear_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("FaClearTest") {
- hap_profile = "./entry/src/main/config.json"
- deps = [
- ":fa_clear_test_assets",
- ":fa_clear_test_resources",
- ]
- certificate_profile = "./signature/openharmony_sx.p7b"
- hap_name = "FaClearTest"
-}
-ohos_js_assets("fa_clear_test_assets") {
- source_dir = "./entry/src/main/js/MainAbility"
-}
-ohos_resources("fa_clear_test_resources") {
- sources = [ "./entry/src/main/resources" ]
- hap_profile = "./entry/src/main/config.json"
-}
diff --git a/aafwk/aafwk_standard/fa/fa_clear_test/Test.json b/aafwk/aafwk_standard/fa/fa_clear_test/Test.json
deleted file mode 100755
index 776b88009d046d24c37fefce8a86504d1b68d5d2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_clear_test/Test.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "description" : "Configuration for hjunit demo Test",
- "driver": {
- "type" : "JSUnitTest",
- "test-timeout": "180000",
- "package": "com.example.actsabilitydistributetest",
- "shell-timeout": "600000"
- },
- "kits": [
- {
- "test-file-name": [
- "ActsAbilityDistributeTest.hap"
- ],
- "type": "AppInstallKit",
- "cleanup-apps": true
- }
- ]
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_clear_test/entry/src/main/config.json b/aafwk/aafwk_standard/fa/fa_clear_test/entry/src/main/config.json
deleted file mode 100755
index c87ecdceec6a0bf50377926024e50570718cdefb..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_clear_test/entry/src/main/config.json
+++ /dev/null
@@ -1,141 +0,0 @@
-{
- "app": {
- "bundleName": "com.example.abilitydisable",
- "vendor": "example",
- "version": {
- "code": 1000000,
- "name": "1.0.0"
- }
- },
- "deviceConfig": {},
- "module": {
- "package": "com.example.abilitydisable",
- "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_MainAbility",
- "type": "page",
- "launchType": "standard"
- },
- {
- "orientation": "unspecified",
- "srcPath": "MainAbility3",
- "name": ".MainAbility3",
- "srcLanguage": "js",
- "icon": "$media:icon",
- "description": "$string:description_mainability3",
- "formsEnabled": false,
- "label": "$string:entry_MainAbility",
- "type": "page",
- "launchType": "standard"
- },
- {
- "orientation": "unspecified",
- "srcPath": "MainAbility4",
- "name": ".MainAbility4",
- "srcLanguage": "js",
- "icon": "$media:icon",
- "description": "$string:description_mainability4",
- "formsEnabled": false,
- "label": "$string:entry_MainAbility",
- "type": "page",
- "launchType": "standard"
- },
- {
- "srcPath": "ServiceAbility",
- "name": ".ServiceAbility",
- "icon": "$media:icon",
- "srcLanguage": "js",
- "description": "$string:description_serviceability",
- "type": "service"
- }
- ],
- "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
- }
- },
- {
- "pages": [
- "pages/index/index",
- "pages/second/second"
- ],
- "name": ".MainAbility3",
- "window": {
- "designWidth": 720,
- "autoDesignWidth": false
- }
- },
- {
- "pages": [
- "pages/index/index",
- "pages/second/second"
- ],
- "name": ".MainAbility4",
- "window": {
- "designWidth": 720,
- "autoDesignWidth": false
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_clear_test/entry/src/main/js/MainAbility2/pages/index/index.hml b/aafwk/aafwk_standard/fa/fa_clear_test/entry/src/main/js/MainAbility2/pages/index/index.hml
deleted file mode 100755
index 83ae6b784af095aa173906f7aa7468eb2bf2e5e3..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_clear_test/entry/src/main/js/MainAbility2/pages/index/index.hml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_clear_test/entry/src/main/js/MainAbility3/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_clear_test/entry/src/main/js/MainAbility3/i18n/en-US.json
deleted file mode 100755
index 08e34eac912bf2651eefc20e26aa479b5e4e7ec2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_clear_test/entry/src/main/js/MainAbility3/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_clear_test/entry/src/main/js/MainAbility3/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_clear_test/entry/src/main/js/MainAbility3/i18n/zh-CN.json
deleted file mode 100755
index 3dd53b3a8b808aec9396fa663cb00ef22ba61e0a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_clear_test/entry/src/main/js/MainAbility3/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_clear_test/entry/src/main/js/MainAbility3/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_clear_test/entry/src/main/js/MainAbility3/pages/index/index.css
deleted file mode 100755
index 737096ca1070d46824d8173dd029de7e4144f3a9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_clear_test/entry/src/main/js/MainAbility3/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_clear_test/entry/src/main/js/MainAbility3/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_clear_test/entry/src/main/js/MainAbility3/pages/second/second.css
deleted file mode 100755
index 737096ca1070d46824d8173dd029de7e4144f3a9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_clear_test/entry/src/main/js/MainAbility3/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_clear_test/entry/src/main/js/MainAbility3/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_clear_test/entry/src/main/js/MainAbility3/pages/second/second.js
deleted file mode 100755
index 55c229adf9b349ff9a374f8d91be5b5b31d7c6aa..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_clear_test/entry/src/main/js/MainAbility3/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_clear_test/entry/src/main/js/MainAbility4/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_clear_test/entry/src/main/js/MainAbility4/i18n/en-US.json
deleted file mode 100755
index 08e34eac912bf2651eefc20e26aa479b5e4e7ec2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_clear_test/entry/src/main/js/MainAbility4/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_clear_test/entry/src/main/js/MainAbility4/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_clear_test/entry/src/main/js/MainAbility4/i18n/zh-CN.json
deleted file mode 100755
index 3dd53b3a8b808aec9396fa663cb00ef22ba61e0a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_clear_test/entry/src/main/js/MainAbility4/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_clear_test/entry/src/main/js/MainAbility4/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_clear_test/entry/src/main/js/MainAbility4/pages/index/index.css
deleted file mode 100755
index 737096ca1070d46824d8173dd029de7e4144f3a9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_clear_test/entry/src/main/js/MainAbility4/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_clear_test/entry/src/main/js/MainAbility4/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_clear_test/entry/src/main/js/MainAbility4/pages/second/second.css
deleted file mode 100755
index 737096ca1070d46824d8173dd029de7e4144f3a9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_clear_test/entry/src/main/js/MainAbility4/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_clear_test/entry/src/main/js/MainAbility4/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_clear_test/entry/src/main/js/MainAbility4/pages/second/second.js
deleted file mode 100755
index 55c229adf9b349ff9a374f8d91be5b5b31d7c6aa..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_clear_test/entry/src/main/js/MainAbility4/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_clear_test/entry/src/main/js/test/AbilityDisableTest.js b/aafwk/aafwk_standard/fa/fa_clear_test/entry/src/main/js/test/AbilityDisableTest.js
deleted file mode 100755
index 95c7f37888c15d7dec5c59aaba5e5f99c658cbd1..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_clear_test/entry/src/main/js/test/AbilityDisableTest.js
+++ /dev/null
@@ -1,256 +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 {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "deccjsunit/index"
-import missionManager from '@ohos.application.missionManager';
-import abilityFeatureAbility from '@ohos.ability.featureAbility';
-import bundleManager from '@ohos.bundle';
-
-describe('AbilityDisableTests', function () {
- console.log("AbilityDisableTests --- start");
-
- function fns(){
- setTimeout(()=>{
- abilityFeatureAbility.startAbility({ want: {
- bundleName: "com.example.abilitydisable",
- abilityName: "com.example.abilitydisable.MainAbility2"
- } }, (error, data) => {
- console.log('SUB_AA_OpenHarmony_Clear_0100 - startMainAbility2: '
- + JSON.stringify(error) + ", " + JSON.stringify(data))
- expect(err.code == 0).assertTrue();
- });
- },500)
- setTimeout(()=>{
- abilityFeatureAbility.startAbility({ want: {
- bundleName: "com.example.abilitydisable",
- abilityName: "com.example.abilitydisable.MainAbility4"
- } }, (error, data) => {
- console.log('SUB_AA_OpenHarmony_Clear_0100 - startMainAbility4: '
- + JSON.stringify(error) + ", " + JSON.stringify(data))
- expect(err.code == 0).assertTrue();
- });
- },1000)
- setTimeout(()=>{
- abilityFeatureAbility.startAbility({ want: {
- bundleName: "com.example.abilitydisable",
- abilityName: "com.example.abilitydisable.MainAbility3"
- } }, (error, data) => {
- console.log('SUB_AA_OpenHarmony_Clear_0100 - startMainAbility3: '
- + JSON.stringify(error) + ", " + JSON.stringify(data))
- expect(err.code == 0).assertTrue();
- });
- },1500)
- setTimeout(()=>{
- missionManager.getMissionInfos("", 20, (err, data) => {
- console.log('SUB_AA_OpenHarmony_Clear_0100 getMissionInfos errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- for (var i = 0;i < data.length; i++) {
- console.log("bundleName:"+data[i].want["abilityName"])
- if(data[i].want["abilityName"] == "com.example.abilitydisable.MainAbility3"
- || data[i].want["abilityName"] == "com.example.abilitydisable.MainAbility4"
- ||data[i].want["abilityName"] == "com.example.abilitydisable.MainAbility"
- ||data[i].want["abilityName"] == "com.example.abilitydisable.MainAbility2"){
- console.log("data[i]['lockedState']::::"+data[i]['lockedState']);
- console.log("data[i].missionId" + data[i].missionId);
- console.log("SUB_AA_OpenHarmony_Clear_0100, missionId:" + data[i].missionId);
- missionIds.push(data[i].missionId);
- }
- }
- console.log('SUB_AA_OpenHarmony_Clear_0100 missionId:'+ missionIds +
- typeof missionIds + ":::::"+missionIds[1] + typeof missionIds[1]);
- })
- console.log("SUB_AA_OpenHarmony_Clear_0100" + JSON.stringify(missionIds));
- },2000)
- setTimeout(()=>{
- missionManager.lockMission(parseInt(missionIds[1]),(err,data)=>{
-
- console.log('SUB_AA_OpenHarmony_Clear_0100 lockMission1 missionIds[1] : ' +
- JSON.stringify(missionIds[1]), + parseInt(missionIds[1]));
-
- console.log('SUB_AA_OpenHarmony_Clear_0100 lockMission1 errCode : ' +
- JSON.stringify(err) + " data: " + JSON.stringify(data));
- })
- },2500)
- setTimeout(()=>{
- missionManager.lockMission(parseInt(missionIds[2]),(err,data)=>{
- console.log('SUB_AA_OpenHarmony_Clear_0100 lockMission2 errCode : ' +
- JSON.stringify(err) + " data: " + JSON.stringify(data));
- })
- },2500)
- setTimeout(()=>{
- missionManager.getMissionInfos("", 20, (err, data) => {
- console.log("SUB_AA_OpenHarmony_Clear_0100, twosgetMissionInfos:" +
- JSON.stringify(data));
- for (var i = 0;i < data.length; i++) {
- console.log("data[i].missionId:missionIds[2] news missionIds[1]" +
- data[i].missionId + missionIds[2] + missionIds[1])
- if(data[i].missionId == missionIds[1] || data[i].missionId == missionIds[2]){
- console.log("data[i]['lockedState']222:::::::"+data[i]['lockedState']);
- expect(data[i]['lockedState'] == true).assertTrue();
- }
- }
- })
- console.log("SUB_AA_OpenHarmony_Clear_0100" + JSON.stringify(missionIds));
- },3100)
- setTimeout(()=>{
- missionManager.getMissionInfos("", 20, (err, data) => {
- console.log('SUB_AA_OpenHarmony_Clear_0100 getMissionInfos errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- for (var i = 0;i < data.length; i++) {
- console.log("bundleName:"+data[i].want["abilityName"])
- if(data[i].want["abilityName"] == "com.example.abilitydisable.MainAbility3"
- || data[i].want["abilityName"] == "com.example.abilitydisable.MainAbility4"
- ||data[i].want["abilityName"] == "com.example.abilitydisable.MainAbility"
- ||data[i].want["abilityName"] == "com.example.abilitydisable.MainAbility2"){
- console.log("data[i]['lockedState']::::"+data[i]['lockedState']);
- expect(data[i].lockedState == false).assertTrue();
- }
- }
- console.log('SUB_AA_OpenHarmony_Clear_0100 missionId:'+ missionIds +
- typeof missionIds + ":::::"+missionIds[1] + typeof missionIds[1]);
- })
- console.log("SUB_AA_OpenHarmony_Clear_0100" + JSON.stringify(missionIds));
- },5000)
- setTimeout(()=>{
- missionManager.moveMissionToFront(parseInt(missionIds[2]),(err,data)=>{
- console.log('SUB_AA_OpenHarmony_Clear_0100 moveMissionToFront errCode : ' +
- JSON.stringify(err) + " data: " + JSON.stringify(data));
- })
- },6000)
- setTimeout(()=>{
- missionManager.clearAllMissions((err,data)=>{
- console.log('SUB_AA_OpenHarmony_Clear_0100 clearAllMissions errCode: ' +
- JSON.stringify(err) + " data: " + JSON.stringify(data));
-
- })
- },7000)
- setTimeout(()=>{
- missionManager.getMissionInfos("", 20, (err, data) => {
- console.log('SUB_AA_OpenHarmony_Clear_0100 getMissionInfos errCode : ' +
- JSON.stringify(err) + " data: " + JSON.stringify(data));
- for (var i = 0;i < data.length; i++) {
- console.log("bundleName:"+data[i].want["abilityName"])
- if(data[i].want["abilityName"] == "com.example.abilitydisable.MainAbility3" ||
- data[i].want["abilityName"] == "com.example.abilitydisable.MainAbility4" ||
- data[i].want["abilityName"] == "com.example.abilitydisable.MainAbility"||
- data[i].want["abilityName"] == "com.example.abilitydisable.MainAbility2"){
- console.log("data[i]['lockedState']end::::"+data[i]['lockedState']);
- expect(data[i]['lockedState'] == true).assertTrue();
- }
- }
- console.log('SUB_AA_OpenHarmony_Clear_0100 missionId:'+
- missionIds + typeof missionIds + ":::::"+missionIds[1] + typeof missionIds[1]);
- })
- console.log("SUB_AA_OpenHarmony_Clear_0100" +
- JSON.stringify(missionIds));
- },8000)
- }
-
- /*
- * @tc.number SUB_AA_OpenHarmony_Clear_1200
- * @tc.name missionId for undefined
- * @tc.desc Function test
- * @tc.level 0
- */
- it("SUB_AA_OpenHarmony_Clear_1200", 0, async function (done) {
- console.info("------------------logMessage SUB_AA_OpenHarmony_Clear_1200-------------------");
- missionManager.clearMission(undefined, (data, err) => {
- console.log('SUB_AA_OpenHarmony_Clear_1200 asyncCallback errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(data["code"]==-1).assertTrue();
- })
- done();
- });
-
- /*
- * @tc.number SUB_AA_OpenHarmony_Clear_1300
- * @tc.name MissionId: does not exist
- * @tc.desc Function test
- * @tc.level 0
- */
- it("SUB_AA_OpenHarmony_Clear_1300", 0, async function (done) {
- console.info("------------------logMessage SUB_AA_OpenHarmony_Clear_1300-------------------");
- missionManager.clearMission("xxxx", (data, err) => {
- console.log('SUB_AA_OpenHarmony_Clear_1300 asyncCallback errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(data["code"]==-1).assertTrue();
- })
- done();
- });
-
- /*
- * @tc.number SUB_AA_OpenHarmony_Clear_1400
- * @tc.name MissionId is a string number
- * @tc.desc Function test
- * @tc.level 0
- */
- it("SUB_AA_OpenHarmony_Clear_1400", 0, async function (done) {
- console.info("------------------logMessage SUB_AA_OpenHarmony_Clear_1400-------------------");
- missionManager.clearMission("123456", (data, err) => {
- console.log('SUB_AA_OpenHarmony_Clear_1400 asyncCallback errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(data["code"]==-1).assertTrue();
- })
- done();
- });
-
- /*
- * @tc.number SUB_AA_OpenHarmony_Clear_1500
- * @tc.name The missionId is a non-number string
- * @tc.desc Function test
- * @tc.level 0
- */
- it("SUB_AA_OpenHarmony_Clear_1500", 0, async function (done) {
- console.info("------------------logMessage SUB_AA_OpenHarmony_Clear_1500-------------------");
- missionManager.clearMission("abc@@#$", (data, err) => {
- console.log('SUB_AA_OpenHarmony_Clear_1500 asyncCallback errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(data["code"]==-1).assertTrue();
- })
- done();
- });
-
- /*
- * @tc.number SUB_AA_OpenHarmony_Clear_1600
- * @tc.name MissionId is an existing floating point type
- * @tc.desc Function test
- * @tc.level 0
- */
- it("SUB_AA_OpenHarmony_Clear_1600", 0, async function (done) {
- console.info("------------------logMessage SUB_AA_OpenHarmony_Clear_1600-------------------");
- missionManager.clearMission(1.1234, (data, err) => {
- console.log('SUB_AA_OpenHarmony_Clear_1600 asyncCallback errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(data["code"]==-1).assertTrue();
- })
- done();
- });
-
- /*
- * @tc.number SUB_AA_OpenHarmony_Clear_0100
- * @tc.name Locking is terminated after mission, switching to the front desk for cleanup
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_Clear_0100', 0, async function (done) {
- var missionIds = [];
- console.log("SUB_AA_OpenHarmony_Clear_0100 --- start")
- fns()
- done()
- });
-
-
-})
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_configurationconstant_test/BUILD.gn b/aafwk/aafwk_standard/fa/fa_configurationconstant_test/BUILD.gn
deleted file mode 100755
index e0abad233983bd0e34bb59745ac13c3bb90f46ef..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_configurationconstant_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("FaConfigurationconstantTest") {
- hap_profile = "./entry/src/main/config.json"
- deps = [
- ":fa_configurationconstant_test_assets",
- ":fa_configurationconstant_test_resources",
- ]
- certificate_profile = "./signature/openharmony_sx.p7b"
- hap_name = "FaConfigurationconstantTest"
-}
-ohos_js_assets("fa_configurationconstant_test_assets") {
- source_dir = "./entry/src/main/js/MainAbility"
-}
-ohos_resources("fa_configurationconstant_test_resources") {
- sources = [ "./entry/src/main/resources" ]
- hap_profile = "./entry/src/main/config.json"
-}
diff --git a/aafwk/aafwk_standard/fa/fa_configurationconstant_test/Test.json b/aafwk/aafwk_standard/fa/fa_configurationconstant_test/Test.json
deleted file mode 100755
index 776b88009d046d24c37fefce8a86504d1b68d5d2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_configurationconstant_test/Test.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "description" : "Configuration for hjunit demo Test",
- "driver": {
- "type" : "JSUnitTest",
- "test-timeout": "180000",
- "package": "com.example.actsabilitydistributetest",
- "shell-timeout": "600000"
- },
- "kits": [
- {
- "test-file-name": [
- "ActsAbilityDistributeTest.hap"
- ],
- "type": "AppInstallKit",
- "cleanup-apps": true
- }
- ]
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/.gitignore b/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/.gitignore
deleted file mode 100644
index f77260b1509284d42a7f8a2449ad1e8f4b489a3a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/build
-/node_modules
diff --git a/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/build.gradle b/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/build.gradle
deleted file mode 100644
index c40c1f08c819a404fc2312634d97bee84d939ba3..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/build.gradle
+++ /dev/null
@@ -1,21 +0,0 @@
-apply plugin: 'com.huawei.ohos.hap'
-//For instructions on signature configuration, see https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ide_debug_device-0000001053822404#section1112183053510
-ohos {
- compileSdkVersion 8
- defaultConfig {
- compatibleSdkVersion 7
- }
- buildTypes {
- release {
- proguardOpt {
- proguardEnabled false
- rulesFiles 'proguard-rules.pro'
- }
- }
- }
-}
-
-dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar', '*.har'])
- testImplementation 'junit:junit:4.13.1'
-}
diff --git a/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/package.json b/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/package.json
deleted file mode 100644
index 69a88e3b65423624fe7ea8b0f8beefcc62cc3d5f..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/package.json
+++ /dev/null
@@ -1 +0,0 @@
-{}
diff --git a/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/proguard-rules.pro b/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/proguard-rules.pro
deleted file mode 100644
index f7666e47561d514b2a76d5a7dfbb43ede86da92a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/proguard-rules.pro
+++ /dev/null
@@ -1 +0,0 @@
-# config module specific ProGuard rules here.
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/src/main/js/MainAbility/app.js b/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/src/main/js/MainAbility/app.js
deleted file mode 100644
index a8f63230f272f052ebb2e6a48b7e0309e26a3b5d..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/src/main/js/MainAbility/app.js
+++ /dev/null
@@ -1,24 +0,0 @@
-// @ts-nocheck
-/*
- * 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 1");
- },
- onDestroy() {
- console.info("Application onDestroy 1");
-
- }
-};
diff --git a/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/src/main/js/MainAbility/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/src/main/js/MainAbility/i18n/en-US.json
deleted file mode 100644
index 08e34eac912bf2651eefc20e26aa479b5e4e7ec2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_configurationconstant_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_configurationconstant_test/entry/src/main/js/MainAbility/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/src/main/js/MainAbility/i18n/zh-CN.json
deleted file mode 100644
index 195f303be71cd519749ec6e65e98f067ed99a51b..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/src/main/js/MainAbility/i18n/zh-CN.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "strings": {
- "hello": "您好 1 js",
- "world": "世界 1 js",
- "page": "第二页 1",
- "next": "下一页 1",
- "back": "返回 1"
- },
- "Files": {
- }
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/src/main/js/MainAbility/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/src/main/js/MainAbility/pages/index/index.css
deleted file mode 100644
index 737096ca1070d46824d8173dd029de7e4144f3a9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_configurationconstant_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_configurationconstant_test/entry/src/main/js/MainAbility/pages/index/index.hml b/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/src/main/js/MainAbility/pages/index/index.hml
deleted file mode 100644
index 534abd5a9522e8fa018871561b8fa4bb8b4f6d23..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/src/main/js/MainAbility/pages/index/index.hml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- {{ $t('strings.hello') }} {{ title }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/src/main/js/MainAbility/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/src/main/js/MainAbility/pages/index/index.js
deleted file mode 100644
index 7d7c4a74c04f4ea22049ab036daa894a3331ac98..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/src/main/js/MainAbility/pages/index/index.js
+++ /dev/null
@@ -1,41 +0,0 @@
-// @ts-nocheck
-/*
- * 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: ""
- },
- onInit() {
- this.title = this.$t('strings.world');
- },
- onShow(){
- const core = Core.getInstance()
- core.init();
- const configService = core.getDefaultService('config')
- configService.setConfig(this)
- require('../../../test/List.test');
- core.execute();
- },
- onclick: function () {
- router.replace({
- uri: "pages/second/second"
- })
- }
-}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/src/main/js/MainAbility/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/src/main/js/MainAbility/pages/second/second.css
deleted file mode 100644
index 737096ca1070d46824d8173dd029de7e4144f3a9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/src/main/js/MainAbility/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_configurationconstant_test/entry/src/main/js/MainAbility/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/src/main/js/MainAbility/pages/second/second.hml
deleted file mode 100644
index 7ef73cefb6495463e8ab08143aeb0741d7c8dee3..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_configurationconstant_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_configurationconstant_test/entry/src/main/js/MainAbility/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/src/main/js/MainAbility/pages/second/second.js
deleted file mode 100644
index 1d7012a6359fa81eae18f16b418f28c806076923..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/src/main/js/MainAbility/pages/second/second.js
+++ /dev/null
@@ -1,27 +0,0 @@
-// @ts-nocheck
-/*
- * 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_configurationconstant_test/entry/src/main/js/test/List.test.js b/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/src/main/js/test/List.test.js
deleted file mode 100644
index ebef389aeeddf912af2bfed5edb5657204b68f38..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/src/main/js/test/List.test.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// @ts-nocheck
-/*
- * 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('./JSMyapplicationJsunit.test.js');
diff --git a/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/src/main/resources/base/element/string.json b/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/src/main/resources/base/element/string.json
deleted file mode 100644
index 92f5ff8a48403b37a65f5b6f6e5fe285f277d21e..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_configurationconstant_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_configurationconstant_test/entry/src/main/resources/base/media/icon.png b/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/src/main/resources/base/media/icon.png
deleted file mode 100644
index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000
Binary files a/aafwk/aafwk_standard/fa/fa_configurationconstant_test/entry/src/main/resources/base/media/icon.png and /dev/null differ
diff --git a/aafwk/aafwk_standard/fa/fa_configurationconstant_test/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/fa/fa_configurationconstant_test/signature/openharmony_sx.p7b
deleted file mode 100755
index 66b4457a8a81fb8d3356cf46d67226c850944858..0000000000000000000000000000000000000000
Binary files a/aafwk/aafwk_standard/fa/fa_configurationconstant_test/signature/openharmony_sx.p7b and /dev/null differ
diff --git a/aafwk/aafwk_standard/fa/fa_coverapi_test/Test.json b/aafwk/aafwk_standard/fa/fa_coverapi_test/Test.json
deleted file mode 100755
index 776b88009d046d24c37fefce8a86504d1b68d5d2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_coverapi_test/Test.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "description" : "Configuration for hjunit demo Test",
- "driver": {
- "type" : "JSUnitTest",
- "test-timeout": "180000",
- "package": "com.example.actsabilitydistributetest",
- "shell-timeout": "600000"
- },
- "kits": [
- {
- "test-file-name": [
- "ActsAbilityDistributeTest.hap"
- ],
- "type": "AppInstallKit",
- "cleanup-apps": true
- }
- ]
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_coverapi_test/entry/src/main/config.json b/aafwk/aafwk_standard/fa/fa_coverapi_test/entry/src/main/config.json
deleted file mode 100755
index 82127c2999b91ecb979a2818a4aabe17e8190cc7..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_coverapi_test/entry/src/main/config.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "app":{
- "bundleName":"com.example.coverapi",
- "vendor":"example",
- "version":{
- "code":1000000,
- "name":"1.0.0"
- }
- },
- "deviceConfig":{},
- "module":{
- "package":"com.example.coverapi",
- "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"
- }
- ],
- "js":[
- {
- "pages":[
- "pages/index/index",
- "pages/second/second"
- ],
- "name":".MainAbility",
- "window":{
- "designWidth":720,
- "autoDesignWidth":false
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_coverapi_test/entry/src/main/js/MainAbility/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_coverapi_test/entry/src/main/js/MainAbility/i18n/en-US.json
deleted file mode 100755
index 08e34eac912bf2651eefc20e26aa479b5e4e7ec2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_coverapi_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_coverapi_test/entry/src/main/js/MainAbility/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_coverapi_test/entry/src/main/js/MainAbility/i18n/zh-CN.json
deleted file mode 100755
index 3dd53b3a8b808aec9396fa663cb00ef22ba61e0a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_coverapi_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_coverapi_test/entry/src/main/js/MainAbility/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_coverapi_test/entry/src/main/js/MainAbility/pages/index/index.css
deleted file mode 100755
index 245e1ebc352567251a656cf5d3beff260ced3f8d..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_coverapi_test/entry/src/main/js/MainAbility/pages/index/index.css
+++ /dev/null
@@ -1,37 +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_coverapi_test/entry/src/main/js/MainAbility/pages/index/index.hml b/aafwk/aafwk_standard/fa/fa_coverapi_test/entry/src/main/js/MainAbility/pages/index/index.hml
deleted file mode 100755
index 0c3ea688a0772f5721dfaf00c2ca5e2332bba689..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_coverapi_test/entry/src/main/js/MainAbility/pages/index/index.hml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_coverapi_test/entry/src/main/js/MainAbility/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_coverapi_test/entry/src/main/js/MainAbility/pages/index/index.js
deleted file mode 100755
index b0ac9f10c26e704e328c21dd3af3371a98cfb7ad..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_coverapi_test/entry/src/main/js/MainAbility/pages/index/index.js
+++ /dev/null
@@ -1,60 +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 commonEvent from '@ohos.commonEvent';
-import {Core} from 'deccjsunit/index'
-
-export default {
- data: {
- title: ""
- },
- onInit() {
- this.title = this.$t('strings.world');
- },
- onclick: function () {
- router.replace({
- uri: "pages/second/second"
- })
- },
- onShow() {
- console.info('onShow start')
- const core = Core.getInstance()
- console.info('onShow start1')
-
- core.init()
- console.info('onShow start2')
-
- const configService = core.getDefaultService('config')
- console.info('onShow start3')
-
- configService.setConfig(this)
- console.info('onShow start4')
-
- require('../../../test/List.test')
- console.info('onShow start5')
- core.execute()
- },
- onConfigurationUpdated(){
- console.info("mainAbility onConfigurationUpdated");
- commonEvent.publish("mainAbility_onConfigurationUpdated", () => {
- console.log("MainAbility Publish CallBack mainAbility_onConfigurationUpdated")
- });
- }
-
-}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_coverapi_test/entry/src/main/js/MainAbility/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_coverapi_test/entry/src/main/js/MainAbility/pages/second/second.css
deleted file mode 100755
index 245e1ebc352567251a656cf5d3beff260ced3f8d..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_coverapi_test/entry/src/main/js/MainAbility/pages/second/second.css
+++ /dev/null
@@ -1,37 +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_coverapi_test/entry/src/main/js/MainAbility/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_coverapi_test/entry/src/main/js/MainAbility/pages/second/second.hml
deleted file mode 100755
index 4503365d59184ec671bb489b6c2b64134daf0849..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_coverapi_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_coverapi_test/entry/src/main/js/MainAbility/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_coverapi_test/entry/src/main/js/MainAbility/pages/second/second.js
deleted file mode 100755
index 13d00f1ea98b01a81f526095fb9e5845fd069a95..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_coverapi_test/entry/src/main/js/MainAbility/pages/second/second.js
+++ /dev/null
@@ -1,27 +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_coverapi_test/entry/src/main/resources/base/element/string.json b/aafwk/aafwk_standard/fa/fa_coverapi_test/entry/src/main/resources/base/element/string.json
deleted file mode 100755
index 1c3bf7e77137c9d4006f48e7bb143f85f6dc1e92..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_coverapi_test/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":"JS_Empty Ability"
- }
- ]
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_coverapi_test/entry/src/main/resources/base/media/icon.png b/aafwk/aafwk_standard/fa/fa_coverapi_test/entry/src/main/resources/base/media/icon.png
deleted file mode 100755
index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000
Binary files a/aafwk/aafwk_standard/fa/fa_coverapi_test/entry/src/main/resources/base/media/icon.png and /dev/null differ
diff --git a/aafwk/aafwk_standard/fa/fa_coverapi_test/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/fa/fa_coverapi_test/signature/openharmony_sx.p7b
deleted file mode 100755
index 66b4457a8a81fb8d3356cf46d67226c850944858..0000000000000000000000000000000000000000
Binary files a/aafwk/aafwk_standard/fa/fa_coverapi_test/signature/openharmony_sx.p7b and /dev/null differ
diff --git a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/BUILD.gn b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/BUILD.gn
deleted file mode 100755
index cf85d7d61e7cdfc40752d5ae66eab6d6655a2154..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_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("FaEqueryabilitybywantTest") {
- hap_profile = "./entry/src/main/config.json"
- deps = [
- ":fa_equeryabilitybywant_test_assets",
- ":fa_equeryabilitybywant_test_resources",
- ]
- certificate_profile = "./signature/openharmony_sx.p7b"
- hap_name = "FaEqueryabilitybywantTest"
-}
-ohos_js_assets("fa_equeryabilitybywant_test_assets") {
- source_dir = "./entry/src/main/js/MainAbility"
-}
-ohos_resources("fa_equeryabilitybywant_test_resources") {
- sources = [ "./entry/src/main/resources" ]
- hap_profile = "./entry/src/main/config.json"
-}
diff --git a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/Test.json b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/Test.json
deleted file mode 100755
index 776b88009d046d24c37fefce8a86504d1b68d5d2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/Test.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "description" : "Configuration for hjunit demo Test",
- "driver": {
- "type" : "JSUnitTest",
- "test-timeout": "180000",
- "package": "com.example.actsabilitydistributetest",
- "shell-timeout": "600000"
- },
- "kits": [
- {
- "test-file-name": [
- "ActsAbilityDistributeTest.hap"
- ],
- "type": "AppInstallKit",
- "cleanup-apps": true
- }
- ]
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility/app.js b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility/app.js
deleted file mode 100755
index 10ea3bb1104ae82203d0ecc7173d4d35a3a16f16..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility/app.js
+++ /dev/null
@@ -1,25 +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");
- },
- onForgeGround(){
- console.info("Application onForgeGround");
- }
-};
diff --git a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility/i18n/en-US.json
deleted file mode 100755
index 08e34eac912bf2651eefc20e26aa479b5e4e7ec2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_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_equeryabilitybywant_test/entry/src/main/js/MainAbility/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility/i18n/zh-CN.json
deleted file mode 100755
index 3dd53b3a8b808aec9396fa663cb00ef22ba61e0a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_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_equeryabilitybywant_test/entry/src/main/js/MainAbility/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility/pages/index/index.css
deleted file mode 100755
index 737096ca1070d46824d8173dd029de7e4144f3a9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_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_equeryabilitybywant_test/entry/src/main/js/MainAbility/pages/index/index.hml b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility/pages/index/index.hml
deleted file mode 100755
index 9c27d02f668220192c6ceaa0c7e6a83f189bd7f0..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility/pages/index/index.hml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- {{ $t('strings.hello') }} {{ title }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility/pages/index/index.js
deleted file mode 100755
index e380f7fb9bc4e5abe4ac083b5b25bdf23c9abaae..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility/pages/index/index.js
+++ /dev/null
@@ -1,52 +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: ""
- },
- onInit() {
- this.title = 'yingyong1';
- },
- onclick: function () {
- router.replace({
- uri: "pages/second/second"
- })
- },
- onShow() {
- console.info('onShow start')
- const core = Core.getInstance()
- console.info('onShow start1')
-
- core.init()
- console.info('onShow start2')
-
- const configService = core.getDefaultService('config')
- console.info('onShow start3')
-
- configService.setConfig(this)
- console.info('onShow start4')
-
- require('../../../test/List.test')
- console.info('onShow start5')
-
- core.execute()
- }
-}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility/pages/second/second.css
deleted file mode 100755
index 737096ca1070d46824d8173dd029de7e4144f3a9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility/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_equeryabilitybywant_test/entry/src/main/js/MainAbility/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility/pages/second/second.hml
deleted file mode 100755
index 232a295e9245fb2e09d7be62626850bfd281062a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_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_equeryabilitybywant_test/entry/src/main/js/MainAbility/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility/pages/second/second.js
deleted file mode 100755
index 55c229adf9b349ff9a374f8d91be5b5b31d7c6aa..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_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_equeryabilitybywant_test/entry/src/main/js/MainAbility2/app.js b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility2/app.js
deleted file mode 100755
index c432f74d63028e07036dc374b7799339497f4dc7..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility2/app.js
+++ /dev/null
@@ -1,37 +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");
- setTimeout(()=>{
- this.content.terminateSelf().then((data)=>{
- console.log("Application terminateSelf data:" + JSON.stringify(data) )
- }).catch((error)=>{
- console.log("Application terminateSelf data:" + JSON.stringify(error) )
- })
- },4000)
- },
- onDestroy() {
- console.info("Application onDestroy");
- }
-
-
-
-
-
-
-
-
-};
diff --git a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility2/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility2/i18n/en-US.json
deleted file mode 100755
index 08e34eac912bf2651eefc20e26aa479b5e4e7ec2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_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_equeryabilitybywant_test/entry/src/main/js/MainAbility2/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility2/i18n/zh-CN.json
deleted file mode 100755
index 3dd53b3a8b808aec9396fa663cb00ef22ba61e0a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_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_equeryabilitybywant_test/entry/src/main/js/MainAbility2/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility2/pages/index/index.css
deleted file mode 100755
index 737096ca1070d46824d8173dd029de7e4144f3a9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility2/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_equeryabilitybywant_test/entry/src/main/js/MainAbility2/pages/index/index.hml b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility2/pages/index/index.hml
deleted file mode 100755
index 83ae6b784af095aa173906f7aa7468eb2bf2e5e3..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_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_equeryabilitybywant_test/entry/src/main/js/MainAbility2/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility2/pages/index/index.js
deleted file mode 100755
index 3f2aef42e1765f6b6525a547205650df5113fa7b..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility2/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 router from '@system.router'
-import {Core} from 'deccjsunit/index'
-
-export default {
- data: {
- title: ""
- },
- onInit() {
- this.title = 'yingyong2';
- },
- onclick: function () {
- router.replace({
- uri: "pages/second/second"
- })
- },
- onShow() {
- console.info('onShow start')
- 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_equeryabilitybywant_test/entry/src/main/js/MainAbility2/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility2/pages/second/second.css
deleted file mode 100755
index 737096ca1070d46824d8173dd029de7e4144f3a9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_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_equeryabilitybywant_test/entry/src/main/js/MainAbility2/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility2/pages/second/second.hml
deleted file mode 100755
index 4503365d59184ec671bb489b6c2b64134daf0849..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_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_equeryabilitybywant_test/entry/src/main/js/MainAbility2/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility2/pages/second/second.js
deleted file mode 100755
index 55c229adf9b349ff9a374f8d91be5b5b31d7c6aa..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_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_equeryabilitybywant_test/entry/src/main/js/MainAbility3/app.js b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility3/app.js
deleted file mode 100755
index 0da0f36d6651025a1fd93b9c868e48fae3ae93f6..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility3/app.js
+++ /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 abilityFeatureAbility from '@ohos.ability.featureAbility';
-
-export default {
- onCreate() {
- console.info("Application onCreate MainAbility3");
- setTimeout(()=>{
- abilityFeatureAbility.terminateSelf().then((data)=>{
- console.log("Application terminateSelf data:" + JSON.stringify(data) )
- }).catch((error)=>{
- console.log("Application terminateSelf data:" + JSON.stringify(error) )
- })
- },4000)
- },
- onDestroy() {
- console.info("Application onDestroy");
- }
-};
diff --git a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility3/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility3/i18n/en-US.json
deleted file mode 100755
index 08e34eac912bf2651eefc20e26aa479b5e4e7ec2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility3/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_equeryabilitybywant_test/entry/src/main/js/MainAbility3/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility3/i18n/zh-CN.json
deleted file mode 100755
index 3dd53b3a8b808aec9396fa663cb00ef22ba61e0a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility3/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_equeryabilitybywant_test/entry/src/main/js/MainAbility3/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility3/pages/index/index.css
deleted file mode 100755
index 737096ca1070d46824d8173dd029de7e4144f3a9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility3/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_equeryabilitybywant_test/entry/src/main/js/MainAbility3/pages/index/index.hml b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility3/pages/index/index.hml
deleted file mode 100755
index 9c27d02f668220192c6ceaa0c7e6a83f189bd7f0..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility3/pages/index/index.hml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- {{ $t('strings.hello') }} {{ title }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility3/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility3/pages/index/index.js
deleted file mode 100755
index 539f7a8795ff62dafcf3b64bd0c3a5a363d1921d..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility3/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 router from '@system.router'
-import {Core} from 'deccjsunit/index'
-
-export default {
- data: {
- title: ""
- },
- onInit() {
- this.title = 'yingyong3';
- },
- onclick: function () {
- router.replace({
- uri: "pages/second/second"
- })
- },
- onShow() {
- console.info('onShow start')
- 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_equeryabilitybywant_test/entry/src/main/js/MainAbility3/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility3/pages/second/second.css
deleted file mode 100755
index 737096ca1070d46824d8173dd029de7e4144f3a9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility3/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_equeryabilitybywant_test/entry/src/main/js/MainAbility3/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility3/pages/second/second.hml
deleted file mode 100755
index 232a295e9245fb2e09d7be62626850bfd281062a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility3/pages/second/second.hml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- {{ $t('strings.page') }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility3/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility3/pages/second/second.js
deleted file mode 100755
index 55c229adf9b349ff9a374f8d91be5b5b31d7c6aa..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility3/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_equeryabilitybywant_test/entry/src/main/js/MainAbility4/app.js b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility4/app.js
deleted file mode 100755
index 911b14c23c120306ed0406cf704036085bf16653..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility4/app.js
+++ /dev/null
@@ -1,29 +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");
- setTimeout(()=>{
- this.content.terminateSelf().then((data)=>{
- console.log("Application terminateSelf data:" + JSON.stringify(data) )
- }).catch((error)=>{
- console.log("Application terminateSelf data:" + JSON.stringify(error) )
- })
- },4000)
- },
- onDestroy() {
- console.info("Application onDestroy");
- }
-};
diff --git a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility4/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility4/i18n/en-US.json
deleted file mode 100755
index 08e34eac912bf2651eefc20e26aa479b5e4e7ec2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility4/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_equeryabilitybywant_test/entry/src/main/js/MainAbility4/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility4/i18n/zh-CN.json
deleted file mode 100755
index 3dd53b3a8b808aec9396fa663cb00ef22ba61e0a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility4/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_equeryabilitybywant_test/entry/src/main/js/MainAbility4/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility4/pages/index/index.css
deleted file mode 100755
index 737096ca1070d46824d8173dd029de7e4144f3a9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility4/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_equeryabilitybywant_test/entry/src/main/js/MainAbility4/pages/index/index.hml b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility4/pages/index/index.hml
deleted file mode 100755
index 9c27d02f668220192c6ceaa0c7e6a83f189bd7f0..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility4/pages/index/index.hml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- {{ $t('strings.hello') }} {{ title }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility4/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility4/pages/index/index.js
deleted file mode 100755
index 32a7c170b8cc255bb4dffb7bf64c16b9159538a0..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility4/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 router from '@system.router'
-import {Core} from 'deccjsunit/index'
-
-export default {
- data: {
- title: ""
- },
- onInit() {
- this.title = 'yingyong4';
- },
- onclick: function () {
- router.replace({
- uri: "pages/second/second"
- })
- },
- onShow() {
- console.info('onShow start')
- 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_equeryabilitybywant_test/entry/src/main/js/MainAbility4/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility4/pages/second/second.css
deleted file mode 100755
index 737096ca1070d46824d8173dd029de7e4144f3a9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility4/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_equeryabilitybywant_test/entry/src/main/js/MainAbility4/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility4/pages/second/second.hml
deleted file mode 100755
index 232a295e9245fb2e09d7be62626850bfd281062a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility4/pages/second/second.hml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- {{ $t('strings.page') }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility4/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility4/pages/second/second.js
deleted file mode 100755
index 55c229adf9b349ff9a374f8d91be5b5b31d7c6aa..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/MainAbility4/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_equeryabilitybywant_test/entry/src/main/js/ServiceAbility/service.js b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/ServiceAbility/service.js
deleted file mode 100755
index ccdcaa6a0802492216d3332f39f8e089e7334630..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/ServiceAbility/service.js
+++ /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.
- */
-export default {
- onStart(want) {
- console.info('ServiceAbility onStart');
- },
- onStop() {
- console.info('ServiceAbility onStop');
- },
- onConnect(want) {
- console.info('ServiceAbility onConnect');
- return {};
- },
- onReconnect(want) {
- console.info('ServiceAbility onReconnect');
- },
- onDisconnect() {
- console.info('ServiceAbility onDisconnect');
- },
- onCommand(want, restart, startId) {
- console.info('ServiceAbility onCommand');
- },
-
- onForeground(){
- console.info('ServiceAbility onForeground');
- },
-
-};
\ No newline at end of file
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
deleted file mode 100755
index a2e34e5609739909a2629394c92003749505a1a7..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/test/AbilityDisableTest.js
+++ /dev/null
@@ -1,96 +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 {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "deccjsunit/index"
-import abilityFeatureAbility from '@ohos.ability.featureAbility';
-import bundleManager from '@ohos.bundle';
-import appManager from "@ohos.application.appManager"
-
-describe('AbilityDisableTests', function () {
- console.log("AbilityDisableTests --- start");
-
- /*
- * @tc.number SUB_AA_OpenHarmony_EqueryAbilityByWant_0100
- * @tc.name Call queryAbilityByWant to get moduleName
- * @tc.desc Function test
- * @tc.level 0
- */
- it("SUB_AA_OpenHarmony_EqueryAbilityByWant_0100", 0, async function (done) {
- console.info("------------------logMessage SUB_AA_OpenHarmony_EqueryAbilityByWant_0100-------------------");
- var context = abilityFeatureAbility.getContext();
- console.log("+++++++++++++",context);
- let bundleFlags=bundleManager.BundleFlag.GET_ABILITY_INFO_WITH_PERMISSION;
- let userId=100;
- let want={
- bundleName:"com.example.abilitydisable",
- abilityName:"com.example.abilitydisable.MainAbility"
- };
- bundleManager.queryAbilityByWant(want,bundleFlags,userId,(err, data) => {
- console.log('SUB_AA_OpenHarmony_Clear_0100 queryAbilityByWant errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- for(var i=0;i {
- console.log('SUB_AA_OpenHarmony_EqueryAbilityByWant_0200 queryAbilityByWant errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- for(var i=0;i {
- console.log('SUB_AA_OpenHarmony_EqueryAbilityByWant_0300 getapplicationInfo errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(data['name']).assertEqual("com.example.abilitydisable");
- })
- done();
- });
-})
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/test/List.test.js b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/test/List.test.js
deleted file mode 100755
index 2a20073318a8774f47c27170e1bb49c564a5fe5b..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/js/test/List.test.js
+++ /dev/null
@@ -1,15 +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('./AbilityDisableTest.js');
diff --git a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/resources/base/element/string.json b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/resources/base/element/string.json
deleted file mode 100755
index 2e8b3cf8ad2f92e47882e62285122d098547a872..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/resources/base/element/string.json
+++ /dev/null
@@ -1,40 +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"
- },
- {
- "name": "description_mainability3",
- "value": "JS_Empty Ability"
- },
- {
- "name": "entry_MainAbility3",
- "value": "entry_MainAbility3"
- },
- {
- "name": "description_mainability4",
- "value": "JS_Empty Ability"
- },
- {
- "name": "entry_MainAbility4",
- "value": "entry_MainAbility4"
- },
- {
- "name": "description_serviceability",
- "value": "hap sample empty service"
- }
- ]
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/resources/base/media/icon.png b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/resources/base/media/icon.png
deleted file mode 100755
index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000
Binary files a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/entry/src/main/resources/base/media/icon.png and /dev/null differ
diff --git a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/signature/openharmony_sx.p7b
deleted file mode 100755
index 66b4457a8a81fb8d3356cf46d67226c850944858..0000000000000000000000000000000000000000
Binary files a/aafwk/aafwk_standard/fa/fa_equeryabilitybywant_test/signature/openharmony_sx.p7b and /dev/null differ
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/Test.json b/aafwk/aafwk_standard/fa/fa_lock_test/Test.json
deleted file mode 100755
index 776b88009d046d24c37fefce8a86504d1b68d5d2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/Test.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "description" : "Configuration for hjunit demo Test",
- "driver": {
- "type" : "JSUnitTest",
- "test-timeout": "180000",
- "package": "com.example.actsabilitydistributetest",
- "shell-timeout": "600000"
- },
- "kits": [
- {
- "test-file-name": [
- "ActsAbilityDistributeTest.hap"
- ],
- "type": "AppInstallKit",
- "cleanup-apps": true
- }
- ]
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/entry/.gitignore b/aafwk/aafwk_standard/fa/fa_lock_test/entry/.gitignore
deleted file mode 100644
index f77260b1509284d42a7f8a2449ad1e8f4b489a3a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/build
-/node_modules
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/entry/build.gradle b/aafwk/aafwk_standard/fa/fa_lock_test/entry/build.gradle
deleted file mode 100644
index f104aa556203da6c8747ad6b6a2481d3f9bd3abd..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/build.gradle
+++ /dev/null
@@ -1,21 +0,0 @@
-apply plugin: 'com.huawei.ohos.hap'
-//For instructions on signature configuration, see https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ide_debug_device-0000001053822404#section1112183053510
-ohos {
- compileSdkVersion 8
- defaultConfig {
- compatibleSdkVersion 8
- }
- buildTypes {
- release {
- proguardOpt {
- proguardEnabled false
- rulesFiles 'proguard-rules.pro'
- }
- }
- }
-}
-
-dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar', '*.har'])
- testImplementation 'junit:junit:4.13.1'
-}
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/entry/package.json b/aafwk/aafwk_standard/fa/fa_lock_test/entry/package.json
deleted file mode 100644
index 69a88e3b65423624fe7ea8b0f8beefcc62cc3d5f..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/package.json
+++ /dev/null
@@ -1 +0,0 @@
-{}
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/entry/proguard-rules.pro b/aafwk/aafwk_standard/fa/fa_lock_test/entry/proguard-rules.pro
deleted file mode 100644
index f7666e47561d514b2a76d5a7dfbb43ede86da92a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/proguard-rules.pro
+++ /dev/null
@@ -1 +0,0 @@
-# config module specific ProGuard rules here.
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/config.json b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/config.json
deleted file mode 100644
index 3923280793e00709142a38ee1f5d9b319e6c816f..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/config.json
+++ /dev/null
@@ -1,185 +0,0 @@
-{
- "app": {
- "bundleName": "com.example.lock",
- "vendor": "example",
- "version": {
- "code": 1000000,
- "name": "1.0.0"
- }
- },
- "deviceConfig": {},
- "module": {
- "package": "com.example.lock",
- "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": "Ability2",
- "name": ".Ability2",
- "srcLanguage": "js",
- "icon": "$media:icon",
- "description": "$string:description_ability2",
- "formsEnabled": false,
- "label": "$string:entry_Ability2",
- "type": "page",
- "launchType": "standard"
- },
- {
- "orientation": "unspecified",
- "srcPath": "Ability1",
- "name": ".Ability1",
- "srcLanguage": "js",
- "icon": "$media:icon",
- "description": "$string:description_ability1",
- "formsEnabled": false,
- "label": "$string:entry_Ability1",
- "type": "page",
- "launchType": "standard"
- },
- {
- "orientation": "unspecified",
- "srcPath": "Ability3",
- "name": ".Ability3",
- "srcLanguage": "js",
- "icon": "$media:icon",
- "description": "$string:description_ability3",
- "formsEnabled": false,
- "label": "$string:entry_Ability3",
- "type": "page",
- "launchType": "standard"
- },
- {
- "orientation": "unspecified",
- "srcPath": "Ability4",
- "name": ".Ability4",
- "srcLanguage": "js",
- "icon": "$media:icon",
- "description": "$string:description_ability4",
- "formsEnabled": false,
- "label": "$string:entry_Ability4",
- "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": ".Ability2",
- "window": {
- "designWidth": 720,
- "autoDesignWidth": false
- }
- },
- {
- "pages": [
- "pages/index/index",
- "pages/second/second"
- ],
- "name": ".Ability1",
- "window": {
- "designWidth": 720,
- "autoDesignWidth": false
- }
- },
- {
- "pages": [
- "pages/index/index",
- "pages/second/second"
- ],
- "name": ".Ability3",
- "window": {
- "designWidth": 720,
- "autoDesignWidth": false
- }
- },
- {
- "pages": [
- "pages/index/index",
- "pages/second/second"
- ],
- "name": ".Ability4",
- "window": {
- "designWidth": 720,
- "autoDesignWidth": false
- }
- }
- ],
- "reqPermissions": [
- {
- "name": "ohos.permission.GET_BUNDLE_INFO",
- "reason": "need use ohos.permission.INSTALL_BUNDLE"
- },
- {
- "name": "ohos.permission.MANAGE_MISSIONS"
- },
- {
- "name": "ohos.permission.INSTALL_BUNDLE",
- "reason": "need use ohos.permission.INSTALL_BUNDLE"
- },
- {
- "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
- "reason": "need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
- },
- {
- "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"
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability1/app.js b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability1/app.js
deleted file mode 100644
index e1ba865385b54e1a7954ab2931cd65f977a4af20..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability1/app.js
+++ /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 commonEvent from '@ohos.commonEvent';
-export default {
- onCreate() {
- console.info("Application onCreate");
- commonEvent.publish("Ability1_onCreate", () => {
- console.log("Ability1_onCreate Publish success");
- });
- },
- onDestroy() {
- console.info("Application onDestroy");
- }
-};
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability1/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability1/i18n/en-US.json
deleted file mode 100644
index 08e34eac912bf2651eefc20e26aa479b5e4e7ec2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability1/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_lock_test/entry/src/main/js/Ability1/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability1/i18n/zh-CN.json
deleted file mode 100644
index 3dd53b3a8b808aec9396fa663cb00ef22ba61e0a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability1/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_lock_test/entry/src/main/js/Ability1/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability1/pages/index/index.css
deleted file mode 100644
index 1eac994500493249e8bfb3bc5f65a1d0fd108e84..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability1/pages/index/index.css
+++ /dev/null
@@ -1,39 +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 {
- 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_lock_test/entry/src/main/js/Ability1/pages/index/index.hml b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability1/pages/index/index.hml
deleted file mode 100644
index 0db6b886ad453b7fd26349ba9d96d0e37921898f..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability1/pages/index/index.hml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability1/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability1/pages/index/index.js
deleted file mode 100644
index 5f01f5d9f3d9cb1e4b8744254da366415336cc4f..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability1/pages/index/index.js
+++ /dev/null
@@ -1,46 +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 router from '@system.router'
-
-export default {
- data: {
- title: ""
- },
- onInit() {
- this.title = this.$t('strings.world');
- },
- onclick: function () {
- router.replace({
- uri: "pages/second/second"
- })
- },
- onShow(){
- console.info('Ability1 onShow');
- commonEvent.publish("Ability1_onShow", () => {
- console.log("Ability1_onShow Publish success");
- });
- },
- onHide(){
- console.info('Ability1 onHide');
- commonEvent.publish("Ability1_onHide", () => {
- console.log("Ability1_onHide Publish success");
- });
- }
-}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability1/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability1/pages/second/second.css
deleted file mode 100644
index 1eac994500493249e8bfb3bc5f65a1d0fd108e84..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability1/pages/second/second.css
+++ /dev/null
@@ -1,39 +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 {
- 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_lock_test/entry/src/main/js/Ability1/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability1/pages/second/second.hml
deleted file mode 100644
index 465a330b8d3e3a6d7a272141040930deffd9afa3..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability1/pages/second/second.hml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
- {{ $t('strings.page') }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability1/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability1/pages/second/second.js
deleted file mode 100644
index 74442edbee3683bbe6924d649d103057e7ae73dd..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability1/pages/second/second.js
+++ /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 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_lock_test/entry/src/main/js/Ability2/app.js b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability2/app.js
deleted file mode 100644
index 6cd5f1dc7090c2564e1cfe39c523784ef829cf6c..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability2/app.js
+++ /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 commonEvent from '@ohos.commonEvent';
-export default {
- onCreate() {
- console.info("Application2 onCreate");
- commonEvent.publish("Ability2_onCreate", () => {
- console.log("Ability2_onCreate Publish success");
- });
- },
- onDestroy() {
- console.info("Application onDestroy");
- }
-};
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability2/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability2/i18n/en-US.json
deleted file mode 100644
index 08e34eac912bf2651eefc20e26aa479b5e4e7ec2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability2/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_lock_test/entry/src/main/js/Ability2/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability2/i18n/zh-CN.json
deleted file mode 100644
index 3dd53b3a8b808aec9396fa663cb00ef22ba61e0a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability2/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_lock_test/entry/src/main/js/Ability2/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability2/pages/index/index.css
deleted file mode 100644
index 1eac994500493249e8bfb3bc5f65a1d0fd108e84..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability2/pages/index/index.css
+++ /dev/null
@@ -1,39 +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 {
- 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_lock_test/entry/src/main/js/Ability2/pages/index/index.hml b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability2/pages/index/index.hml
deleted file mode 100644
index 54c1de319055fc5dee589760be78a13101ab61b2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability2/pages/index/index.hml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability2/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability2/pages/index/index.js
deleted file mode 100644
index 1786fd74e6de36ba60e195a03f49e724ef7ceba1..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability2/pages/index/index.js
+++ /dev/null
@@ -1,46 +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 router from '@system.router'
-
-export default {
- data: {
- title: ""
- },
- onInit() {
- this.title = this.$t('strings.world');
- },
- onclick: function () {
- router.replace({
- uri: "pages/second/second"
- })
- },
- onShow(){
- console.info('Ability2 onShow');
- commonEvent.publish("Ability2_onShow", () => {
- console.log("Ability2_onShow Publish success");
- });
- },
- onHide(){
- console.info('Ability2 onHide');
- commonEvent.publish("Ability2_onHide", () => {
- console.log("Ability2_onHide Publish success");
- });
- }
-}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability2/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability2/pages/second/second.css
deleted file mode 100644
index 1eac994500493249e8bfb3bc5f65a1d0fd108e84..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability2/pages/second/second.css
+++ /dev/null
@@ -1,39 +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 {
- 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_lock_test/entry/src/main/js/Ability2/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability2/pages/second/second.hml
deleted file mode 100644
index 465a330b8d3e3a6d7a272141040930deffd9afa3..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability2/pages/second/second.hml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
- {{ $t('strings.page') }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability2/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability2/pages/second/second.js
deleted file mode 100644
index 74442edbee3683bbe6924d649d103057e7ae73dd..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability2/pages/second/second.js
+++ /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 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_lock_test/entry/src/main/js/Ability3/app.js b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability3/app.js
deleted file mode 100644
index d811b8002dbff577188d046929d81a6ee9fb42fe..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability3/app.js
+++ /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 commonEvent from '@ohos.commonEvent';
-export default {
- onCreate() {
- console.info("Application3 onCreate");
- commonEvent.publish("Ability3_onCreate", () => {
- console.log("Ability3_onCreate Publish success");
- });
- },
- onDestroy() {
- console.info("Application3 onDestroy");
- }
-};
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability3/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability3/i18n/en-US.json
deleted file mode 100644
index 08e34eac912bf2651eefc20e26aa479b5e4e7ec2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability3/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_lock_test/entry/src/main/js/Ability3/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability3/i18n/zh-CN.json
deleted file mode 100644
index 3dd53b3a8b808aec9396fa663cb00ef22ba61e0a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability3/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_lock_test/entry/src/main/js/Ability3/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability3/pages/index/index.css
deleted file mode 100644
index 1eac994500493249e8bfb3bc5f65a1d0fd108e84..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability3/pages/index/index.css
+++ /dev/null
@@ -1,39 +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 {
- 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_lock_test/entry/src/main/js/Ability3/pages/index/index.hml b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability3/pages/index/index.hml
deleted file mode 100644
index 8d6fed37c73ad8ed84f935e7c4c9abb138b72b6a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability3/pages/index/index.hml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability3/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability3/pages/index/index.js
deleted file mode 100644
index eb71854cd2b2d7436dcfe17d2bdacf0ad3b5ec10..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability3/pages/index/index.js
+++ /dev/null
@@ -1,46 +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 router from '@system.router'
-
-export default {
- data: {
- title: ""
- },
- onInit() {
- this.title = this.$t('strings.world');
- },
- onclick: function () {
- router.replace({
- uri: "pages/second/second"
- })
- },
- onShow(){
- console.info('Ability3 onShow');
- commonEvent.publish("Ability3_onShow", () => {
- console.log("Ability3_onShow Publish success");
- });
- },
- onHide(){
- console.info('Ability3 onHide');
- commonEvent.publish("Ability3_onHide", () => {
- console.log("Ability3_onHide Publish success");
- });
- }
-}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability3/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability3/pages/second/second.css
deleted file mode 100644
index 1eac994500493249e8bfb3bc5f65a1d0fd108e84..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability3/pages/second/second.css
+++ /dev/null
@@ -1,39 +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 {
- 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_lock_test/entry/src/main/js/Ability3/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability3/pages/second/second.hml
deleted file mode 100644
index 465a330b8d3e3a6d7a272141040930deffd9afa3..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability3/pages/second/second.hml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
- {{ $t('strings.page') }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability3/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability3/pages/second/second.js
deleted file mode 100644
index 74442edbee3683bbe6924d649d103057e7ae73dd..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability3/pages/second/second.js
+++ /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 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_lock_test/entry/src/main/js/Ability4/app.js b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability4/app.js
deleted file mode 100644
index f72fd3c1c309a99ae77afedee28c7197232739d1..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability4/app.js
+++ /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 commonEvent from '@ohos.commonEvent';
-export default {
- onCreate() {
- console.info("Application onCreate");
- commonEvent.publish("Ability4_onCreate", () => {
- console.log("Ability4_onCreate Publish success");
- });
- },
- onDestroy() {
- console.info("Application onDestroy");
- }
-};
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability4/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability4/i18n/en-US.json
deleted file mode 100644
index 08e34eac912bf2651eefc20e26aa479b5e4e7ec2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability4/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_lock_test/entry/src/main/js/Ability4/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability4/i18n/zh-CN.json
deleted file mode 100644
index 3dd53b3a8b808aec9396fa663cb00ef22ba61e0a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability4/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_lock_test/entry/src/main/js/Ability4/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability4/pages/index/index.css
deleted file mode 100644
index 1eac994500493249e8bfb3bc5f65a1d0fd108e84..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability4/pages/index/index.css
+++ /dev/null
@@ -1,39 +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 {
- 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_lock_test/entry/src/main/js/Ability4/pages/index/index.hml b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability4/pages/index/index.hml
deleted file mode 100644
index 09d5e9976b182fe147306e95b10c4cf569a97f4f..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability4/pages/index/index.hml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability4/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability4/pages/index/index.js
deleted file mode 100644
index afbd8e68ba7f1a3fc80c89d785feee396b3fa359..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability4/pages/index/index.js
+++ /dev/null
@@ -1,42 +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 router from '@system.router'
-
-export default {
- data: {
- title: ""
- },
- onInit() {
- this.title = this.$t('strings.world');
- },
- onclick: function () {
- router.replace({
- uri: "pages/second/second"
- })
- },
- onShow(){
- console.info('Ability4 onShow');
- commonEvent.publish("Ability4_onShow", () => {
- console.log("Ability4_onShow Publish success");
- });
- }
-
-
-}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability4/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability4/pages/second/second.css
deleted file mode 100644
index 1eac994500493249e8bfb3bc5f65a1d0fd108e84..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability4/pages/second/second.css
+++ /dev/null
@@ -1,39 +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 {
- 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_lock_test/entry/src/main/js/Ability4/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability4/pages/second/second.hml
deleted file mode 100644
index 465a330b8d3e3a6d7a272141040930deffd9afa3..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability4/pages/second/second.hml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
- {{ $t('strings.page') }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability4/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability4/pages/second/second.js
deleted file mode 100644
index 74442edbee3683bbe6924d649d103057e7ae73dd..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/Ability4/pages/second/second.js
+++ /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 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_lock_test/entry/src/main/js/MainAbility/app.js b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/MainAbility/app.js
deleted file mode 100644
index af0b18b2da8b5b40f7773da06617bdbb2e1cf2f6..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/MainAbility/app.js
+++ /dev/null
@@ -1,23 +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("Application onCreate");
- },
- onDestroy() {
- console.info("Application MainAbility onDestroy");
- }
-};
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/MainAbility/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/MainAbility/i18n/en-US.json
deleted file mode 100644
index 08e34eac912bf2651eefc20e26aa479b5e4e7ec2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_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_lock_test/entry/src/main/js/MainAbility/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/MainAbility/i18n/zh-CN.json
deleted file mode 100644
index 3dd53b3a8b808aec9396fa663cb00ef22ba61e0a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_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_lock_test/entry/src/main/js/MainAbility/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/MainAbility/pages/index/index.css
deleted file mode 100644
index 1eac994500493249e8bfb3bc5f65a1d0fd108e84..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/MainAbility/pages/index/index.css
+++ /dev/null
@@ -1,39 +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 {
- 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_lock_test/entry/src/main/js/MainAbility/pages/index/index.hml b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/MainAbility/pages/index/index.hml
deleted file mode 100644
index 007f2fef6ec9f38fd628753236edca72609a88fa..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/MainAbility/pages/index/index.hml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
- {{ $t('strings.hello') }} {{ title }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/MainAbility/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/MainAbility/pages/index/index.js
deleted file mode 100644
index 7c5d74b05b4252ca02fe7c44f4e568be48512bf4..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/MainAbility/pages/index/index.js
+++ /dev/null
@@ -1,43 +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 router from '@system.router';
-import {Core} from 'deccjsunit/index';
-
-export default {
- data: {
- title: ""
- },
- onInit() {
- this.title = this.$t('strings.world');
- },
- onclick: function () {
- router.replace({
- uri: "pages/second/second"
- })
- },
- onShow() {
- console.info('onShow start')
- 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_lock_test/entry/src/main/js/MainAbility/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/MainAbility/pages/second/second.css
deleted file mode 100644
index 1eac994500493249e8bfb3bc5f65a1d0fd108e84..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/MainAbility/pages/second/second.css
+++ /dev/null
@@ -1,39 +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 {
- 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_lock_test/entry/src/main/js/MainAbility/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/MainAbility/pages/second/second.hml
deleted file mode 100644
index 465a330b8d3e3a6d7a272141040930deffd9afa3..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/MainAbility/pages/second/second.hml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
- {{ $t('strings.page') }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/MainAbility/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/MainAbility/pages/second/second.js
deleted file mode 100644
index 74442edbee3683bbe6924d649d103057e7ae73dd..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/MainAbility/pages/second/second.js
+++ /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 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_lock_test/entry/src/main/js/test/List.test.js b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/test/List.test.js
deleted file mode 100644
index 499f41fea716f35948cfac56e42ac0d0f9d10c59..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_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('./Lock0200Test.js');
-require('./LockNew.js');
-require('./LockMission.test.js');
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/test/LockMission.test.js b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/test/LockMission.test.js
deleted file mode 100644
index 0a3a273e76072cd45daf792783befd60093d660c..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/test/LockMission.test.js
+++ /dev/null
@@ -1,269 +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 missionManager from "@ohos.application.missionManager";
-
-describe('missionManager', function () {
- console.info("----------------logMessage SUB_AA_OpenHarmony_Lock-------------------");
-
- /*
- * @tc.number SUB_AA_OpenHarmony_Lock_1500
- * @tc.name Locking function abnormal parameter_-1
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_Lock_1500', 0, async function (done) {
- console.info("-------------logMessage SUB_AA_OpenHarmony_Lock_1500---------")
- missionManager.lockMission(-1, (err, data) => {
- console.log('SUB_AA_OpenHarmony_Lock_1500 AsyncCallback errCode : ' +
- JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code != 0).assertTrue();
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_Lock_1800
- * @tc.name Lock function abnormal parameter _number decimal 0.2
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_Lock_1800', 0, async function (done) {
- console.log("------------start SUB_AA_OpenHarmony_Lock_1800-------------");
- var missionId = 0.2;
- setTimeout(() => {
- missionManager.lockMission(missionId).then((data) => {
- console.log("SUB_AA_OpenHarmony_Lock_1800 lockMission data: " +
- JSON.stringify(data));
- }).catch((error) => {
- console.log("SUB_AA_OpenHarmony_Lock_1800 lockMission error: " +
- JSON.stringify(error));
- expect(error.code != 0).assertTrue();
- done();
- })
- }, 1000)
- console.log("------------end SUB_AA_OpenHarmony_Lock_1800-------------");
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_Lock_1900
- * @tc.name Lock function abnormal parameter _number decimal 1.2
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_Lock_1900', 0, async function (done) {
- console.info("------------------logMessage SUB_AA_OpenHarmony_Lock_1900-------------------")
- missionManager.lockMission(1.2, (err, data) => {
- console.log('SUB_AA_OpenHarmony_Lock_1900 AsyncCallback errCode : ' +
- JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(data == undefined).assertTrue();
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_Lock_1700
- * @tc.name Lock function exception parameter _string type is not a number
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_Lock_1700', 0, async function (done) {
- console.info("------------logMessage SUB_AA_OpenHarmony_Lock_1700-----------")
- missionManager.lockMission("A", (err, data) => {
- console.log('SUB_AA_OpenHarmony_Lock_1700 AsyncCallback errCode : ' +
- JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code != 0).assertTrue();
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_Lock_1600
- * @tc.name Lock function exception parameter _string type number
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_Lock_1600', 0, async function (done) {
- console.info("---------------logMessage SUB_AA_OpenHarmony_Lock_1600------------")
- missionManager.lockMission("12", (err, data) => {
- console.log('SUB_AA_OpenHarmony_Lock_1600 AsyncCallback errCode : ' +
- JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code != 0).assertTrue();
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_Lock_1400
- * @tc.name Lock function exception parameter _undefined
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_Lock_1400', 0, async function (done) {
- console.info("---------------logMessage SUB_AA_OpenHarmony_Lock_1400-------------")
- missionManager.lockMission(undefined, (err, data) => {
- console.log('SUB_AA_OpenHarmony_Lock_1400 AsyncCallback errCode : ' +
- JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code != 0).assertTrue();
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_Lock_2200
- * @tc.name Unlock function abnormal parameter_-1
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_Lock_2200', 0, async function (done) {
- console.info("------------------logMessage SUB_AA_OpenHarmony_Lock_2200-------------")
- missionManager.unlockMission(-1, (err, data) => {
- console.log('SUB_AA_OpenHarmony_Lock_2200 AsyncCallback errCode : ' +
- JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code != 0).assertTrue();
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_Lock_2500
- * @tc.name Unlock function abnormal parameter _number decimal 0.2
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_Lock_2500', 0, async function (done) {
- console.info("------------------logMessage SUB_AA_OpenHarmony_Lock_2500--------------")
- missionManager.unlockMission(0.2, (err, data) => {
- console.log('SUB_AA_OpenHarmony_Lock_2500 AsyncCallback errCode : ' +
- JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code != 0).assertTrue();
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_Lock_2400
- * @tc.name Unlock function exception parameter _string type non-numeric
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_Lock_2400', 0, async function (done) {
- console.info("------------------logMessage SUB_AA_OpenHarmony_Lock_2400-----------")
- missionManager.unlockMission("a", (err, data) => {
- console.log('SUB_AA_OpenHarmony_Lock_2400 AsyncCallback errCode : ' +
- JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code != 0).assertTrue();
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_Lock_2300
- * @tc.name Unlock function exception parameter _string type number
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_Lock_2300', 0, async function (done) {
- console.info("------------------logMessage SUB_AA_OpenHarmony_Lock_2300--------------")
- missionManager.unlockMission("123", (err, data) => {
- console.log('SUB_AA_OpenHarmony_Lock_2300 AsyncCallback errCode : ' +
- JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code != 0).assertTrue();
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_Lock_2100
- * @tc.name Unlock function exception parameter _undefined
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_Lock_2100', 0, async function (done) {
- console.info("------------------logMessage SUB_AA_OpenHarmony_Lock_2100--------------")
- missionManager.unlockMission(undefined, (err, data) => {
- console.log('SUB_AA_OpenHarmony_Lock_2100 AsyncCallback errCode : ' +
- JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code != 0).assertTrue();
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_Lock_2600
- * @tc.name Unlock function abnormal parameter _number decimal 1.2
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_Lock_2600', 0, async function (done) {
- console.log("------------SUB_AA_OpenHarmony_Lock_2600-------------");
- var missionId = 1.2;
- setTimeout(() => {
- missionManager.unlockMission(missionId).then((data) => {
- console.log("SUB_AA_OpenHarmony_Lock_2600 unlockMission data: " +
- JSON.stringify(data));
-
- }).catch((error) => {
- console.log("SUB_AA_OpenHarmony_Lock_2600 unlockMission error: " +
- JSON.stringify(error));
- expect(error.code != 0).assertTrue();
- done();
- })
- }, 1000)
- console.log("------------end SUB_AA_OpenHarmony_Lock_2600-------------");
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_Lock_2000
- * @tc.name Repeat lock
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_Lock_2000',0,async function (done){
- console.log("------------start SUB_AA_OpenHarmony_Lock_2000-------------");
- for(var i=0;i<2;i++){
- missionManager.lockMission(1.2, (error, data) => {
- console.log("SUB_AA_OpenHarmony_Lock_0900, twosgetMissionInfos:" +
- JSON.stringify(error) + ", " + JSON.stringify(data));
- expect(data == undefined).assertTrue();
- })
- }
- done();
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_Lock_2700
- * @tc.name Repeat unlock
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_Lock_2700',0,async function (done){
- var missionId = 1.2
- console.log("------------start SUB_AA_OpenHarmony_Lock_2700-------------");
- missionManager.lockMission(missionId, (error, data) => {
- console.log("lockMission info" + JSON.stringify(data));
- })
- missionManager.unlockMission(missionId,(error, data) => {
- for(var i=0;i<2;i++){
- missionManager.unlockMission(missionId,(error, data1) => {
- console.log("unlockMission info" + JSON.stringify(data1));
- expect(data1 == undefined);
- })
- }
- })
- done();
- })
-})
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/test/LockNew.js b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/test/LockNew.js
deleted file mode 100644
index 8b7014a6399d1c3469fb7482639131a2dba8e63b..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/js/test/LockNew.js
+++ /dev/null
@@ -1,376 +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 abilityFeatureAbility from '@ohos.ability.featureAbility';
-import commonEvent from '@ohos.commonEvent';
-
-var START_ABILITY_TIMEOUT = 5000;
-
-describe('LockTest', function () {
- console.log("LockTest --- start");
- var missionArray = [];
- function sleep(numberMillis) {
- var now = new Date();
- var exitTime = now.getTime() + numberMillis;
- while (true) {
- now = new Date();
- if (now.getTime() > exitTime)
- return;
- }
- }
-
- /**
- * @tc.number: SUB_AA_OpenHarmony_Lock_0400
- * @tc.name: wantConstant : Check specific enum
- * @tc.desc: Check the return type of the interface (by Promise)
- */
- it('SUB_AA_OpenHarmony_Lock_0700', 0, async function (done) {
- console.info('=======SUB_AA_OpenHarmony_Lock_0700 step1 start=====startActivity=====');
- abilityFeatureAbility.startAbility({ want: {
- bundleName: "com.example.lock",
- abilityName: "com.example.lock.Ability1"
- } })
- .then((data) => {
- console.info('SUB_AA_OpenHarmony_Lock_0300 startAbility1: ' +
- JSON.stringify(data));
- console.info('SUB_AA_OpenHarmony_Lock_0300 - startAbility2 start: ')
- abilityFeatureAbility.startAbility({ "want": {
- bundleName: "com.example.lock",
- abilityName: "com.example.lock.Ability2"
- } }, (error, data) => {
- console.log('SUB_AA_OpenHarmony_Lock_0300 - startAbility2: ' +
- JSON.stringify(error) + ", " + JSON.stringify(data))
- console.info('SUB_AA_OpenHarmony_Lock_0300 - startAbility3 start');
- abilityFeatureAbility.startAbility({ "want": {
- bundleName: "com.example.lock",
- abilityName: "com.example.lock.Ability3"
- } }, (error, data) => {
- console.log('SUB_AA_OpenHarmony_Lock_0300 - startAbility3: ' +
- JSON.stringify(error) + ", " + JSON.stringify(data))
- console.info('SUB_AA_OpenHarmony_Lock_0300 - startAbility4 start');
- abilityFeatureAbility.startAbility({ "want": {
- bundleName: "com.example.lock",
- abilityName: "com.example.lock.Ability4"
- } }, (error, data) => {
- console.log('SUB_AA_OpenHarmony_Lock_0300 - startAbility4: ' +
- JSON.stringify(error) + ", " + JSON.stringify(data))
- getMissionInfosOne();
- });
- });
- });
- }).catch((error) => {
- console.error('SUB_AA_OpenHarmony_Lock_0700 startAbility1 error ' +
- JSON.stringify(error));
- })
- setTimeout(() => {
- done();
- }, 5000);
- })
-
- function getMissionInfosOne() {
- console.log('=======SUB_AA_OpenHarmony_Lock_0700 step2 start==========getMissionInfos=====');
- missionArray = [];
- missionManager.getMissionInfos('', 500, (err, data) => {
- console.log('SUB_AA_OpenHarmony_Lock_0700 getMissionInfo err: '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code == 0).assertTrue();
- var i;
- for (i = 0; i < data.length; i++) {
- console.log("getMissionInfos return1 " + JSON.stringify(data[i]));
- if (data[i].want.abilityName == 'com.example.lock.Ability1' &&
- data[i].runningState == 0) {
- missionArray[0] = new Object();
- missionArray[0].id = data[i].missionId;
- missionArray[0].name = data[i].want.abilityName;
- }
- if (data[i].want.abilityName == 'com.example.lock.Ability2' &&
- data[i].runningState == 0) {
- missionArray[1] = new Object();
- missionArray[1].id = data[i].missionId;
- missionArray[1].name = data[i].want.abilityName;
- }
- if (data[i].want.abilityName == 'com.example.lock.Ability3' &&
- data[i].runningState == 0) {
- missionArray[2] = new Object();
- missionArray[2].id = data[i].missionId;
- missionArray[2].name = data[i].want.abilityName;
- }
- if (data[i].want.abilityName == 'com.example.lock.Ability4' &&
- data[i].runningState == 0) {
- missionArray[3] = new Object();
- missionArray[3].id = data[i].missionId;
- missionArray[3].name = data[i].want.abilityName;
- }
- if (data[i].want.abilityName == 'com.example.lock.MainAbility' &&
- data[i].runningState == 0) {
- missionArray[4] = new Object();
- missionArray[4].id = data[i].missionId;
- missionArray[4].name = data[i].want.abilityName;
- }
- }
- console.log("###" + JSON.stringify(missionArray));
- expect(missionArray.length == 5).assertTrue();
- lockMissionMy();
- })
- }
-
- function lockMissionMy() {
- console.log('===============SUB_AA_OpenHarmony_Lock_0700 step3 start=====lockMission======');
- console.log('SUB_AA_OpenHarmony_Lock_0700 missionArray' + JSON.stringify(missionArray));
- var i;
- var j = 0;
- for (i = 0; i < missionArray.length; i++) {
- if (missionArray[i].name == 'com.example.lock.Ability1' || missionArray[i].name ==
- 'com.example.lock.Ability4'|| missionArray[i].name == 'com.example.lock.MainAbility') {
- console.log('SUB_AA_OpenHarmony_Lock_0700 j===' + j);
- console.log('SUB_AA_OpenHarmony_Lock_0700 ' + JSON.stringify(missionArray[i].id));
- missionManager.lockMission(missionArray[i].id, (err, data) => {
- console.log('SUB_AA_OpenHarmony_Lock_0700 lockMission err:'
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(data == undefined).assertTrue();
- j++;
- if (j == 3) {
- getMissionInfosTest();
- //clearAllMission();
- }
- })
- }
- }
- }
-
- function unlockMissionTest() {
- console.log('===============SUB_AA_OpenHarmony_Lock_0700 step6 start=====unLockMission======');
- console.log("unlockMissionMy start " + JSON.stringify(missionArray));
- missionManager.unlockMission(missionArray[1].id, (err, data) => {
- console.log('SUB_AA_OpenHarmony_Lock_0700 unlockMission err:'
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(data == undefined).assertTrue();
- });
- }
-
- function getMissionInfosTest(){
- console.log('==========SUB_AA_OpenHarmony_Lock_0700 step5 start=====getMissionInfosTest======');
- missionArray = []
- missionManager.getMissionInfos('', 500, (err, data) => {
- console.log('getMissionInfosTwo getMissionInfos4 err: '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code == 0).assertTrue();
- var i;
- for (i = 0; i < data.length; i++) {
- console.log("getMissionInfos return1 " + JSON.stringify(data[i]));
- if (data[i].want.abilityName == 'com.example.lock.Ability1' &&
- data[i].runningState == 0) {
- expect(data[i].lockedState == true).assertTrue();
- expect(data[i].timestamp != 0).assertTrue();
- expect(data[i].label).assertEquals("$string:entry_MainAbility");
- missionArray[0] = new Object();
- missionArray[0].id = data[i].missionId;
- missionArray[0].name = data[i].want.abilityName;
- }
- if (data[i].want.abilityName == 'com.example.lock.Ability4' &&
- data[i].runningState == 0) {
- expect(data[i].lockedState == true).assertTrue();
- expect(data[i].timestamp != 0).assertTrue();
- expect(data[i].label).assertEquals("$string:entry_MainAbility");
- missionArray[1] = new Object();
- missionArray[1].id = data[i].missionId;
- missionArray[1].name = data[i].want.abilityName;
- }
- }
- console.log("###" + JSON.stringify(missionArray));
- console.log("###" + JSON.stringify(missionArray.length));
- expect(missionArray.length == 2).assertTrue();
- unlockMissionTest();
- })
- }
-
- function clearAllMission(done) {
- console.log('==========SUB_AA_OpenHarmony_Lock_0700 step4 start=====clearAllMissions======');
- missionManager.clearAllMissions((err, data) => {
- console.log('getMissionInfosTwo clearAllMission err: '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- getMissionInfosTwo();
- });
- }
-
- function getMissionInfosTwo(done) {
- console.log('==========SUB_AA_OpenHarmony_Lock_0700 step5 start=====getMissionInfos======');
- missionArray = []
- missionManager.getMissionInfos('', 500, (err, data) => {
- console.log('getMissionInfosTwo getMissionInfo err: '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code == 0).assertTrue();
- var i;
- for (i = 0; i < data.length; i++) {
- console.log("getMissionInfos return1 " + JSON.stringify(data[i]));
- if (data[i].want.abilityName == 'com.example.lock.Ability1' &&
- data[i].runningState == 0) {
- expect(data[i].lockedState == true).assertTrue();
- missionArray[0] = new Object();
- missionArray[0].id = data[i].missionId;
- missionArray[0].name = data[i].want.abilityName;
- }
- if (data[i].want.abilityName == 'com.example.lock.Ability2') {
- expect().assertFail();
- }
- if (data[i].want.abilityName == 'com.example.lock.Ability3' &&
- data[i].runningState == 0) {
- expect().assertFail();
- }
- if (data[i].want.abilityName == 'com.example.lock.Ability4' &&
- data[i].runningState == 0) {
- expect(data[i].lockedState == true).assertTrue();
- missionArray[1] = new Object();
- missionArray[1].id = data[i].missionId;
- missionArray[1].name = data[i].want.abilityName;
- }
- }
- console.log("###" + JSON.stringify(missionArray));
- console.log("###" + JSON.stringify(missionArray.length));
- done();
- expect(missionArray.length == 2).assertTrue();
- //unlockMissionMy();
- })
- }
-
- function unlockMissionMy() {
- console.log('===========SUB_AA_OpenHarmony_Lock_0700 step6 start=====unLockMission======');
- console.log("unlockMissionMy start " + JSON.stringify(missionArray));
- missionManager.unlockMission(missionArray[1].id, (err, data) => {
- console.log('SUB_AA_OpenHarmony_Lock_0700 unlockMission err:'
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(data == undefined).assertTrue();
- clearAllMission2();
- });
- }
-
- function clearAllMission2(done) {
- console.log('===========SUB_AA_OpenHarmony_Lock_0700 step7 start=====clearAllMissions======');
- var myEvents = {
- events:
- [
- "Ability1_onShow",
- "Ability4_onDestroy"
- ]
- };
- var Subscriber;
- let id;
- var data = [];
-
- function SubscribeCallBack(err, data) {
- console.debug("beforeAll====>Subscribe CallBack data:====>" + JSON.stringify(data));
- switch (data.event) {
- case "Ability1_onShow":
- console.log("Ability1_onShow");
- data[0] = "Ability1_onCreate";
- break;
- case "Ability4_onDestroy":
- console.log("Ability4_onDestroy");
- data[1] = "Ability2_onCreate";
- break;
- default:
- }
- if (data.length == 2) {
- clearTimeout(id);
- commonEvent.unsubscribe(Subscriber, UnSubscribeCallback);
-
- }
- };
- commonEvent.createSubscriber(myEvents).then(async (data) => {
- console.debug("SUB_AA_OpenHarmony_Lock_0400====>Create Subscriber====>");
- Subscriber = data;
- console.log("SUB_AA_OpenHarmony_Lock_0700 Subscriber " + JSON.stringify(Subscriber));
- await commonEvent.subscribe(Subscriber, SubscribeCallBack);
- }).catch((error) => {
- console.error('Operation failed. Cause: ' + JSON.stringify(error));
- done();
- });
-
- function UnSubscribeCallback() {
- console.debug("====>UnSubscribe CallBack====>");
- }
-
- function timeout() {
- expect().assertFail();
- console.debug('SUB_AA_OpenHarmony_Lock_0700=====timeout======');
- commonEvent.unsubscribe(Subscriber, UnSubscribeCallback);
- done();
- }
-
- id = setTimeout(timeout, START_ABILITY_TIMEOUT);
-
- missionManager.clearAllMissions();
- sleep(500);
- getMissionInfosThree();
- }
-
- function getMissionInfosThree(done) {
- console.log('===========SUB_AA_OpenHarmony_Lock_0700 step8 start=====getMissonInfos======');
- missionArray = [];
- missionManager.getMissionInfos('', 500, (err, data) => {
- console.log('getMissionInfosThree getMissionInfo err: '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code == 0).assertTrue();
- var i;
- for (i = 0; i < data.length; i++) {
- console.log("getMissionInfos return1 " + JSON.stringify(data[i]));
- if (data[i].want.abilityName == 'com.example.lock.Ability1' &&
- data[i].runningState == 0) {
- expect(data[i].lockedState == true).assertTrue();
- missionArray[0] = new Object();
- missionArray[0].id = data[i].missionId;
- missionArray[0].name = data[i].want.abilityName;
- }
- if (data[i].want.abilityName == 'com.example.lock.Ability2') {
- expect().assertFail();
- done();
- }
- if (data[i].want.abilityName == 'com.example.lock.Ability3' &&
- data[i].runningState == 0) {
- expect().assertFail();
- done();
- }
- if (data[i].want.abilityName == 'com.example.lock.Ability4' &&
- data[i].runningState == 0) {
- expect().assertFail();
- done();
- }
- }
- console.log("###" + JSON.stringify(missionArray));
- expect(missionArray.length == 1).assertTrue();
- console.log('===============SUB_AA_OpenHarmony_Lock_0700 step9 start===========');
- console.info('LockTest TearDown: ' + JSON.stringify(missionArray));
- var i;
- for (i = 0; i < missionArray.length; i++) {
- missionManager.unlockMission(missionArray[i].id, (err, data) => {
- console.log('SUB_AA_OpenHarmony_Lock_0700 unlockMission err:'
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(data == undefined).assertTrue();
- missionManager.clearAllMissions();
- if (i == missionArray.length) {
- console.info('LockTest - myTearDown: done');
- missionManager.clearAllMissions();
- done();
- }
- console.info('LockTest - myTearDown%%: i' + i);
- console.info('LockTest - myTearDown%%: length' + missionArray.length);
- });
- }
- })
- }
-}
-)
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/resources/base/element/string.json b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/resources/base/element/string.json
deleted file mode 100644
index 03038ecbb33b0e8c2e789cb7fd1269966a738d3d..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/resources/base/element/string.json
+++ /dev/null
@@ -1,44 +0,0 @@
-{
- "string": [
- {
- "name": "entry_MainAbility",
- "value": "entry_MainAbility"
- },
- {
- "name": "description_mainability",
- "value": "JS_Empty Ability"
- },
- {
- "name": "description_ability2",
- "value": "JS_Empty Ability"
- },
- {
- "name": "entry_Ability2",
- "value": "entry_Ability2"
- },
- {
- "name": "description_ability1",
- "value": "JS_Empty Ability"
- },
- {
- "name": "entry_Ability1",
- "value": "entry_Ability1"
- },
- {
- "name": "description_ability3",
- "value": "JS_Empty Ability"
- },
- {
- "name": "entry_Ability3",
- "value": "entry_Ability3"
- },
- {
- "name": "description_ability4",
- "value": "JS_Empty Ability"
- },
- {
- "name": "entry_Ability4",
- "value": "entry_Ability4"
- }
- ]
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/resources/base/media/icon.png b/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/resources/base/media/icon.png
deleted file mode 100644
index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000
Binary files a/aafwk/aafwk_standard/fa/fa_lock_test/entry/src/main/resources/base/media/icon.png and /dev/null differ
diff --git a/aafwk/aafwk_standard/fa/fa_lock_test/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/fa/fa_lock_test/signature/openharmony_sx.p7b
deleted file mode 100755
index 66b4457a8a81fb8d3356cf46d67226c850944858..0000000000000000000000000000000000000000
Binary files a/aafwk/aafwk_standard/fa/fa_lock_test/signature/openharmony_sx.p7b and /dev/null differ
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/BUILD.gn b/aafwk/aafwk_standard/fa/fa_missionmanager_test/BUILD.gn
deleted file mode 100644
index 69a545bdf2af346807e2987b8ad6f7e8348a15f0..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_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("FaMissionmanagerTest") {
- hap_profile = "./entry/src/main/config.json"
- deps = [
- ":fa_missionmanager_test_assets",
- ":fa_missionmanager_test_resources",
- ]
- certificate_profile = "./signature/openharmony_sx.p7b"
- hap_name = "FaMissionmanagerTest"
-}
-ohos_js_assets("fa_missionmanager_test_assets") {
- source_dir = "./entry/src/main/js/MainAbility"
-}
-ohos_resources("fa_missionmanager_test_resources") {
- sources = [ "./entry/src/main/resources" ]
- hap_profile = "./entry/src/main/config.json"
-}
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/Test.json b/aafwk/aafwk_standard/fa/fa_missionmanager_test/Test.json
deleted file mode 100644
index 776b88009d046d24c37fefce8a86504d1b68d5d2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/Test.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "description" : "Configuration for hjunit demo Test",
- "driver": {
- "type" : "JSUnitTest",
- "test-timeout": "180000",
- "package": "com.example.actsabilitydistributetest",
- "shell-timeout": "600000"
- },
- "kits": [
- {
- "test-file-name": [
- "ActsAbilityDistributeTest.hap"
- ],
- "type": "AppInstallKit",
- "cleanup-apps": true
- }
- ]
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/.gitignore b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/.gitignore
deleted file mode 100644
index f77260b1509284d42a7f8a2449ad1e8f4b489a3a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/build
-/node_modules
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/build.gradle b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/build.gradle
deleted file mode 100644
index c40c1f08c819a404fc2312634d97bee84d939ba3..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/build.gradle
+++ /dev/null
@@ -1,21 +0,0 @@
-apply plugin: 'com.huawei.ohos.hap'
-//For instructions on signature configuration, see https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ide_debug_device-0000001053822404#section1112183053510
-ohos {
- compileSdkVersion 8
- defaultConfig {
- compatibleSdkVersion 7
- }
- buildTypes {
- release {
- proguardOpt {
- proguardEnabled false
- rulesFiles 'proguard-rules.pro'
- }
- }
- }
-}
-
-dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar', '*.har'])
- testImplementation 'junit:junit:4.13.1'
-}
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/package.json b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/package.json
deleted file mode 100644
index 69a88e3b65423624fe7ea8b0f8beefcc62cc3d5f..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/package.json
+++ /dev/null
@@ -1 +0,0 @@
-{}
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/proguard-rules.pro b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/proguard-rules.pro
deleted file mode 100644
index f7666e47561d514b2a76d5a7dfbb43ede86da92a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/proguard-rules.pro
+++ /dev/null
@@ -1 +0,0 @@
-# config module specific ProGuard rules here.
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/config.json b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/config.json
deleted file mode 100644
index d620977247efd0c18a25b4ad7001b39f07ae4307..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/config.json
+++ /dev/null
@@ -1,70 +0,0 @@
-{
- "app": {
- "bundleName": "com.example.missionmanager",
- "vendor": "example",
- "version": {
- "code": 1000000,
- "name": "1.0.0"
- }
- },
- "deviceConfig": {},
- "module": {
- "package": "com.example.missionmanager",
- "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"
- }
- ],
- "js": [
- {
- "pages": [
- "pages/index/index",
- "pages/second/second"
- ],
- "name": ".MainAbility",
- "window": {
- "designWidth": 720,
- "autoDesignWidth": false
- }
- }
- ],"reqPermissions": [
- {"name":"ohos.permission.MANAGE_LOCAL_ACCOUNTS"},
- {"name":"ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS_EXTENSION"},
- {"name":"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"},
- {"name":"ohos.permission.MANAGE_MISSIONS"}
- ]
-
- }
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/js/MainAbility/app.js b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/js/MainAbility/app.js
deleted file mode 100644
index 4aa26e97db9a4d3bc968eb070305e3867d4ac344..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/js/MainAbility/app.js
+++ /dev/null
@@ -1,22 +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("Application onCreate");
- },
- onDestroy() {
- console.info("Application onDestroy");
- }
-};
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/js/MainAbility/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/js/MainAbility/i18n/en-US.json
deleted file mode 100644
index 08e34eac912bf2651eefc20e26aa479b5e4e7ec2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_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_missionmanager_test/entry/src/main/js/MainAbility/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/js/MainAbility/i18n/zh-CN.json
deleted file mode 100644
index 3dd53b3a8b808aec9396fa663cb00ef22ba61e0a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_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_missionmanager_test/entry/src/main/js/MainAbility/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/js/MainAbility/pages/index/index.css
deleted file mode 100644
index eccbd6a730583b438049440bee2e790904a16c30..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/js/MainAbility/pages/index/index.css
+++ /dev/null
@@ -1,38 +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 {
- 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_missionmanager_test/entry/src/main/js/MainAbility/pages/index/index.hml b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/js/MainAbility/pages/index/index.hml
deleted file mode 100644
index 2084461fb2f40fa97a774ee5c9a5ae22fb0411b8..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/js/MainAbility/pages/index/index.hml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- {{ $t('strings.hello') }} {{ title }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/js/MainAbility/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/js/MainAbility/pages/index/index.js
deleted file mode 100644
index c3e04753f70ff26cd64627e853afaa437e01600c..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/js/MainAbility/pages/index/index.js
+++ /dev/null
@@ -1,51 +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 router from '@system.router'
-import {Core} from 'deccjsunit/index'
-
-export default {
- data: {
- title: ""
- },
- onInit() {
- this.title = this.$t('strings.world');
- },
- onShow() {
- console.info('onShow finish1')
- const core = Core.getInstance()
- console.info('onShow finish2')
- core.init()
- console.info('onShow finish3')
-
- const configService = core.getDefaultService('config')
- console.info('onShow finish4')
-
- configService.setConfig(this)
- console.info('onShow finish5')
-
- require('../../../test/List.test.js')
- console.info('onShow finish6')
- core.execute()
- console.info('onShow finish7')
- },
- onclick: function () {
- router.replace({
- uri: "pages/second/second"
- })
- }
-}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/js/MainAbility/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/js/MainAbility/pages/second/second.css
deleted file mode 100644
index eccbd6a730583b438049440bee2e790904a16c30..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/js/MainAbility/pages/second/second.css
+++ /dev/null
@@ -1,38 +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 {
- 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_missionmanager_test/entry/src/main/js/MainAbility/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/js/MainAbility/pages/second/second.hml
deleted file mode 100644
index f5433cccb2beadd4dae61b4c40f6b6d5b0112d16..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_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_missionmanager_test/entry/src/main/js/MainAbility/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/js/MainAbility/pages/second/second.js
deleted file mode 100644
index 87aeb3a2a55bd87e95be3c658902b7430e8943d7..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/js/MainAbility/pages/second/second.js
+++ /dev/null
@@ -1,26 +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 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_missionmanager_test/entry/src/main/js/test/List.test.js b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/js/test/List.test.js
deleted file mode 100644
index 70e9c38662f9c716103bf04fbf83fb692b090a4a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/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('./MissionManager.test.js');
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/js/test/MissionManager.test.js b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/js/test/MissionManager.test.js
deleted file mode 100644
index c46e244f1d0e87427c021eaf9ca529dfe44c57a9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/js/test/MissionManager.test.js
+++ /dev/null
@@ -1,183 +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 featureAbility from '@ohos.ability.featureAbility';
-import missionManager from "@ohos.application.missionManager";
-import commonEvent from '@ohos.commonEvent';
-describe('missionManager', function () {
- console.info("------------------logMessage SUB_AA_OpenHarmony_MissionManager_6500-------------------");
- var missionIds = [];
- var timestamps = [];
- var ability1LifeEventsonHide = {
- events : [
- "singletonEntry2Ability1_onHide",
- ]
- }
- var ability1LifeEvents = {
- events : ["singletonEntry2Ability1_onShow",
- "singletonEntry2Ability1_onHide",
- "singletonEntry2Ability1_onInactive",
- "singletonEntry2Ability1_onDestroy"]
- }
- var listKey = [""];
- var Subscriber = "";
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MissionManager_6500
- * @tc.name The timestamp of the verification ability will change
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MissionManager_6500', 0, async function (done) {
- listKey = [""];
- function SubscribeCallBack(error, data) {
- console.log(" Subscribe CallBack data:" + JSON.stringify(data));
- if(data.event == "singletonEntry2Ability1_onHide"){
- listKey[0] = "onHide";
- console.log("print listKey" + listKey);
- }
- }
- commonEvent.createSubscriber(ability1LifeEventsonHide).then(async (data) => {
- Subscriber = data;
- await commonEvent.subscribe(Subscriber, SubscribeCallBack);
- });
- setTimeout(function () {
- featureAbility.startAbility(
- { want: {
- bundleName: "com.example.missionmanager",
- abilityName: "com.example.entry2.MainAbility"
- } }, (error, data) => {
- console.log('SUB_AA_OpenHarmony_MissionManager_6500 - startAbility1: '
- + JSON.stringify(error) + ", " + JSON.stringify(data))
- });
- }, 1000)
- setTimeout(()=>{
- missionManager.getMissionInfos('', 100, (error, data) => {
- console.log("SUB_AA_OpenHarmony_MissionManager_6500, twosgetMissionInfos:" + JSON.stringify(data));
- for (var i = 0;i < data.length; i++) {
- console.log('aaaa' + JSON.stringify(data[i].missionId)+"::"+data[i]["want"].abilityName);
- if (data[i].want.abilityName == "com.example.entry2.MainAbility"){
- console.log("uuuuu"+ JSON.stringify(data[i].want.abilityName));
- missionIds.push(data[i].missionId);
- timestamps.push(data[i].timestamp);
- } else if ([i].want.abilityName != "com.example.entry2.MainAbility"){
- console.log("failed222222222222");
- }
- };
- })
- },1000)
- setTimeout(function () {
- featureAbility.startAbility(
- { want: {
- bundleName: "com.example.missionmanager",
- abilityName: "com.example.entry2.MainAbility2"
- } }, (error, data) => {
- console.log('SUB_AA_OpenHarmony_MissionManager_6500 - startAbility2: ' +
- JSON.stringify(error) + ", " + JSON.stringify(data))
- console.log("print listKey111" + listKey);
- setTimeout(function () {
- expect(listKey[0] == "onHide").assertTrue();
- done();
- }, 3000)
- });
- }, 1300)
- setTimeout(()=>{
- console.log("ttttyyyyy" + missionIds+":::"+timestamps[0]);
- for(var i=0;i {
- console.log("SUB_AA_OpenHarmony_MissionManager_6500, infos2:" + JSON.stringify(data) + "");
- console.log(data.timestamp+"::::"+timestamps[1]);
- expect(data.timestamp == timestamps[1]).assertTrue();
- })
- }
- },2000)
- console.log("------------end start SUB_AA_OpenHarmony_MissionManager_6500-------------");
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MissionManager_6400
- * @tc.name Verify the continuable information in the missionInfo of the ability obtained by getMissionInfos
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MissionManager_6400', 0, async function (done) {
- console.log("------------start SUB_AA_OpenHarmony_MissionManager_6400-------------");
- var TAG = "SUB_AA_OpenHarmony_MissionManager_6400";
- var missionInfo = ["","","","","","","","","",""];
- setTimeout(function () {
- featureAbility.startAbility(
- { want: {
- bundleName: "com.example.myapplication3",
- abilityName: "com.example.entry2.MainAbility1"
- } }, (error, data) => {
- console.log('SUB_AA_OpenHarmony_MissionManager_6400 - startAbility: '
- + JSON.stringify(error) + ", " + JSON.stringify(data))
- });
- }, 1000)
- console.log("------------end start SUB_AA_OpenHarmony_MissionManager_6400-------------");
- setTimeout(()=>{
- missionManager.getMissionInfos('', 10, (err, data) => {
- console.log("SUB_AA_OpenHarmony_MissionManager_6400, twosgetMissionInfos:" + JSON.stringify(data));
- for (var i = 0;i < data.length; i++) {
- missionInfo[i] = data[i];
- console.log('qweqweqweqweqwe' + JSON.stringify(missionInfo[i].continuable));
- if(missionInfo[i].want.abilityName == "com.example.entry2.MainAbility1"){
- expect(missionInfo[i].continuable == false).assertTrue();
- };
- }
- })
- },1000)
- done();
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MissionManager_6300
- * @tc.name Verify the want information in the missionInfo of the ability obtained by getMissionInfos
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MissionManager_6300', 0, async function (done) {
- console.log("------------start SUB_AA_OpenHarmony_MissionManager_6300-------------");
- var TAG = "SUB_AA_OpenHarmony_MissionManager_6300";
- var missionInfo = ["","","","","","","","","",""];
- setTimeout(function () {
- featureAbility.startAbility(
- { want: {
- bundleName: "com.example.myapplication3",
- abilityName: "com.example.entry2.MainAbility1"
- } }, (error, data) => {
- console.log('SUB_AA_OpenHarmony_MissionManager_6300 - startAbility: '
- + JSON.stringify(error) + ", " + JSON.stringify(data))
- });
- }, 1000)
- console.log("------------end start SUB_AA_OpenHarmony_MissionManager_6300-------------");
- setTimeout(()=>{
- missionManager.getMissionInfos('', 10, (err, data) => {
- console.log("SUB_AA_OpenHarmony_MissionManager_6300, twosgetMissionInfos:" + JSON.stringify(data));
- for (var i = 0;i < data.length; i++) {
- missionInfo[i] = data[i];
- console.log('qweqweqweqweqwe' + JSON.stringify(missionInfo[i].want));
- if(missionInfo[i].want.abilityName == "com.example.entry2.MainAbility1"){
- if(missionInfo[i].want.bundleName == "com.example.myapplication3"){
- console.log('weweqqq');
- expect(missionInfo[i].want.bundleName == "com.example.myapplication3").assertTrue();
- }
- };
- }
- })
- },1000)
- done();
- })
-})
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/resources/base/element/string.json b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/resources/base/element/string.json
deleted file mode 100644
index d1321867f15bbb87342c4263a8579a7c1b6f68c6..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/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": "JS_Empty Ability"
- }
- ]
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/resources/base/media/icon.png b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/resources/base/media/icon.png
deleted file mode 100644
index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000
Binary files a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry/src/main/resources/base/media/icon.png and /dev/null differ
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/.gitignore b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/.gitignore
deleted file mode 100644
index f77260b1509284d42a7f8a2449ad1e8f4b489a3a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/build
-/node_modules
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/build.gradle b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/build.gradle
deleted file mode 100644
index 486ae0316289af62d5b962214b706aefc3af62db..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/build.gradle
+++ /dev/null
@@ -1,23 +0,0 @@
-apply plugin: 'com.huawei.ohos.hap'
-//For instructions on signature configuration, see https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ide_debug_device-0000001053822404#section1112183053510
-ohos {
- compileSdkVersion 8
- defaultConfig {
- compatibleSdkVersion 7
- }
- buildTypes {
- release {
- proguardOpt {
- proguardEnabled false
- rulesFiles 'proguard-rules.pro'
- }
- }
- }
- entryModules "entry"
-}
-
-dependencies {
- entryImplementation project(':entry')
- implementation fileTree(dir: 'libs', include: ['*.jar', '*.har'])
- testImplementation 'junit:junit:4.13.1'
-}
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/package.json b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/package.json
deleted file mode 100644
index 69a88e3b65423624fe7ea8b0f8beefcc62cc3d5f..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/package.json
+++ /dev/null
@@ -1 +0,0 @@
-{}
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/proguard-rules.pro b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/proguard-rules.pro
deleted file mode 100644
index f7666e47561d514b2a76d5a7dfbb43ede86da92a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/proguard-rules.pro
+++ /dev/null
@@ -1 +0,0 @@
-# config module specific ProGuard rules here.
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/config.json b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/config.json
deleted file mode 100644
index 4b11ab57bf96d6c6b147e08fa852d20759ee77a6..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/config.json
+++ /dev/null
@@ -1,83 +0,0 @@
-{
- "app": {
- "bundleName": "com.example.missionmanager",
- "vendor": "example",
- "version": {
- "code": 1000000,
- "name": "1.0.0"
- }
- },
- "deviceConfig": {},
- "module": {
- "package": "com.example.entry2",
- "name": ".MyApplication",
- "mainAbility": ".MainAbility",
- "srcPath": "",
- "deviceType": [
- "phone"
- ],
- "distro": {
- "deliveryWithInstall": true,
- "moduleName": "entry2",
- "moduleType": "feature",
- "installationFree": false
- },
- "abilities": [
- {
- "orientation": "unspecified",
- "visible": true,
- "srcPath": "MainAbility",
- "name": ".MainAbility",
- "srcLanguage": "js",
- "icon": "$media:icon",
- "description": "$string:description_mainability",
- "formsEnabled": false,
- "label": "$string:entry2_MainAbility",
- "type": "page",
- "launchType": "standard"
- },
- {
- "orientation": "unspecified",
- "visible": true,
- "srcPath": "MainAbility2",
- "name": ".MainAbility2",
- "srcLanguage": "js",
- "icon": "$media:icon",
- "description": "$string:description_mainability2",
- "formsEnabled": false,
- "label": "$string:entry2_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
- }
- }
- ],"reqPermissions": [
- {"name":"ohos.permission.MANAGE_LOCAL_ACCOUNTS"},
- {"name":"ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS_EXTENSION"},
- {"name":"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"},
- {"name":"ohos.permission.MANAGE_MISSIONS"}
- ]
- }
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility/app.js b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility/app.js
deleted file mode 100644
index 4aa26e97db9a4d3bc968eb070305e3867d4ac344..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility/app.js
+++ /dev/null
@@ -1,22 +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("Application onCreate");
- },
- onDestroy() {
- console.info("Application onDestroy");
- }
-};
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility/i18n/en-US.json
deleted file mode 100644
index 08e34eac912bf2651eefc20e26aa479b5e4e7ec2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/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_missionmanager_test/entry2/src/main/js/MainAbility/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility/i18n/zh-CN.json
deleted file mode 100644
index 3dd53b3a8b808aec9396fa663cb00ef22ba61e0a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/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_missionmanager_test/entry2/src/main/js/MainAbility/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility/pages/index/index.css
deleted file mode 100644
index eccbd6a730583b438049440bee2e790904a16c30..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility/pages/index/index.css
+++ /dev/null
@@ -1,38 +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 {
- 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_missionmanager_test/entry2/src/main/js/MainAbility/pages/index/index.hml b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility/pages/index/index.hml
deleted file mode 100644
index 2084461fb2f40fa97a774ee5c9a5ae22fb0411b8..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility/pages/index/index.hml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- {{ $t('strings.hello') }} {{ title }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility/pages/index/index.js
deleted file mode 100644
index c1a44c6675de6cc31bae8da8054aae47382d4dfd..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility/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 router from '@system.router'
-import {Core} from 'deccjsunit/index'
-import commonEvent from '@ohos.commonEvent';
-
-export default {
- data: {
- title: "",
- text: ""
- },
- onInit() {
- this.title = this.$t('strings.world22222');
- this.text = "This is entry MainAbility"
- },
-
- onShow() {
- console.info("singletonEntry2Ability1_onShow");
- commonEvent.publish("singletonEntry2Ability1_onShow", () =>{
- console.log("singletonEntry2Ability1 publish callback singletonEntry2Ability1_onShow")
- });
- },
-
- onHide(){
- console.info("singletonEntry2Ability1_onHide");
- commonEvent.publish("singletonEntry2Ability1_onHide", () =>{
- console.log("singletonEntry2Ability1 publish callback singletonEntry2Ability1_onHide")
- });
- },
-
- onActive(){
- console.info("singletonEntry2Ability1_onActive");
- commonEvent.publish("singletonEntry2Ability1_onActive", () =>{
- console.log("singletonEntry2Ability1 publish callback singletonEntry2Ability1_onActive")
- });
-
- },
-
- onInactive(){
- console.info("singletonEntry2Ability1_onInactive");
- commonEvent.publish("singletonEntry2Ability1_onInactive", () =>{
- console.log("singletonEntry2Ability1 publish callback singletonEntry2Ability1_onInactive")
- });
- },
-
- onclick: function () {
- router.replace({
- uri: "pages/second/second"
- })
- }
-
-}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility/pages/second/second.css
deleted file mode 100644
index 31a367638424feefb8cc68f60cb809bef8443197..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility/pages/second/second.css
+++ /dev/null
@@ -1,24 +0,0 @@
-.container {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- left: 0px;
- top: 0px;
- width: 100%;
- height: 100%;
-}
-
-.title {
- font-size: 60px;
- text-align: center;
- width: 100%;
- height: 40%;
- margin: 10px;
-}
-
-.btn {
- width: 50%;
- height: 100px;
- font-size: 40px;
-}
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility/pages/second/second.hml
deleted file mode 100644
index d75ce9375e151799d8f0a9ad4cb56138751561d3..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility/pages/second/second.hml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
- {{ $t('strings.page') }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility/pages/second/second.js
deleted file mode 100644
index 74442edbee3683bbe6924d649d103057e7ae73dd..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility/pages/second/second.js
+++ /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 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_missionmanager_test/entry2/src/main/js/MainAbility2/app.js b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility2/app.js
deleted file mode 100644
index 4aa26e97db9a4d3bc968eb070305e3867d4ac344..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility2/app.js
+++ /dev/null
@@ -1,22 +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("Application onCreate");
- },
- onDestroy() {
- console.info("Application onDestroy");
- }
-};
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility2/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility2/i18n/en-US.json
deleted file mode 100644
index 08e34eac912bf2651eefc20e26aa479b5e4e7ec2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/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_missionmanager_test/entry2/src/main/js/MainAbility2/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility2/i18n/zh-CN.json
deleted file mode 100644
index 3dd53b3a8b808aec9396fa663cb00ef22ba61e0a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/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_missionmanager_test/entry2/src/main/js/MainAbility2/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility2/pages/index/index.css
deleted file mode 100644
index eccbd6a730583b438049440bee2e790904a16c30..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility2/pages/index/index.css
+++ /dev/null
@@ -1,38 +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 {
- 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_missionmanager_test/entry2/src/main/js/MainAbility2/pages/index/index.hml b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility2/pages/index/index.hml
deleted file mode 100644
index 2084461fb2f40fa97a774ee5c9a5ae22fb0411b8..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/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_missionmanager_test/entry2/src/main/js/MainAbility2/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility2/pages/index/index.js
deleted file mode 100644
index f8ff7d2617330cd5236d21fb19662177bc832049..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility2/pages/index/index.js
+++ /dev/null
@@ -1,32 +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 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_missionmanager_test/entry2/src/main/js/MainAbility2/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility2/pages/second/second.css
deleted file mode 100644
index 31a367638424feefb8cc68f60cb809bef8443197..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility2/pages/second/second.css
+++ /dev/null
@@ -1,24 +0,0 @@
-.container {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- left: 0px;
- top: 0px;
- width: 100%;
- height: 100%;
-}
-
-.title {
- font-size: 60px;
- text-align: center;
- width: 100%;
- height: 40%;
- margin: 10px;
-}
-
-.btn {
- width: 50%;
- height: 100px;
- font-size: 40px;
-}
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility2/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility2/pages/second/second.hml
deleted file mode 100644
index d75ce9375e151799d8f0a9ad4cb56138751561d3..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility2/pages/second/second.hml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
- {{ $t('strings.page') }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility2/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility2/pages/second/second.js
deleted file mode 100644
index 74442edbee3683bbe6924d649d103057e7ae73dd..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/MainAbility2/pages/second/second.js
+++ /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 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_missionmanager_test/entry2/src/main/js/test2/List2.test.js b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/test2/List2.test.js
deleted file mode 100644
index b9d04af2ff107fc49e779d40439facc09256cead..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/test2/List2.test.js
+++ /dev/null
@@ -1,16 +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('./entry2.test.js')
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/test2/entry2.test.js b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/test2/entry2.test.js
deleted file mode 100644
index 51bc3cb2e3e7f145115c44bdb8d3d5e2254a548c..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/js/test2/entry2.test.js
+++ /dev/null
@@ -1,16 +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, expect, it} from 'deccjsunit/index'
-import commonEvent from '@ohos.commonevent'
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/resources/base/element/string.json b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/resources/base/element/string.json
deleted file mode 100644
index 99c2ada7a6f6c3fd550544183f556e5fe51eb759..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/resources/base/element/string.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "string": [
- {
- "name": "entry2_MainAbility",
- "value": "entry2_MainAbility"
- },
- {
- "name": "description_mainability",
- "value": "JS_Empty Ability"
- },
- {
- "name": "description_mainability2",
- "value": "JS_Empty Ability"
- },
- {
- "name": "entry2_MainAbility2",
- "value": "entry2_MainAbility2"
- }
- ]
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/resources/base/media/icon.png b/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/resources/base/media/icon.png
deleted file mode 100644
index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000
Binary files a/aafwk/aafwk_standard/fa/fa_missionmanager_test/entry2/src/main/resources/base/media/icon.png and /dev/null differ
diff --git a/aafwk/aafwk_standard/fa/fa_missionmanager_test/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/fa/fa_missionmanager_test/signature/openharmony_sx.p7b
deleted file mode 100644
index 66b4457a8a81fb8d3356cf46d67226c850944858..0000000000000000000000000000000000000000
Binary files a/aafwk/aafwk_standard/fa/fa_missionmanager_test/signature/openharmony_sx.p7b and /dev/null differ
diff --git a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/BUILD.gn b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/BUILD.gn
deleted file mode 100755
index 8e7ce4b3bd51e997ab03382ee26d44596cb9211a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_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("FaMovemissiontofrontTest") {
- hap_profile = "./entry/src/main/config.json"
- deps = [
- ":fa_movemissiontofront_test_assets",
- ":fa_movemissiontofront_test_resources",
- ]
- certificate_profile = "./signature/openharmony_sx.p7b"
- hap_name = "FaMovemissiontofrontTest"
-}
-ohos_js_assets("fa_movemissiontofront_test_assets") {
- source_dir = "./entry/src/main/js/MainAbility"
-}
-ohos_resources("fa_movemissiontofront_test_resources") {
- sources = [ "./entry/src/main/resources" ]
- hap_profile = "./entry/src/main/config.json"
-}
diff --git a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/Test.json b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/Test.json
deleted file mode 100755
index 776b88009d046d24c37fefce8a86504d1b68d5d2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/Test.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "description" : "Configuration for hjunit demo Test",
- "driver": {
- "type" : "JSUnitTest",
- "test-timeout": "180000",
- "package": "com.example.actsabilitydistributetest",
- "shell-timeout": "600000"
- },
- "kits": [
- {
- "test-file-name": [
- "ActsAbilityDistributeTest.hap"
- ],
- "type": "AppInstallKit",
- "cleanup-apps": true
- }
- ]
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/.gitignore b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/.gitignore
deleted file mode 100644
index f77260b1509284d42a7f8a2449ad1e8f4b489a3a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/build
-/node_modules
diff --git a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/build.gradle b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/build.gradle
deleted file mode 100644
index c40c1f08c819a404fc2312634d97bee84d939ba3..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/build.gradle
+++ /dev/null
@@ -1,21 +0,0 @@
-apply plugin: 'com.huawei.ohos.hap'
-//For instructions on signature configuration, see https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ide_debug_device-0000001053822404#section1112183053510
-ohos {
- compileSdkVersion 8
- defaultConfig {
- compatibleSdkVersion 7
- }
- buildTypes {
- release {
- proguardOpt {
- proguardEnabled false
- rulesFiles 'proguard-rules.pro'
- }
- }
- }
-}
-
-dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar', '*.har'])
- testImplementation 'junit:junit:4.13.1'
-}
diff --git a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/package.json b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/package.json
deleted file mode 100644
index 69a88e3b65423624fe7ea8b0f8beefcc62cc3d5f..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/package.json
+++ /dev/null
@@ -1 +0,0 @@
-{}
diff --git a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/proguard-rules.pro b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/proguard-rules.pro
deleted file mode 100644
index f7666e47561d514b2a76d5a7dfbb43ede86da92a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/proguard-rules.pro
+++ /dev/null
@@ -1 +0,0 @@
-# config module specific ProGuard rules here.
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/config.json b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/config.json
deleted file mode 100644
index 28902fb2a71d62484cf1284313c948108afc01c2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/config.json
+++ /dev/null
@@ -1,151 +0,0 @@
-{
- "app": {
- "bundleName": "com.example.abilitydisable",
- "vendor": "example",
- "version": {
- "code": 1000000,
- "name": "1.0.0"
- }
- },
- "deviceConfig": {},
- "module": {
- "package": "com.example.abilitydisable",
- "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_MainAbility",
- "type": "page",
- "launchType": "standard"
- },
- {
- "orientation": "unspecified",
- "srcPath": "MainAbility3",
- "name": ".MainAbility3",
- "srcLanguage": "js",
- "icon": "$media:icon",
- "description": "$string:description_mainability3",
- "formsEnabled": false,
- "label": "$string:entry_MainAbility",
- "type": "page",
- "launchType": "standard"
- },
- {
- "orientation": "unspecified",
- "srcPath": "MainAbility4",
- "name": ".MainAbility4",
- "srcLanguage": "js",
- "icon": "$media:icon",
- "description": "$string:description_mainability4",
- "formsEnabled": false,
- "label": "$string:entry_MainAbility",
- "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
- }
- },
- {
- "pages": [
- "pages/index/index",
- "pages/second/second"
- ],
- "name": ".MainAbility3",
- "window": {
- "designWidth": 720,
- "autoDesignWidth": false
- }
- },
- {
- "pages": [
- "pages/index/index",
- "pages/second/second"
- ],
- "name": ".MainAbility4",
- "window": {
- "designWidth": 720,
- "autoDesignWidth": false
- }
- }
- ],
- "reqPermissions": [
- {
- "name": "ohos.permission.MANAGE_LOCAL_ACCOUNTS"
- },
- {
- "name": "ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS_EXTENSION"
- },
- {
- "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
- },
- {
- "name": "ohos.permission.MANAGE_MISSIONS"
- },
- {
- "name": "ohos.permission.GET_BUNDLE_INFO",
- "reason": "need use ohos.permission.INSTALL_BUNDLE"
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility/app.js b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility/app.js
deleted file mode 100644
index 9a1d81b5ba11cb00b642611c59df0034ffb125ad..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility/app.js
+++ /dev/null
@@ -1,30 +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';
-import abilityFeatureAbility from '@ohos.ability.featureAbility';
-export default {
- onCreate() {
- commonEvent.publish("ApplicationMainAbility1_onCreate",()=>{
- console.log("ApplicationMainAbility1_onCreate publish callBack ApplicationMainAbility1_onCreate");
- });
-
- },
- onDestroy() {
- console.info("Application onDestroy");
- },
- onForgeGround(){
- console.info("Application onForgeGround");
- }
-};
diff --git a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility/i18n/en-US.json
deleted file mode 100644
index 08e34eac912bf2651eefc20e26aa479b5e4e7ec2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_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_movemissiontofront_test/entry/src/main/js/MainAbility/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility/i18n/zh-CN.json
deleted file mode 100644
index 3dd53b3a8b808aec9396fa663cb00ef22ba61e0a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_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_movemissiontofront_test/entry/src/main/js/MainAbility/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility/pages/index/index.css
deleted file mode 100644
index 737096ca1070d46824d8173dd029de7e4144f3a9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_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_movemissiontofront_test/entry/src/main/js/MainAbility/pages/index/index.hml b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility/pages/index/index.hml
deleted file mode 100644
index 9c27d02f668220192c6ceaa0c7e6a83f189bd7f0..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility/pages/index/index.hml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- {{ $t('strings.hello') }} {{ title }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility/pages/index/index.js
deleted file mode 100644
index 56e613e12909c46ca3e79910459ad3a24b34eff1..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility/pages/index/index.js
+++ /dev/null
@@ -1,67 +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';
-import router from '@system.router'
-import {Core} from 'deccjsunit/index'
-
-export default {
- data: {
- title: ""
- },
- onInit() {
- this.title = 'yingyong1';
- },
- onclick: function () {
- router.replace({
- uri: "pages/second/second"
- })
- },
- onShow() {
- console.log("singletonEntryAbulity1_onShow")
- commonEvent.publish("singletonEntryAbulity1_onShow",()=>{
- console.log("singletonEntryAbulity1_onHide publish callBack singletonEntryAbulity1_onHide");
- });
- const core = Core.getInstance()
- core.init()
- const configService = core.getDefaultService('config')
- configService.setConfig(this)
- console.info('onShow ')
- require('../../../test/List.test')
- console.info('onShow start5')
- core.execute()
- },
- onHide(){
- console.log("singletonEntryAbulity_onHide")
- commonEvent.publish("singletonEntryAbulity1_onHide",()=>{
- console.log("singletonEntryAbulity1_onHide publish callBack singletonEntryAbulity1_onHide");
- });
- },
- onActive(){
- console.log("singletonEntryAbulity_onActive")
- commonEvent.publish("singletonEntryAbulity1_onActive",()=>{
- console.log("singletonEntryAbulity1_onActive publish callBack singletonEntryAbulity1_onActive");
- });
- },
- onInactive(){
- console.log("singletonEntryAbulity_onInactive")
- commonEvent.publish("singletonEntryAbulity1_onInactive",()=>{
- console.log("singletonEntryAbulity1_onInactive publish callBack singletonEntryAbulity1_onInactive");
- });
- }
-}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility/pages/second/second.css
deleted file mode 100644
index 737096ca1070d46824d8173dd029de7e4144f3a9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility/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_movemissiontofront_test/entry/src/main/js/MainAbility/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility/pages/second/second.hml
deleted file mode 100644
index 232a295e9245fb2e09d7be62626850bfd281062a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_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_movemissiontofront_test/entry/src/main/js/MainAbility/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility/pages/second/second.js
deleted file mode 100644
index 55c229adf9b349ff9a374f8d91be5b5b31d7c6aa..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_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_movemissiontofront_test/entry/src/main/js/MainAbility2/app.js b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility2/app.js
deleted file mode 100644
index f825a7c9860110acee43050883511f3250fe1b0b..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility2/app.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 featureAbility from '@ohos.ability.featureAbility';
-import commonEvent from '@ohos.commonEvent';
-
-export default {
- onCreate() {
- commonEvent.publish("ApplicationMainAbility2_onCreate",()=>{
- console.log("ApplicationMainAbility2_onCreate publish callBack ApplicationMainAbility2_onCreate");
- });
- console.info("ApplicationMainAbility2 onCreate");
- setTimeout(()=>{
- console.info("ApplicationMainAbility2 terminateSelf");
- featureAbility.terminateSelf().then((data)=>{
- console.log("ApplicationMainAbility2 terminateSelf data:" + JSON.stringify(data) )
- }).catch((error)=>{
- console.log("ApplicationMainAbility2 terminateSelf error:" + JSON.stringify(error) )
- })
- },1000);
- },
- onDestroy() {
- console.log("singletonEntryAbulity_onDestroy222");
- commonEvent.publish("ApplicationMainAbility2_onDestroy",()=>{
- console.log("singletonEntryAbulity2_onDestroy publish callBack singletonEntryAbulity2onDestroy");
- });
- },
-
-};
-
diff --git a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility2/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility2/i18n/en-US.json
deleted file mode 100644
index 08e34eac912bf2651eefc20e26aa479b5e4e7ec2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_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_movemissiontofront_test/entry/src/main/js/MainAbility2/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility2/i18n/zh-CN.json
deleted file mode 100644
index 3dd53b3a8b808aec9396fa663cb00ef22ba61e0a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_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_movemissiontofront_test/entry/src/main/js/MainAbility2/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility2/pages/index/index.css
deleted file mode 100644
index 737096ca1070d46824d8173dd029de7e4144f3a9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility2/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_movemissiontofront_test/entry/src/main/js/MainAbility2/pages/index/index.hml b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility2/pages/index/index.hml
deleted file mode 100644
index 83ae6b784af095aa173906f7aa7468eb2bf2e5e3..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_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_movemissiontofront_test/entry/src/main/js/MainAbility2/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility2/pages/index/index.js
deleted file mode 100644
index caadb951daa23bb4f633d417aca566875ef31e17..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility2/pages/index/index.js
+++ /dev/null
@@ -1,59 +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'
-import commonEvent from '@ohos.commonEvent';
-
-export default {
- data: {
- title: ""
- },
- onInit() {
- this.title = 'yingyong2';
- },
- onclick: function () {
- router.replace({
- uri: "pages/second/second"
- })
- },
- onShow() {
- console.log("singletonEntryAbulity_onShow")
- commonEvent.publish("singletonEntryAbulity2_onShow",()=>{
- console.log("singletonEntryAbulity2_onShow publish callBack singletonEntryAbulity2_onShow");
- });
- },
- onHide(){
- console.log("singletonEntryAbulity_onHide")
- commonEvent.publish("singletonEntryAbulity2_onHide",()=>{
- console.log("singletonEntryAbulity2_onHide publish callBack singletonEntryAbulity2onHide");
- });
- },
- onActive(){
- console.log("singletonEntryAbulity_onActive")
- commonEvent.publish("singletonEntryAbulity2_onActive",()=>{
- console.log("singletonEntryAbulity2_onActive publish callBack singletonEntryAbulity2_onActive");
- });
- },
- onInactive(){
- console.log("singletonEntryAbulity_onInactive");
- commonEvent.publish("singletonEntryAbulity2_onInactive",()=>{
- console.log("singletonEntryAbulity2_onInactive publish callBack singletonEntryAbulity2_onInactive");
- });
- }
-
-}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility2/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility2/pages/second/second.css
deleted file mode 100644
index 737096ca1070d46824d8173dd029de7e4144f3a9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_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_movemissiontofront_test/entry/src/main/js/MainAbility2/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility2/pages/second/second.hml
deleted file mode 100644
index 4503365d59184ec671bb489b6c2b64134daf0849..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_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_movemissiontofront_test/entry/src/main/js/MainAbility2/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility2/pages/second/second.js
deleted file mode 100644
index 55c229adf9b349ff9a374f8d91be5b5b31d7c6aa..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_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_movemissiontofront_test/entry/src/main/js/MainAbility3/app.js b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility3/app.js
deleted file mode 100644
index 192453e26424b4516dff74c7f219175acb2100ff..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility3/app.js
+++ /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 featureAbility from '@ohos.ability.featureAbility';
-import commonEvent from '@ohos.commonEvent';
-export default {
- onCreate() {
- console.info("Application onCreate MainAbility3");
- setTimeout(()=>{
- featureAbility.terminateSelf().then((data)=>{
- console.log("Application terminateSelf data:" + JSON.stringify(data) )
- }).catch((error)=>{
- console.log("Application terminateSelf data:" + JSON.stringify(error) )
- })
- },2500)
- },
- onDestroy() {
- console.log("singletonEntryAbulity_onDestroy222");
- commonEvent.publish("ApplicationMainAbility3_onDestroy",()=>{
- console.log("ApplicationMainAbility3_onDestroy publish callBack ApplicationMainAbility2_onDestroy");
- });
- },
- onForgeGround(){
- console.log("singletonEntryAbulity_onForgeGround");
- commonEvent.publish("ApplicationMainAbility3_onForgeGround",()=>{
- console.log("ApplicationMainAbility3_onHide publish callBack ApplicationMainAbility2_onForgeGround");
- });
- }
-};
diff --git a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility3/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility3/i18n/en-US.json
deleted file mode 100644
index 08e34eac912bf2651eefc20e26aa479b5e4e7ec2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility3/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_movemissiontofront_test/entry/src/main/js/MainAbility3/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility3/i18n/zh-CN.json
deleted file mode 100644
index 3dd53b3a8b808aec9396fa663cb00ef22ba61e0a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility3/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_movemissiontofront_test/entry/src/main/js/MainAbility3/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility3/pages/index/index.css
deleted file mode 100644
index 737096ca1070d46824d8173dd029de7e4144f3a9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility3/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_movemissiontofront_test/entry/src/main/js/MainAbility3/pages/index/index.hml b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility3/pages/index/index.hml
deleted file mode 100644
index 9c27d02f668220192c6ceaa0c7e6a83f189bd7f0..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility3/pages/index/index.hml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- {{ $t('strings.hello') }} {{ title }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility3/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility3/pages/index/index.js
deleted file mode 100644
index 4749e825224c0d6b8e38fed4e4a0acc714e3fc9d..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility3/pages/index/index.js
+++ /dev/null
@@ -1,55 +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'
-import commonEvent from '@ohos.commonEvent';
-
-export default {
- data: {
- title: ""
- },
- onInit() {
- this.title = 'yingyong3';
- },
- onclick: function () {
- router.replace({
- uri: "pages/second/second"
- })
- },
- onShow() {
- console.info('onShow start')
- },
- onHide(){
- console.log("singletonEntryAbulity_onHide")
- commonEvent.publish("singletonEntryAbulity3_onHide",()=>{
- console.log("singletonEntryAbulity3_onHide publish callBack singletonEntryAbulity3_onHide");
- });
- },
- onActive(){
- console.log("singletonEntryAbulity_onActive")
- commonEvent.publish("singletonEntryAbulity3_onActive",()=>{
- console.log("singletonEntryAbulity3_onActive publish callBack singletonEntryAbulity3_onActive");
- });
- },
- onInactive(){
- console.log("singletonEntryAbulity_onInactive")
- commonEvent.publish("singletonEntryAbulity3_onHide",()=>{
- console.log("singletonEntryAbulity3_onInactive publish callBack singletonEntryAbulity3_onInactive");
- });
- }
-}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility3/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility3/pages/second/second.css
deleted file mode 100644
index 737096ca1070d46824d8173dd029de7e4144f3a9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility3/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_movemissiontofront_test/entry/src/main/js/MainAbility3/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility3/pages/second/second.hml
deleted file mode 100644
index 232a295e9245fb2e09d7be62626850bfd281062a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility3/pages/second/second.hml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- {{ $t('strings.page') }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility3/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility3/pages/second/second.js
deleted file mode 100644
index 55c229adf9b349ff9a374f8d91be5b5b31d7c6aa..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility3/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_movemissiontofront_test/entry/src/main/js/MainAbility4/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility4/i18n/en-US.json
deleted file mode 100644
index 08e34eac912bf2651eefc20e26aa479b5e4e7ec2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility4/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_movemissiontofront_test/entry/src/main/js/MainAbility4/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility4/i18n/zh-CN.json
deleted file mode 100644
index 3dd53b3a8b808aec9396fa663cb00ef22ba61e0a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility4/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_movemissiontofront_test/entry/src/main/js/MainAbility4/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility4/pages/index/index.css
deleted file mode 100644
index 737096ca1070d46824d8173dd029de7e4144f3a9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility4/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_movemissiontofront_test/entry/src/main/js/MainAbility4/pages/index/index.hml b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility4/pages/index/index.hml
deleted file mode 100644
index 9c27d02f668220192c6ceaa0c7e6a83f189bd7f0..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility4/pages/index/index.hml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- {{ $t('strings.hello') }} {{ title }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility4/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility4/pages/index/index.js
deleted file mode 100644
index e73299287b52395279b39401cb978522c0195053..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility4/pages/index/index.js
+++ /dev/null
@@ -1,56 +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'
-import commonEvent from '@ohos.commonEvent';
-
-export default {
- data: {
- title: ""
- },
- onInit() {
- this.title = 'yingyong4';
- },
- onclick: function () {
- router.replace({
- uri: "pages/second/second"
- })
- },
- onShow() {
- console.info('onShow start')
-
- },
- onHide(){
- console.log("singletonEntryAbulity_onHide")
- commonEvent.publish("singletonEntryAbulity1_onHide",()=>{
- console.log("singletonEntryAbulity1_onHide publish callBack singletonEntryAbulity1_onHide");
- });
- },
- onActive(){
- console.log("singletonEntryAbulity_onActive")
- commonEvent.publish("singletonEntryAbulity1_onActive",()=>{
- console.log("singletonEntryAbulity1_onActive publish callBack singletonEntryAbulity1_onActive");
- });
- },
- onInactive(){
- console.log("singletonEntryAbulity_onInactive")
- commonEvent.publish("singletonEntryAbulity1_onHide",()=>{
- console.log("singletonEntryAbulity1_onInactive publish callBack singletonEntryAbulity1_onInactive");
- });
- }
-}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility4/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility4/pages/second/second.css
deleted file mode 100644
index 737096ca1070d46824d8173dd029de7e4144f3a9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility4/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_movemissiontofront_test/entry/src/main/js/MainAbility4/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility4/pages/second/second.hml
deleted file mode 100644
index 232a295e9245fb2e09d7be62626850bfd281062a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility4/pages/second/second.hml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- {{ $t('strings.page') }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility4/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility4/pages/second/second.js
deleted file mode 100644
index 55c229adf9b349ff9a374f8d91be5b5b31d7c6aa..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/MainAbility4/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_movemissiontofront_test/entry/src/main/js/test/AbilityDisableTest.js b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/test/AbilityDisableTest.js
deleted file mode 100644
index ec47b0bb67085f354a17e713d24d169d02ce0382..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/test/AbilityDisableTest.js
+++ /dev/null
@@ -1,408 +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 {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "deccjsunit/index"
-import missionManager from '@ohos.application.missionManager';
-import featureAbility from '@ohos.ability.featureAbility';
-import bundleManager from '@ohos.bundle';
-import appManager from "@ohos.application.appManager"
-import commonEvent from '@ohos.commonEvent';
-import {onDestroys} from "../MainAbility2/app.js"
-import abilityManager from '@ohos.application.abilityManager'
-import ConfigurationConstant from "@ohos.application.ConfigurationConstant";
-
-function startAility(){
- setTimeout(()=>{
- featureAbility.startAbility({ want: {
- bundleName: "com.example.abilitydisable",
- abilityName: "com.example.abilitydisable.MainAbility2"
- } }, (error, data) => {
- console.log('SUB_AA_OpenHarmony_Clear_0400 - startMainAbility2: '
- + JSON.stringify(error) + ", " + JSON.stringify(data))
- });
- },100)
- setTimeout(()=>{
- featureAbility.startAbility({ want: {
- bundleName: "com.example.abilitydisable",
- abilityName: "com.example.abilitydisable.MainAbility3"
- } }, (error, data) => {
- console.log('SUB_AA_OpenHarmony_Clear_0400 - startMainAbility3: '
- + JSON.stringify(error) + ", " + JSON.stringify(data));
- });
- },400)
-}
-function lockMissions(titles,missionId,times){
- setTimeout(()=>{
- console.log(titles+" lockMission missionIds[1]+++++123456::::"+missionId + typeof missionId)
- for(var i=0;i{
- console.log(titles+'lockMission1 errCode:' + JSON.stringify(err) + " data: " + JSON.stringify(data));
- });
- };
- },times);
-}
-function clearAllMissions(){
- missionManager.clearAllMissions((err,data)=>{
- console.log('clearAllMissions errCode: ' +
- JSON.stringify(err) + " data: " + JSON.stringify(data));
- })
-}
-
-function fns(){
- setTimeout(()=>{
- featureAbility.startAbility({ want: {
- bundleName: "com.example.abilitydisable",
- abilityName: "com.example.abilitydisable.MainAbility2"
- } }, (error, data) => {
- console.log('SUB_AA_OpenHarmony_Clear_0100 - startMainAbility2: '
- + JSON.stringify(error) + ", " + JSON.stringify(data))
- expect(err.code == 0).assertTrue();
- });
- },100)
- setTimeout(()=>{
- featureAbility.startAbility({ want: {
- bundleName: "com.example.abilitydisable",
- abilityName: "com.example.abilitydisable.MainAbility4"
- } }, (error, data) => {
- console.log('SUB_AA_OpenHarmony_Clear_0100 - startMainAbility4: '
- + JSON.stringify(error) + ", " + JSON.stringify(data))
- expect(err.code == 0).assertTrue();
- });
- },300)
- setTimeout(()=>{
- featureAbility.startAbility({ want: {
- bundleName: "com.example.abilitydisable",
- abilityName: "com.example.abilitydisable.MainAbility3"
- } }, (error, data) => {
- console.log('SUB_AA_OpenHarmony_Clear_0100 - startMainAbility3: '
- + JSON.stringify(error) + ", " + JSON.stringify(data))
- expect(err.code == 0).assertTrue();
- });
- },500)
- setTimeout(()=>{
- missionManager.getMissionInfos("", 20, (err, data) => {
- console.log('SUB_AA_OpenHarmony_Clear_0100 getMissionInfos errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- for (var i = 0;i < data.length; i++) {
- console.log("bundleName:"+data[i].want["abilityName"])
- if(data[i].want["abilityName"] == "com.example.abilitydisable.MainAbility3"
- || data[i].want["abilityName"] == "com.example.abilitydisable.MainAbility4"
- ||data[i].want["abilityName"] == "com.example.abilitydisable.MainAbility"
- ||data[i].want["abilityName"] == "com.example.abilitydisable.MainAbility2"){
- console.log("data[i]['lockedState']::::"+data[i]['lockedState']);
- console.log("data[i].missionId" + data[i].missionId);
- console.log("SUB_AA_OpenHarmony_Clear_0100, missionId:" + data[i].missionId);
- missionIds.push(data[i].missionId);
- }
- }
- console.log('SUB_AA_OpenHarmony_Clear_0100 missionId:'+ missionIds +
- typeof missionIds + ":::::"+missionIds[1] + typeof missionIds[1]);
- })
- console.log("SUB_AA_OpenHarmony_Clear_0100" + JSON.stringify(missionIds));
- },800)
- setTimeout(()=>{
- missionManager.lockMission(parseInt(missionIds[1]),(err,data)=>{
- console.log('SUB_AA_OpenHarmony_Clear_0100 lockMission1 missionIds[1] : ' +
- JSON.stringify(missionIds[1]), + parseInt(missionIds[1]));
- console.log('SUB_AA_OpenHarmony_Clear_0100 lockMission1 errCode : ' +
- JSON.stringify(err) + " data: " + JSON.stringify(data));
- })
- },1200)
- setTimeout(()=>{
- missionManager.lockMission(parseInt(missionIds[2]),(err,data)=>{
- console.log('SUB_AA_OpenHarmony_Clear_0100 lockMission2 errCode : ' +
- JSON.stringify(err) + " data: " + JSON.stringify(data));
- })
- },1500)
- setTimeout(()=>{
- missionManager.getMissionInfos("", 20, (err, data) => {
- console.log("SUB_AA_OpenHarmony_Clear_0100, twosgetMissionInfos:" +
- JSON.stringify(data));
- for (var i = 0;i < data.length; i++) {
- console.log("data[i].missionId:missionIds[2] news missionIds[1]" +
- data[i].missionId + missionIds[2] + missionIds[1])
- if(data[i].missionId == missionIds[1] || data[i].missionId == missionIds[2]){
- console.log("data[i]['lockedState']222:::::::"+data[i]['lockedState']);
- expect(data[i]['lockedState'] == true).assertTrue();
- }
- }
- })
- console.log("SUB_AA_OpenHarmony_Clear_0100" + JSON.stringify(missionIds));
- },3500)
- setTimeout(()=>{
- missionManager.getMissionInfos("", 20, (err, data) => {
- console.log('SUB_AA_OpenHarmony_Clear_0100 getMissionInfos errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
-// var terminateSelf =
- for (var i = 0;i < data.length; i++) {
- console.log("bundleName:"+data[i].want["abilityName"])
- if(data[i].want["abilityName"] == "com.example.abilitydisable.MainAbility3"
- || data[i].want["abilityName"] == "com.example.abilitydisable.MainAbility4"
- ||data[i].want["abilityName"] == "com.example.abilitydisable.MainAbility"
- ||data[i].want["abilityName"] == "com.example.abilitydisable.MainAbility2"){
- console.log("data[i]['lockedState']::::"+data[i]['lockedState']);
- expect(data[i].lockedState == false).assertTrue();
- }
- }
- console.log('SUB_AA_OpenHarmony_Clear_0100 missionId:'+ missionIds +
- typeof missionIds + ":::::"+missionIds[1] + typeof missionIds[1]);
- })
- console.log("SUB_AA_OpenHarmony_Clear_0100" + JSON.stringify(missionIds));
- },4000)
- setTimeout(()=>{
- missionManager.moveMissionToFront(parseInt(missionIds[2]),(err,data)=>{
- console.log('SUB_AA_OpenHarmony_Clear_0100 moveMissionToFront errCode : ' +
- JSON.stringify(err) + " data: " + JSON.stringify(data));
- })
- },4500)
- setTimeout(()=>{
- missionManager.clearAllMissions((err,data)=>{
- console.log('SUB_AA_OpenHarmony_Clear_0100 clearAllMissions errCode: ' +
- JSON.stringify(err) + " data: " + JSON.stringify(data));
-
- })
- },5000)
- setTimeout(()=>{
- missionManager.getMissionInfos("", 20, (err, data) => {
- console.log('SUB_AA_OpenHarmony_Clear_0100 getMissionInfos errCode : ' +
- JSON.stringify(err) + " data: " + JSON.stringify(data));
- for (var i = 0;i < data.length; i++) {
- console.log("bundleName:"+data[i].want["abilityName"])
- if(data[i].want["abilityName"] == "com.example.abilitydisable.MainAbility3" ||
- data[i].want["abilityName"] == "com.example.abilitydisable.MainAbility4" ||
- data[i].want["abilityName"] == "com.example.abilitydisable.MainAbility"||
- data[i].want["abilityName"] == "com.example.abilitydisable.MainAbility2"){
- console.log("data[i]['lockedState']end::::"+data[i]['lockedState']);
- expect(data[i]['lockedState'] == true).assertTrue();
- }
- }
- console.log('SUB_AA_OpenHarmony_Clear_0100 missionId:'+
- missionIds + typeof missionIds + ":::::"+missionIds[1] + typeof missionIds[1]);
- })
- console.log("SUB_AA_OpenHarmony_Clear_0100" +
- JSON.stringify(missionIds));
- },8000)
- expect(lists.indexOf(JSON.stringify("singletonEntryAbulity2_onShow"))!=-1).assertTrue();
-
-}
-describe('AbilityDisableTests', function () {
- let mainAbility1ListS = new Array()
- let lists = new Array()
- function subscriberCallBackMainAbility2Destory(err,data){
- console.log("Subscribe2 CallBack data:" + JSON.stringify(data));
- lists.push(data["event"]);
- console.log("subscriberCallBackMainAbility2Destory lists:"+lists);
- };
- function subscriberCallBack_mainAbility1_Destory(err,data){
- console.log("Subscribe3 CallBack data:" + JSON.stringify(data));
- mainAbility1ListS.push(data["event"])
- console.log("subscriberCallBack_mainAbility3_Destory mainAbility1ListS:"+mainAbility1ListS);
- }
- console.log("AbilityDisableTests --- start");
- var ability2LifeEvents = {
- events:["ApplicationMainAbility2_onDestroy",
- "singletonEntryAbulity2_onHide",
- "singletonEntryAbulity2_onActive",
- "singletonEntryAbulity2_onInactive",
- "singletonEntryAbility2_onDestroy",
- "singletonEntryAbulity2_onShow",
- "ApplicationMainAbility2_onCreate",]
- };
- var ability1LifeEvents = {
- events:["singletonEntryAbulity3_onHide",
- "singletonEntryAbulity3_onActive",
- "singletonEntryAbulity3_onInactive",
- "singletonEntryAbility3_onDestroy",
- "singletonEntryAbulity3_onShow",
- "ApplicationMainAbility3_onCreate",
- "ApplicationMainAbility3_onDestroy",
- ]
- };
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MoveMissionToFront_2900
- * @tc.name Verify the full-screen switching application
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MoveMissionToFront_2900', 0, async function (done) {
-
- var Subscriber2 = [];
- var Subscriber1 = [];
- var mainAbility1missinds = []
- console.log("SUB_AA_OpenHarmony_MoveMissionToFront_2900 --- start")
- commonEvent.createSubscriber(ability2LifeEvents).then(async (data)=>{
- console.log("Create Subscriber2=======>:"+JSON.stringify(data));
- Subscriber2 = data;
- console.log("data2 is:" + JSON.stringify(Subscriber2));
- await commonEvent.subscribe(Subscriber2,subscriberCallBackMainAbility2Destory)
- });
- commonEvent.createSubscriber(ability1LifeEvents).then(async (data)=>{
- console.log("Create Subscriber1=======>:"+JSON.stringify(data));
- Subscriber1 = data;
- console.log("data2 is:" + JSON.stringify(Subscriber1));
- await commonEvent.subscribe(Subscriber1,subscriberCallBack_mainAbility1_Destory)
- });
- setTimeout(()=>{
- featureAbility.startAbility({ want: {
- bundleName: "com.example.abilitydisable",
- abilityName: "com.example.abilitydisable.MainAbility2"
- } }, (error, data) => {
- console.log('SUB_AA_OpenHarmony_MoveMissionToFront_2900 - startMainAbility2: '
- + JSON.stringify(error) + ", " + JSON.stringify(data));
- });
- },500)
- setTimeout(()=>{
- featureAbility.startAbility({ want: {
- bundleName: "com.example.abilitydisable",
- abilityName: "com.example.abilitydisable.MainAbility3"
- } }, (error, data) => {
- console.log('SUB_AA_OpenHarmony_MoveMissionToFront_2900 - startMainAbility3: '
- + JSON.stringify(error) + ", " + JSON.stringify(data));
- });
- },1000);
- setTimeout(()=>{
- console.log("1111subscriberCallBackMainAbility2Destory lists:"+lists);
- expect(lists.indexOf(JSON.stringify("singletonEntryAbulity2_onShow"))!=-1).assertTrue();
- expect(lists.indexOf(JSON.stringify("ApplicationMainAbility2_onCreate"))!=-1).assertTrue();
- },2500)
- setTimeout(()=>{
- missionManager.getMissionInfos("", 100, (err, data) => {
- console.log('SUB_AA_OpenHarmony_MoveMissionToFront_2900 getMissionInfos errCode: '+
- JSON.stringify(err) + " data: " + JSON.stringify(data));
- for (var i = 0;i < data.length; i++) {
- if(data[i].want["abilityName"] == "com.example.abilitydisable.MainAbility2"){
- mainAbility1missinds.push(data[i]["missionId"])
- }
-
- }
- console.log("mainAbility1missinds:"+mainAbility1missinds);
- });
- },3000)
- setTimeout(()=>{
- console.log('SUB_AA_OpenHarmony_MoveMissionToFront_2900 moveMissionToFront dataCode:++++++');
- missionManager.moveMissionToFront(parseInt(mainAbility1missinds[0]),{
- parameters:{ "windowMode":1 }}).then((data)=>{
- console.log('SUB_AA_OpenHarmony_MoveMissionToFront_2900 moveMissionToFront dataCode:'+ " data:"
- + JSON.stringify(data));
- expect().assertFail();
- }).catch((err)=>{
- console.log('SUB_AA_OpenHarmony_MoveMissionToFront_2900 moveMissionToFront errCode:'+ " err:"
- + JSON.stringify(err));
- });
- },3888);
- setTimeout(()=>{
- console.log("1111subscriberCallBack_mainAbility1_Destory lists:"+ mainAbility1ListS);
- expect(mainAbility1ListS.indexOf(JSON.stringify("singletonEntrymainAb" +
- "ility1ListSAbulity1_onInactive"))!=-1).assertTrue();
- expect(mainAbility1ListS.indexOf(JSON.stringify("singletonEntryA" +
- "bulity1_onHide"))!=-1).assertTrue();
- },3999);
- done()
- });
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MoveMissionToFront_3000
- * @tc.name Verify the left split screen switching application
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MoveMissionToFront_3000', 0, async function (done) {
- var Subscriber2 = "";
- var Subscriber1 = "";
- var mainAbility1missinds = []
- console.log("SUB_AA_OpenHarmony_MoveMissionToFront_3000 --- start")
- commonEvent.createSubscriber(ability2LifeEvents).then(async (data)=>{
- console.log("Create Subscriber2=======>:"+JSON.stringify(data));
- Subscriber2 = data;
- console.log("data2 is:" + JSON.stringify(Subscriber2));
- await commonEvent.subscribe(Subscriber2,subscriberCallBackMainAbility2Destory)
- });
- commonEvent.createSubscriber(ability1LifeEvents).then(async (data)=>{
- console.log("Create Subscriber1=======>:"+JSON.stringify(data));
- Subscriber1 = data;
- console.log("data2 is:" + JSON.stringify(Subscriber1));
- await commonEvent.subscribe(Subscriber1,subscriberCallBack_mainAbility1_Destory)
- });
-
- setTimeout(()=>{
- featureAbility.startAbility({ want: {
- bundleName: "com.example.abilitydisable",
- abilityName: "com.example.abilitydisable.MainAbility2"
- } }, (error, data) => {
- console.log('SUB_AA_OpenHarmony_MoveMissionToFront_3000 - startMainAbility2: '
- + JSON.stringify(error) + ", " + JSON.stringify(data));
- });
- },500);
- setTimeout(()=>{
- featureAbility.startAbility({ want: {
- bundleName: "com.example.abilitydisable",
- abilityName: "com.example.abilitydisable.MainAbility3"
- } }, (error, data) => {
- console.log('SUB_AA_OpenHarmony_MoveMissionToFront_3000 - startMainAbility3: '
- + JSON.stringify(error) + ", " + JSON.stringify(data));
- });
- },1000);
- setTimeout(()=>{
- console.log("1111subscriberCallBack_mainAbility2_lists:
- singletonEntryAbulity2_onShow:"+lists);
- console.log("+++++++++++++++++"+lists.indexOf("singletonEntryAbulity2_onShow")
- +"+++++++"+lists.indexOf("ApplicationMainAbility2_onCreate")+lists)
- expect(lists.indexOf(JSON.stringify("singletonEntryAbulity2_onShow"))!=-1).assertTrue();
- expect(lists.indexOf(JSON.stringify("ApplicationMainAbility2_onCreate"))!=-1).assertTrue();
- },2500);
- setTimeout(()=>{
- missionManager.getMissionInfos("", 100, (err, data) => {
- console.log('SUB_AA_OpenHarmony_MoveMissionToFront_3000
- getMissionInfos errCode: '+
- JSON.stringify(err) + " data: " + JSON.stringify(data));
- for (var i = 0;i < data.length; i++) {
- console.log("bundleName222222:"+data[i].want["abilityName"]+
- "data[i]['lockedState']::::"+data[i]['lockedState']);
- if(data[i].want["abilityName"] == "com.example.abilitydisable.MainAbility3"){
- console.log('data[i]["missionId"]'+data[i]["missionId"] + "::::"+
- data[i].want["abilityName"]);
- mainAbility1missinds.push(data[i]["missionId"])
- }
- }
- console.log("mainAbility1missinds:"+mainAbility1missinds);
- });
- },3000);
- setTimeout(()=>{
- console.log('SUB_AA_OpenHarmony_MoveMissionToFront_3000
- moveMissionToFront dataCode:++++++');
- missionManager.moveMissionToFront(parseInt(mainAbility1missinds[0]),{
- parameters:{ "windowMode":100 }}).then((data)=>{
- console.log('SUB_AA_OpenHarmony_MoveMissionToFront_3000
- moveMissionToFront dataCode:'+
- " data:" + JSON.stringify(data));
- }).catch((err)=>{
- console.log('SUB_AA_OpenHarmony_MoveMissionToFront_3000
- moveMissionToFront errCode:'+
- " err:" + JSON.stringify(err));
- });
- },3888);
- setTimeout(()=>{
- console.log("1111subscriberCallBack_mainAbility1_Destory lists:"+ mainAbility1ListS);
- console.log("+++++++++++++++++"+mainAbility1ListS.indexOf("mainAbility1ListS_onShow")
- +"+++++++"+mainAbility1ListS.indexOf("ApplicationMainAbility2_onCreate")
- +mainAbility1ListS)
- expect(mainAbility1ListS.indexOf(JSON.stringify("singletonEntryAbulity1_onInactive"))==-1).assertTrue();
- expect(mainAbility1ListS.indexOf(JSON.stringify("singletonEntryAbulity1_onHide"))==-1).assertTrue();
- },3999);
- done();
- });
-})
diff --git a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/test/List.test.js b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/test/List.test.js
deleted file mode 100644
index 2a20073318a8774f47c27170e1bb49c564a5fe5b..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/js/test/List.test.js
+++ /dev/null
@@ -1,15 +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('./AbilityDisableTest.js');
diff --git a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/resources/base/element/string.json b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/resources/base/element/string.json
deleted file mode 100644
index 2e8b3cf8ad2f92e47882e62285122d098547a872..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/resources/base/element/string.json
+++ /dev/null
@@ -1,40 +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"
- },
- {
- "name": "description_mainability3",
- "value": "JS_Empty Ability"
- },
- {
- "name": "entry_MainAbility3",
- "value": "entry_MainAbility3"
- },
- {
- "name": "description_mainability4",
- "value": "JS_Empty Ability"
- },
- {
- "name": "entry_MainAbility4",
- "value": "entry_MainAbility4"
- },
- {
- "name": "description_serviceability",
- "value": "hap sample empty service"
- }
- ]
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/resources/base/media/icon.png b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/resources/base/media/icon.png
deleted file mode 100644
index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000
Binary files a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/entry/src/main/resources/base/media/icon.png and /dev/null differ
diff --git a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/signature/openharmony_sx.p7b
deleted file mode 100755
index 66b4457a8a81fb8d3356cf46d67226c850944858..0000000000000000000000000000000000000000
Binary files a/aafwk/aafwk_standard/fa/fa_movemissiontofront_test/signature/openharmony_sx.p7b and /dev/null differ
diff --git a/aafwk/aafwk_standard/fa/fa_state_test/Test.json b/aafwk/aafwk_standard/fa/fa_state_test/Test.json
deleted file mode 100755
index 776b88009d046d24c37fefce8a86504d1b68d5d2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_state_test/Test.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "description" : "Configuration for hjunit demo Test",
- "driver": {
- "type" : "JSUnitTest",
- "test-timeout": "180000",
- "package": "com.example.actsabilitydistributetest",
- "shell-timeout": "600000"
- },
- "kits": [
- {
- "test-file-name": [
- "ActsAbilityDistributeTest.hap"
- ],
- "type": "AppInstallKit",
- "cleanup-apps": true
- }
- ]
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_state_test/entry/src/main/config.json b/aafwk/aafwk_standard/fa/fa_state_test/entry/src/main/config.json
deleted file mode 100644
index 01e55a717ab87f6a16079e80d16b3f1287e527c3..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_state_test/entry/src/main/config.json
+++ /dev/null
@@ -1,90 +0,0 @@
-{
- "app": {
- "bundleName": "com.example.statelistener",
- "vendor": "example",
- "version": {
- "code": 1000000,
- "name": "1.0.0"
- }
- },
- "deviceConfig": {},
- "module": {
- "package": "com.example.statelistener",
- "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"
- }
- ],
- "js": [
- {
- "pages": [
- "pages/index/index",
- "pages/second/second"
- ],
- "name": ".MainAbility",
- "window": {
- "designWidth": 720,
- "autoDesignWidth": false
- }
- }
- ],
- "reqPermissions": [
- {
- "name": "ohos.permission.GET_BUNDLE_INFO",
- "reason": "need use ohos.permission.INSTALL_BUNDLE"
- },
- {
- "name": "ohos.permission.RUNNING_STATE_OBSERVER",
- "reason": "need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
- },
- {
- "name": "ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS",
- "reason": "need use ohos.perILEGED"
- },
- {
- "name": "ohos.permission.CLEAN_BACKGROUND_PROCESSES",
- "reason": "need use ohos._PRIVILEGED"
- },
- {
- "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
- "reason": "need use ohos._PRIVILEGED"
- },
- {
- "name": "ohos.permission.GET_RUNNING_INFO",
- "reason": "need use ohos.permi"
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_state_test/entry/src/main/js/MainAbility/app.js b/aafwk/aafwk_standard/fa/fa_state_test/entry/src/main/js/MainAbility/app.js
deleted file mode 100644
index 50449ecbed6d3b8099f6f9a1fb66e29bbe2177f0..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_state_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_state_test/entry/src/main/js/MainAbility/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_state_test/entry/src/main/js/MainAbility/i18n/en-US.json
deleted file mode 100644
index 08e34eac912bf2651eefc20e26aa479b5e4e7ec2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_state_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_state_test/entry/src/main/js/MainAbility/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_state_test/entry/src/main/js/MainAbility/i18n/zh-CN.json
deleted file mode 100644
index 3dd53b3a8b808aec9396fa663cb00ef22ba61e0a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_state_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_state_test/entry/src/main/js/MainAbility/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_state_test/entry/src/main/js/MainAbility/pages/index/index.css
deleted file mode 100644
index 737096ca1070d46824d8173dd029de7e4144f3a9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_state_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_state_test/entry/src/main/js/MainAbility/pages/index/index.hml b/aafwk/aafwk_standard/fa/fa_state_test/entry/src/main/js/MainAbility/pages/index/index.hml
deleted file mode 100644
index 83ae6b784af095aa173906f7aa7468eb2bf2e5e3..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_state_test/entry/src/main/js/MainAbility/pages/index/index.hml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- {{ $t('strings.hello') }} {{ title }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_state_test/entry/src/main/js/MainAbility/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_state_test/entry/src/main/js/MainAbility/pages/index/index.js
deleted file mode 100644
index 491008cff499575370dad5fb2bde5d61af664386..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_state_test/entry/src/main/js/MainAbility/pages/index/index.js
+++ /dev/null
@@ -1,41 +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: ""
- },
- onInit() {
- this.title = this.$t('strings.world');
- },
- onclick: function () {
- router.replace({
- uri: "pages/second/second"
- })
- },
- onShow() {
- console.info('--1 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_state_test/entry/src/main/js/MainAbility/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_state_test/entry/src/main/js/MainAbility/pages/second/second.css
deleted file mode 100644
index 737096ca1070d46824d8173dd029de7e4144f3a9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_state_test/entry/src/main/js/MainAbility/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_state_test/entry/src/main/js/MainAbility/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_state_test/entry/src/main/js/MainAbility/pages/second/second.hml
deleted file mode 100644
index 4503365d59184ec671bb489b6c2b64134daf0849..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_state_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_state_test/entry/src/main/js/MainAbility/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_state_test/entry/src/main/js/MainAbility/pages/second/second.js
deleted file mode 100644
index 55c229adf9b349ff9a374f8d91be5b5b31d7c6aa..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_state_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_state_test/entry/src/main/js/test/startFULL.test.js b/aafwk/aafwk_standard/fa/fa_state_test/entry/src/main/js/test/startFULL.test.js
deleted file mode 100644
index 1e9add9200a253298635c3467a26f3eecaa01785..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_state_test/entry/src/main/js/test/startFULL.test.js
+++ /dev/null
@@ -1,21 +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"
-describe("appManagerTest", function () {
- console.log("---appManagerTest-- starting---");
- function sleep(time) {
- return new Promise((resolve) => setTimeout(resolve, time))
- }
-})
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_state_test/entry/src/main/resources/base/element/string.json b/aafwk/aafwk_standard/fa/fa_state_test/entry/src/main/resources/base/element/string.json
deleted file mode 100644
index d1321867f15bbb87342c4263a8579a7c1b6f68c6..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_state_test/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": "JS_Empty Ability"
- }
- ]
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_state_test/entry/src/main/resources/base/media/icon.png b/aafwk/aafwk_standard/fa/fa_state_test/entry/src/main/resources/base/media/icon.png
deleted file mode 100644
index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000
Binary files a/aafwk/aafwk_standard/fa/fa_state_test/entry/src/main/resources/base/media/icon.png and /dev/null differ
diff --git a/aafwk/aafwk_standard/fa/fa_state_test/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/fa/fa_state_test/signature/openharmony_sx.p7b
deleted file mode 100755
index 66b4457a8a81fb8d3356cf46d67226c850944858..0000000000000000000000000000000000000000
Binary files a/aafwk/aafwk_standard/fa/fa_state_test/signature/openharmony_sx.p7b and /dev/null differ
diff --git a/aafwk/aafwk_standard/fa/fa_sumstate_test/BUILD.gn b/aafwk/aafwk_standard/fa/fa_sumstate_test/BUILD.gn
deleted file mode 100755
index 37609302b416c679b4e2a0a911e8e0fed738717a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_sumstate_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("FaSumstateTest") {
- hap_profile = "./entry/src/main/config.json"
- deps = [
- ":fa_sumstate_test_assets",
- ":fa_sumstate_test_resources",
- ]
- certificate_profile = "./signature/openharmony_sx.p7b"
- hap_name = "FaSumstateTest"
-}
-ohos_js_assets("fa_sumstate_test_assets") {
- source_dir = "./entry/src/main/js/MainAbility"
-}
-ohos_resources("fa_sumstate_test_resources") {
- sources = [ "./entry/src/main/resources" ]
- hap_profile = "./entry/src/main/config.json"
-}
diff --git a/aafwk/aafwk_standard/fa/fa_sumstate_test/Test.json b/aafwk/aafwk_standard/fa/fa_sumstate_test/Test.json
deleted file mode 100755
index 776b88009d046d24c37fefce8a86504d1b68d5d2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_sumstate_test/Test.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "description" : "Configuration for hjunit demo Test",
- "driver": {
- "type" : "JSUnitTest",
- "test-timeout": "180000",
- "package": "com.example.actsabilitydistributetest",
- "shell-timeout": "600000"
- },
- "kits": [
- {
- "test-file-name": [
- "ActsAbilityDistributeTest.hap"
- ],
- "type": "AppInstallKit",
- "cleanup-apps": true
- }
- ]
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/config.json b/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/config.json
deleted file mode 100644
index 27aa861eac20a3249b060ecf39c8b90a22a184b4..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/config.json
+++ /dev/null
@@ -1,113 +0,0 @@
-{
- "app": {
- "bundleName": "com.example.sum_statelistener",
- "vendor": "example",
- "version": {
- "code": 1000000,
- "name": "1.0.0"
- }
- },
- "deviceConfig": {},
- "module": {
- "package": "com.example.sum_statelistener",
- "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
- }
- }
- ],
- "reqPermissions": [
- {
- "name": "ohos.permission.GET_BUNDLE_INFO",
- "reason": "need use ohos.permission.INSTALL_BUNDLE"
- },
- {
- "name": "ohos.permission.RUNNING_STATE_OBSERVER",
- "reason": "need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
- },
- {
- "name": "ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS",
- "reason": "need use ohos.perILEGED"
- },
- {
- "name": "ohos.permission.CLEAN_BACKGROUND_PROCESSES",
- "reason": "need use ohos._PRIVILEGED"
- },
- {
- "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
- "reason": "need use ohos._PRIVILEGED"
- },
- {
- "name": "ohos.permission.GET_RUNNING_INFO",
- "reason": "need use ohos.permi"
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/js/MainAbility/app.js b/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/js/MainAbility/app.js
deleted file mode 100644
index 50449ecbed6d3b8099f6f9a1fb66e29bbe2177f0..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_sumstate_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_sumstate_test/entry/src/main/js/MainAbility/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/js/MainAbility/i18n/en-US.json
deleted file mode 100644
index 08e34eac912bf2651eefc20e26aa479b5e4e7ec2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_sumstate_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_sumstate_test/entry/src/main/js/MainAbility/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/js/MainAbility/i18n/zh-CN.json
deleted file mode 100644
index 3dd53b3a8b808aec9396fa663cb00ef22ba61e0a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_sumstate_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_sumstate_test/entry/src/main/js/MainAbility/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/js/MainAbility/pages/index/index.css
deleted file mode 100644
index 737096ca1070d46824d8173dd029de7e4144f3a9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_sumstate_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_sumstate_test/entry/src/main/js/MainAbility/pages/index/index.hml b/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/js/MainAbility/pages/index/index.hml
deleted file mode 100644
index 83ae6b784af095aa173906f7aa7468eb2bf2e5e3..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/js/MainAbility/pages/index/index.hml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- {{ $t('strings.hello') }} {{ title }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/js/MainAbility/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/js/MainAbility/pages/index/index.js
deleted file mode 100644
index c611cfe5e8c60994a3fee31527f9b48bb8455038..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/js/MainAbility/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 router from '@system.router'
-import {Core} from 'deccjsunit/index'
-export default {
- data: {
- title: ""
- },
- onInit() {
- this.title = this.$t('strings.world');
- },
- onclick: function () {
- router.replace({
- uri: "pages/second/second"
- })
- },
- onShow() {
- console.info('--1 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_sumstate_test/entry/src/main/js/MainAbility/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/js/MainAbility/pages/second/second.css
deleted file mode 100644
index 737096ca1070d46824d8173dd029de7e4144f3a9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/js/MainAbility/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_sumstate_test/entry/src/main/js/MainAbility/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/js/MainAbility/pages/second/second.hml
deleted file mode 100644
index 4503365d59184ec671bb489b6c2b64134daf0849..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_sumstate_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_sumstate_test/entry/src/main/js/MainAbility/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/js/MainAbility/pages/second/second.js
deleted file mode 100644
index 55c229adf9b349ff9a374f8d91be5b5b31d7c6aa..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_sumstate_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_sumstate_test/entry/src/main/js/MainAbility2/app.js b/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/js/MainAbility2/app.js
deleted file mode 100644
index 50449ecbed6d3b8099f6f9a1fb66e29bbe2177f0..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_sumstate_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_sumstate_test/entry/src/main/js/MainAbility2/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/js/MainAbility2/i18n/en-US.json
deleted file mode 100644
index 08e34eac912bf2651eefc20e26aa479b5e4e7ec2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_sumstate_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_sumstate_test/entry/src/main/js/MainAbility2/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/js/MainAbility2/i18n/zh-CN.json
deleted file mode 100644
index 3dd53b3a8b808aec9396fa663cb00ef22ba61e0a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_sumstate_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_sumstate_test/entry/src/main/js/MainAbility2/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/js/MainAbility2/pages/index/index.css
deleted file mode 100644
index 737096ca1070d46824d8173dd029de7e4144f3a9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/js/MainAbility2/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_sumstate_test/entry/src/main/js/MainAbility2/pages/index/index.hml b/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/js/MainAbility2/pages/index/index.hml
deleted file mode 100644
index 83ae6b784af095aa173906f7aa7468eb2bf2e5e3..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_sumstate_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_sumstate_test/entry/src/main/js/MainAbility2/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/js/MainAbility2/pages/index/index.js
deleted file mode 100644
index c611cfe5e8c60994a3fee31527f9b48bb8455038..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/js/MainAbility2/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 router from '@system.router'
-import {Core} from 'deccjsunit/index'
-export default {
- data: {
- title: ""
- },
- onInit() {
- this.title = this.$t('strings.world');
- },
- onclick: function () {
- router.replace({
- uri: "pages/second/second"
- })
- },
- onShow() {
- console.info('--1 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_sumstate_test/entry/src/main/js/MainAbility2/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/js/MainAbility2/pages/second/second.css
deleted file mode 100644
index 737096ca1070d46824d8173dd029de7e4144f3a9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_sumstate_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_sumstate_test/entry/src/main/js/MainAbility2/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/js/MainAbility2/pages/second/second.hml
deleted file mode 100644
index 4503365d59184ec671bb489b6c2b64134daf0849..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_sumstate_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_sumstate_test/entry/src/main/js/MainAbility2/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/js/MainAbility2/pages/second/second.js
deleted file mode 100644
index 55c229adf9b349ff9a374f8d91be5b5b31d7c6aa..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_sumstate_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_sumstate_test/entry/src/main/js/test/startFULL.test.js b/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/js/test/startFULL.test.js
deleted file mode 100644
index 09ff72d3926c6725d888b5930860e6f3be6efbba..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/js/test/startFULL.test.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 {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "deccjsunit/index"
-
-describe("appManagerTest", function () {
- console.log("---appManagerTest-- starting---");
-})
-
-
-
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/resources/base/element/string.json b/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/resources/base/element/string.json
deleted file mode 100644
index 92f5ff8a48403b37a65f5b6f6e5fe285f277d21e..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_sumstate_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_sumstate_test/entry/src/main/resources/base/media/icon.png b/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/resources/base/media/icon.png
deleted file mode 100644
index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000
Binary files a/aafwk/aafwk_standard/fa/fa_sumstate_test/entry/src/main/resources/base/media/icon.png and /dev/null differ
diff --git a/aafwk/aafwk_standard/fa/fa_sumstate_test/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/fa/fa_sumstate_test/signature/openharmony_sx.p7b
deleted file mode 100755
index 66b4457a8a81fb8d3356cf46d67226c850944858..0000000000000000000000000000000000000000
Binary files a/aafwk/aafwk_standard/fa/fa_sumstate_test/signature/openharmony_sx.p7b and /dev/null differ
diff --git a/aafwk/aafwk_standard/fa/fa_taskmanager_test/BUILD.gn b/aafwk/aafwk_standard/fa/fa_taskmanager_test/BUILD.gn
deleted file mode 100644
index 86afdfeb60c7541362f02400a23c9d374b87b72d..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskmanager_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("FaTaskmanagerTest") {
- hap_profile = "./entry/src/main/config.json"
- deps = [
- ":fa_taskmanager_test_assets",
- ":fa_taskmanager_test_resources",
- ]
- certificate_profile = "./signature/openharmony_sx.p7b"
- hap_name = "FaTaskmanagerTest"
-}
-ohos_js_assets("fa_taskmanager_test_assets") {
- source_dir = "./entry/src/main/js/MainAbility"
-}
-ohos_resources("fa_taskmanager_test_resources") {
- sources = [ "./entry/src/main/resources" ]
- hap_profile = "./entry/src/main/config.json"
-}
diff --git a/aafwk/aafwk_standard/fa/fa_taskmanager_test/Test.json b/aafwk/aafwk_standard/fa/fa_taskmanager_test/Test.json
deleted file mode 100644
index 776b88009d046d24c37fefce8a86504d1b68d5d2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskmanager_test/Test.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "description" : "Configuration for hjunit demo Test",
- "driver": {
- "type" : "JSUnitTest",
- "test-timeout": "180000",
- "package": "com.example.actsabilitydistributetest",
- "shell-timeout": "600000"
- },
- "kits": [
- {
- "test-file-name": [
- "ActsAbilityDistributeTest.hap"
- ],
- "type": "AppInstallKit",
- "cleanup-apps": true
- }
- ]
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/.gitignore b/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/.gitignore
deleted file mode 100644
index f77260b1509284d42a7f8a2449ad1e8f4b489a3a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/build
-/node_modules
diff --git a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/build.gradle b/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/build.gradle
deleted file mode 100644
index c40c1f08c819a404fc2312634d97bee84d939ba3..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/build.gradle
+++ /dev/null
@@ -1,21 +0,0 @@
-apply plugin: 'com.huawei.ohos.hap'
-//For instructions on signature configuration, see https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ide_debug_device-0000001053822404#section1112183053510
-ohos {
- compileSdkVersion 8
- defaultConfig {
- compatibleSdkVersion 7
- }
- buildTypes {
- release {
- proguardOpt {
- proguardEnabled false
- rulesFiles 'proguard-rules.pro'
- }
- }
- }
-}
-
-dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar', '*.har'])
- testImplementation 'junit:junit:4.13.1'
-}
diff --git a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/package.json b/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/package.json
deleted file mode 100644
index 69a88e3b65423624fe7ea8b0f8beefcc62cc3d5f..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/package.json
+++ /dev/null
@@ -1 +0,0 @@
-{}
diff --git a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/proguard-rules.pro b/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/proguard-rules.pro
deleted file mode 100644
index f7666e47561d514b2a76d5a7dfbb43ede86da92a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/proguard-rules.pro
+++ /dev/null
@@ -1 +0,0 @@
-# config module specific ProGuard rules here.
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/config.json b/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/config.json
deleted file mode 100644
index 49b3f3100bb018588b0f571ee7103063bb96806f..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/config.json
+++ /dev/null
@@ -1,109 +0,0 @@
-{
- "app": {
- "bundleName": "com.example.abilitydisable",
- "vendor": "example",
- "version": {
- "code": 1000000,
- "name": "1.0.0"
- }
- },
- "deviceConfig": {},
- "module": {
- "package": "com.example.abilitydisable",
- "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": "MainAbility3",
- "name": ".MainAbility3",
- "srcLanguage": "js",
- "icon": "$media:icon",
- "description": "$string:description_mainability3",
- "formsEnabled": false,
- "label": "$string:entry_MainAbility3",
- "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": ".MainAbility3",
- "window": {
- "designWidth": 720,
- "autoDesignWidth": false
- }
- }
- ],
- "reqPermissions": [
- {
- "name": "ohos.permission.INSTALL_BUNDLE",
- "reason": "need use ohos.permission.INSTALL_BUNDLE"
- },
- {
- "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
- "reason": "need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
- },
- {
- "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"
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility/app.js b/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility/app.js
deleted file mode 100644
index d3a1229c24ccd7af98d47b30cd6d3ed0b8866400..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility/app.js
+++ /dev/null
@@ -1,25 +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("Application onCreate");
- },
- onDestroy() {
- console.info("Application onDestroy");
- },
- onForgeGround(){
- console.info("Application onForgeGround");
- }
-};
diff --git a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility/i18n/en-US.json
deleted file mode 100644
index 08e34eac912bf2651eefc20e26aa479b5e4e7ec2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskmanager_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_taskmanager_test/entry/src/main/js/MainAbility/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility/i18n/zh-CN.json
deleted file mode 100644
index 3dd53b3a8b808aec9396fa663cb00ef22ba61e0a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskmanager_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_taskmanager_test/entry/src/main/js/MainAbility/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility/pages/index/index.css
deleted file mode 100644
index eccbd6a730583b438049440bee2e790904a16c30..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility/pages/index/index.css
+++ /dev/null
@@ -1,38 +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 {
- 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_taskmanager_test/entry/src/main/js/MainAbility/pages/index/index.hml b/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility/pages/index/index.hml
deleted file mode 100644
index 78ebfd48788d3c9fcc7eda8088cc7f1e325b8529..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility/pages/index/index.hml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility/pages/index/index.js
deleted file mode 100644
index 84113cc0f9658c94869f4653949436ba568e964e..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility/pages/index/index.js
+++ /dev/null
@@ -1,52 +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 router from '@system.router'
-import {Core} from 'deccjsunit/index'
-
-export default {
- data: {
- title: ""
- },
- onInit() {
- this.title = this.$t('strings.world');
- },
- onclick: function () {
- router.replace({
- uri: "pages/second/second"
- })
- },
- onShow() {
- console.info('onShow start')
- const core = Core.getInstance()
- console.info('onShow start1')
-
- core.init()
- console.info('onShow start2')
-
- const configService = core.getDefaultService('config')
- console.info('onShow start3')
-
- configService.setConfig(this)
- console.info('onShow start4')
-
- require('../../../test/List.test')
- console.info('onShow start5')
-
- core.execute()
- }
-}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility/pages/second/second.css
deleted file mode 100644
index eccbd6a730583b438049440bee2e790904a16c30..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility/pages/second/second.css
+++ /dev/null
@@ -1,38 +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 {
- 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_taskmanager_test/entry/src/main/js/MainAbility/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility/pages/second/second.hml
deleted file mode 100644
index f5433cccb2beadd4dae61b4c40f6b6d5b0112d16..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskmanager_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_taskmanager_test/entry/src/main/js/MainAbility/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility/pages/second/second.js
deleted file mode 100644
index 87aeb3a2a55bd87e95be3c658902b7430e8943d7..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility/pages/second/second.js
+++ /dev/null
@@ -1,26 +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 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_taskmanager_test/entry/src/main/js/MainAbility3/app.js b/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility3/app.js
deleted file mode 100644
index 4aa26e97db9a4d3bc968eb070305e3867d4ac344..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility3/app.js
+++ /dev/null
@@ -1,22 +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("Application onCreate");
- },
- onDestroy() {
- console.info("Application onDestroy");
- }
-};
diff --git a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility3/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility3/i18n/en-US.json
deleted file mode 100644
index 08e34eac912bf2651eefc20e26aa479b5e4e7ec2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility3/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_taskmanager_test/entry/src/main/js/MainAbility3/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility3/i18n/zh-CN.json
deleted file mode 100644
index 3dd53b3a8b808aec9396fa663cb00ef22ba61e0a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility3/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_taskmanager_test/entry/src/main/js/MainAbility3/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility3/pages/index/index.css
deleted file mode 100644
index eccbd6a730583b438049440bee2e790904a16c30..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility3/pages/index/index.css
+++ /dev/null
@@ -1,38 +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 {
- 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_taskmanager_test/entry/src/main/js/MainAbility3/pages/index/index.hml b/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility3/pages/index/index.hml
deleted file mode 100644
index 0769c413d3b856da1f96e7969a0e4ebe4034fa45..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility3/pages/index/index.hml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility3/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility3/pages/index/index.js
deleted file mode 100644
index f8ff7d2617330cd5236d21fb19662177bc832049..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility3/pages/index/index.js
+++ /dev/null
@@ -1,32 +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 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_taskmanager_test/entry/src/main/js/MainAbility3/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility3/pages/second/second.css
deleted file mode 100644
index eccbd6a730583b438049440bee2e790904a16c30..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility3/pages/second/second.css
+++ /dev/null
@@ -1,38 +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 {
- 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_taskmanager_test/entry/src/main/js/MainAbility3/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility3/pages/second/second.hml
deleted file mode 100644
index f5433cccb2beadd4dae61b4c40f6b6d5b0112d16..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility3/pages/second/second.hml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- {{ $t('strings.page') }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility3/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility3/pages/second/second.js
deleted file mode 100644
index 87aeb3a2a55bd87e95be3c658902b7430e8943d7..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/MainAbility3/pages/second/second.js
+++ /dev/null
@@ -1,26 +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 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_taskmanager_test/entry/src/main/js/test/List.test.js b/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/test/List.test.js
deleted file mode 100644
index e51be7f6092397261e87eabbd389c540f965544f..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/test/List.test.js
+++ /dev/null
@@ -1,16 +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('./MissionManagerTest.js');
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/test/MissionManagerTest.js b/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/test/MissionManagerTest.js
deleted file mode 100644
index f94555b530b62e86144085688c88c0c82ca9928f..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/js/test/MissionManagerTest.js
+++ /dev/null
@@ -1,427 +0,0 @@
-// @ts-nocheck
-/*
- * 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 missionManager from '@ohos.application.missionManager';
-//import ability_featureAbility from '@ohos.ability.featureAbility';
-
-describe('ShiAbilityDisableTest', function () {
- var result
- console.log("ShiAbilityDisableTest --- start");
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MissionManager_4000
- * @tc.name The interface parameter local id and is 1
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MissionManager_4000',0, async function (done){
- missionManager.getMissionInfos("", 1, (err, data) => {
- console.log('SUB_AA_OpenHarmony_MissionManager_4000 AsyncCallback errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code == 0).assertTrue();
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MissionManager_4100
- * @tc.name Interface parameter does not exist and 1
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MissionManager_4100', 0, async function (done) {
- missionManager.getMissionInfos("aaaaaa", 1, (err, data) => {
- console.log('SUB_AA_OpenHarmony_MissionManager_4100 AsyncCallback errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code != 0).assertTrue();
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MissionManager_4200
- * @tc.name Interface parameter null and 1
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MissionManager_4200', 0, async function (done) {
- missionManager.getMissionInfos('', 1, (err, data) => {
- console.log('SUB_AA_OpenHarmony_MissionManager_4200 AsyncCallback errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code == 0).assertTrue();
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MissionManager_4300
- * @tc.name Interface parameter null and 10
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MissionManager_4300', 0, async function (done) {
- missionManager.getMissionInfos('', 10, (err, data) => {
- console.log('SUB_AA_OpenHarmony_MissionManager_4300 AsyncCallback errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code == 0).assertTrue();
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MissionManager_4400
- * @tc.name Interface parameter null and 1000
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MissionManager_4400', 0, async function (done){
- missionManager.getMissionInfos('', 1000, (err, data) => {
- console.log('SUB_AA_OpenHarmony_MissionManager_4400 AsyncCallback errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code == 0).assertTrue();
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MissionManager_4500
- * @tc.name Interface parameter null and null
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MissionManager_4500', 0, async function (done){
- missionManager.getMissionInfos("", "", (err, data) => {
- console.log('SUB_AA_OpenHarmony_MissionManager_4500 AsyncCallback errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code != 0).assertTrue();
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MissionManager_4600
- * @tc.name Interface parameter null and string 1
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MissionManager_4600', 0, async function (done){
- missionManager.getMissionInfos("", "1", (err, data) => {
- console.log('SUB_AA_OpenHarmony_MissionManager_4600 AsyncCallback errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code != 0).assertTrue();
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MissionManager_4700
- * @tc.name Interface parameter null and floating point number
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MissionManager_4700', 0, async function (done){
- missionManager.getMissionInfos('', 2.0, (err, data) => {
- console.log('SUB_AA_OpenHarmony_MissionManager_4700 AsyncCallback errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code == 0).assertTrue();
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MissionManager_4800
- * @tc.name Interface parameter null and null
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MissionManager_4800', 0, async function (done){
- missionManager.getMissionInfos("", "", (err, data) => {
- console.log('SUB_AA_OpenHarmony_MissionManager_4800 AsyncCallback errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MissionManager_4900
- * @tc.name Interface parameter does not exist and null
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MissionManager_4900', 0, async function (done){
- missionManager.getMissionInfos("bbbb", "", (err, data) => {
- console.log('SUB_AA_OpenHarmony_MissionManager_4900 AsyncCallback errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code != 0).assertTrue();
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MissionManager_5000
- * @tc.name Interface parameter does not exist and 1
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MissionManager_5000', 0, async function (done){
- missionManager.getMissionInfos("", 1, (err, data) => {
- console.log('SUB_AA_OpenHarmony_MissionManager_5000 AsyncCallback errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code != 0).assertTrue();
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MissionManager_5100
- * @tc.name Interface parameter null and null
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MissionManager_5100', 0, async function (done){
- missionManager.getMissionInfos("", "", (err, data) => {
- console.log('SUB_AA_OpenHarmony_MissionManager_5100 AsyncCallback errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MissionManager_5200
- * @tc.name Interface parameter null and id
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MissionManager_5200', 0, async function (done){
- var id = 65024;
- missionManager.getMissionInfos("", id, (err, data) => {
- console.log('SUB_AA_OpenHarmony_MissionManager_5200 AsyncCallback errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code != 0).assertTrue();
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MissionManager_5300
- * @tc.name Interface parameter null and null
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MissionManager_5300', 0, async function (done) {
- missionManager.getMissionInfo('', '', (err, data) => {
- console.log('SUB_AA_OpenHarmony_MissionManager_5300 AsyncCallback errCode ##: '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code != 0).assertTrue();
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MissionManager_5400
- * @tc.name Interface parameter null and string
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MissionManager_5400', 0, async function (done) {
- missionManager.getMissionInfo('', "aa", (err, data) => {
- console.log('SUB_AA_OpenHarmony_MissionManager_5400 AsyncCallback errCode ##: '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code != 0).assertTrue();
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MissionManager_5500
- * @tc.name Interface parameter null and float
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MissionManager_5500', 0, async function (done){
- missionManager.getMissionInfos("", 2.0, (err, data) => {
- console.log('SUB_AA_OpenHarmony_MissionManager_5500 AsyncCallback errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MissionManager_5600
- * @tc.name Interface parameter undefined
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MissionManager_5600', 0, async function (done) {
- let object = undefined
- var result = missionManager.registerMissionListener(object);
- console.log('SUB_AA_OpenHarmony_MissionManager_5600 result ###' + JSON.stringify(result));
- expect(result != undefined).assertTrue();
- done();
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MissionManager_5700
- * @tc.name Interface parameter Empty object
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MissionManager_5700', 0, async function (done) {
- let object = {}
- var result = missionManager.registerMissionListener(object);
- console.log('SUB_AA_OpenHarmony_MissionManager_5700 result ### ' + JSON.stringify(object));
- console.log('SUB_AA_OpenHarmony_MissionManager_5700 result ### ' + JSON.stringify(result));
- expect(result != undefined).assertTrue();
- done();
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MissionManager_5800
- * @tc.name Multiple registration listening
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MissionManager_5800', 0, async function (done){
- for(let i = 0; i< 5; i++){
- result = missionManager.registerMissionListener({
- onMissionCreated:function onMissionCreated(number){
- console.log("SUB_onForegroundApplicationChanged")
- },
- onMissionDestroyed:function onMissionDestroyed(number){
- console.log("SUB_onAbilityStateChanged")
- },
- onMissionSnapshotChanged:function onMissionSnapshotChanged(number){
- console.log("SUB_onProcessCreated")
- },
- onMissionMovedToFront:function onMissionMovedToFront(number){
- console.log("SUB_onProcessDied")
- },
- });
- console.log('SUB_AA_OpenHarmony_MissionManager_5800 result ### ' + JSON.stringify(result));
- expect(result != undefined).assertTrue();
- done();
- }
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MissionManager_5900
- * @tc.name Interface parameter non-existent
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MissionManager_5900', 0, async function (done) {
- console.log("---------start SUB_AA_OpenHarmony_MissionManager_5900------------")
- var id = 44642;
- missionManager.unregisterMissionListener(id, (err, data) => {
- console.log('SUB_AA_OpenHarmony_MissionManager_5900 AsyncCallback errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code == 0).assertTrue();
- done();
- })
- console.log("---------start SUB_AA_OpenHarmony_MissionManager_5900------------")
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MissionManager_6000
- * @tc.name Interface parameter Registered ID
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MissionManager_6000', 0, async function (done){
- missionManager.unregisterMissionListener(result, (err, data) => {
- console.log('SUB_AA_OpenHarmony_MissionManager_6000 AsyncCallback errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code == 0).assertTrue();
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MissionManager_6100
- * @tc.name Interface parameter Unregistered ID
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MissionManager_6100', 0, async function (done){
- missionManager.unregisterMissionListener(result, (err, data) => {
- console.log('SUB_AA_OpenHarmony_MissionManager_6100 AsyncCallback errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code == 0).assertTrue();
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MissionManager_6200
- * @tc.name Interface parameter undefined
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MissionManager_6200', 0, async function (done){
- let listenerId = undefined
- missionManager.unregisterMissionListener(listenerId, (err, data) => {
- console.log('SUB_AA_OpenHarmony_MissionManager_6200 AsyncCallback errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code != 0).assertTrue();
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MissionManager_6300
- * @tc.name Interface parameter null
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MissionManager_6300', 0, async function (done) {
- missionManager.unregisterMissionListener(null, (err, data) => {
- console.log('SUB_AA_OpenHarmony_MissionManager_6300 AsyncCallback errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code != 0).assertTrue();
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MissionManager_6400
- * @tc.name Interface parameter string
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MissionManager_6400', 0, async function (done){
- missionManager.unregisterMissionListener('cc', (err, data) => {
- console.log('SUB_AA_OpenHarmony_MissionManager_6400 AsyncCallback errCode : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code != 0).assertTrue();
- done();
- })
- })
-
- /*
- * @tc.number SUB_AA_OpenHarmony_MissionManager_6500
- * @tc.name Interface parameter float
- * @tc.desc Function test
- * @tc.level 0
- */
- it('SUB_AA_OpenHarmony_MissionManager_6500', 0, async function (done){
- missionManager.unregisterMissionListener(2.0, (err, data) => {
- console.log('SUB_AA_OpenHarmony_MissionManager_6500 AsyncCallback errCode123123 : '
- + JSON.stringify(err) + " data: " + JSON.stringify(data));
- expect(err.code == 0).assertTrue();
- done();
- })
- })
-})
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/resources/base/element/string.json b/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/resources/base/element/string.json
deleted file mode 100644
index d5f23d474196105fed5066b5163326fc606cf6b2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/resources/base/element/string.json
+++ /dev/null
@@ -1,44 +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"
- },
- {
- "name": "description_mainability3",
- "value": "JS_Empty Ability"
- },
- {
- "name": "entry_MainAbility3",
- "value": "entry_MainAbility3"
- },
- {
- "name": "description_mainability4",
- "value": "JS_Empty Ability"
- },
- {
- "name": "entry_MainAbility4",
- "value": "entry_MainAbility4"
- },
- {
- "name": "description_mainability5",
- "value": "JS_Empty Ability"
- },
- {
- "name": "entry_MainAbility5",
- "value": "entry_MainAbility5"
- }
- ]
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/resources/base/media/icon.png b/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/resources/base/media/icon.png
deleted file mode 100644
index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000
Binary files a/aafwk/aafwk_standard/fa/fa_taskmanager_test/entry/src/main/resources/base/media/icon.png and /dev/null differ
diff --git a/aafwk/aafwk_standard/fa/fa_taskmanager_test/signature/openharmony_sx.p7b b/aafwk/aafwk_standard/fa/fa_taskmanager_test/signature/openharmony_sx.p7b
deleted file mode 100644
index 66b4457a8a81fb8d3356cf46d67226c850944858..0000000000000000000000000000000000000000
Binary files a/aafwk/aafwk_standard/fa/fa_taskmanager_test/signature/openharmony_sx.p7b and /dev/null differ
diff --git a/aafwk/aafwk_standard/fa/fa_taskswiting_test/BUILD.gn b/aafwk/aafwk_standard/fa/fa_taskswiting_test/BUILD.gn
deleted file mode 100755
index 03f53297c6f213636a42a883705786f6ff6381e6..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_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("FaTaskswitingTest") {
- hap_profile = "./entry/src/main/config.json"
- deps = [
- ":fa_taskswiting_test_assets",
- ":fa_taskswiting_test_resources",
- ]
- certificate_profile = "./signature/openharmony_sx.p7b"
- hap_name = "FaTaskswitingTest"
-}
-ohos_js_assets("fa_taskswiting_test_assets") {
- source_dir = "./entry/src/main/js/MainAbility"
-}
-ohos_resources("fa_taskswiting_test_resources") {
- sources = [ "./entry/src/main/resources" ]
- hap_profile = "./entry/src/main/config.json"
-}
diff --git a/aafwk/aafwk_standard/fa/fa_taskswiting_test/Test.json b/aafwk/aafwk_standard/fa/fa_taskswiting_test/Test.json
deleted file mode 100755
index 776b88009d046d24c37fefce8a86504d1b68d5d2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_test/Test.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "description" : "Configuration for hjunit demo Test",
- "driver": {
- "type" : "JSUnitTest",
- "test-timeout": "180000",
- "package": "com.example.actsabilitydistributetest",
- "shell-timeout": "600000"
- },
- "kits": [
- {
- "test-file-name": [
- "ActsAbilityDistributeTest.hap"
- ],
- "type": "AppInstallKit",
- "cleanup-apps": true
- }
- ]
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/config.json b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/config.json
deleted file mode 100644
index e722d27aaab2dc0003c1de2ca5a7150971b49c53..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/config.json
+++ /dev/null
@@ -1,162 +0,0 @@
-{
- "app": {
- "bundleName": "com.example.taskswitching",
- "vendor": "example",
- "version": {
- "code": 1000000,
- "name": "1.0.0"
- }
- },
- "deviceConfig": {},
- "module": {
- "package": "com.example.taskswitching",
- "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"
- },
- {
- "orientation": "unspecified",
- "srcPath": "MainAbility3",
- "name": ".MainAbility3",
- "srcLanguage": "js",
- "icon": "$media:icon",
- "description": "$string:description_mainability3",
- "formsEnabled": false,
- "label": "$string:entry_MainAbility3",
- "type": "page",
- "launchType": "standard"
- },
- {
- "orientation": "unspecified",
- "srcPath": "MainAbility4",
- "name": ".MainAbility4",
- "srcLanguage": "js",
- "icon": "$media:icon",
- "description": "$string:description_mainability4",
- "formsEnabled": false,
- "label": "$string:entry_MainAbility4",
- "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
- }
- },
- {
- "pages": [
- "pages/index/index",
- "pages/second/second"
- ],
- "name": ".MainAbility3",
- "window": {
- "designWidth": 720,
- "autoDesignWidth": false
- }
- },
- {
- "pages": [
- "pages/index/index",
- "pages/second/second"
- ],
- "name": ".MainAbility4",
- "window": {
- "designWidth": 720,
- "autoDesignWidth": false
- }
- }
- ],
- "reqPermissions": [
- {
- "name": "ohos.permission.GET_BUNDLE_INFO",
- "reason": "need use ohos.permission.INSTALL_BUNDLE"
- },
- {
- "name": "ohos.permission.MANAGE_MISSIONS"
- },
- {
- "name": "ohos.permission.INSTALL_BUNDLE",
- "reason": "need use ohos.permission.INSTALL_BUNDLE"
- },
- {
- "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
- "reason": "need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
- },
- {
- "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"
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility/app.js b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility/app.js
deleted file mode 100644
index c89651aa45a05b926ca70271f946a4459a0dcbf3..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility/app.js
+++ /dev/null
@@ -1,27 +0,0 @@
-// @ts-nocheck
-/*
- * 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("Emtry MainAbility onCreate");
- },
-
- onDestroy() {
- console.info("Emtry MainAbility onDestroy");
- },
-
-
-};
\ No newline at end of file
diff --git a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility/i18n/en-US.json
deleted file mode 100644
index 08e34eac912bf2651eefc20e26aa479b5e4e7ec2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_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_taskswiting_test/entry/src/main/js/MainAbility/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility/i18n/zh-CN.json
deleted file mode 100644
index 3dd53b3a8b808aec9396fa663cb00ef22ba61e0a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_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_taskswiting_test/entry/src/main/js/MainAbility/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility/pages/index/index.css
deleted file mode 100644
index 8b5cce53e8f61458e5a3005866217e0df1dfa133..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility/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_taskswiting_test/entry/src/main/js/MainAbility/pages/index/index.hml b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility/pages/index/index.hml
deleted file mode 100644
index c0e275679027e3ca0633844fbe140d5076d5f18e..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility/pages/index/index.hml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility/pages/index/index.js
deleted file mode 100644
index eec7a2a093a2da274c5f29bd5ee1975580612e0e..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility/pages/index/index.js
+++ /dev/null
@@ -1,60 +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'
-import commonEvent from '@ohos.commonEvent';
-
-export default {
- data: {
- title: "",
- text: ""
- },
- onInit() {
- this.title = this.$t('strings.world');
- this.text = "This is entry MainAbility"
- },
-
- onShow() {
- console.info('onShow finish')
- const core = Core.getInstance()
- core.init()
- const configService = core.getDefaultService('config')
- configService.setConfig(this)
- require('../../../test/List.test.js')
- core.execute();
-
- console.info("EntryAbility onShow");
- commonEvent.publish("EntryAbility_onShow", () => {
- console.log("EntryAbility Publish CallBack EntryAbility_onShow")
- });
- },
-
- onHide() {
- console.info("EntryAbility onHide");
- commonEvent.publish("EntryAbility_onHide", () => {
- console.log("EntryAbility Publish CallBack EntryAbility_onHide")
- });
- },
-
- onclick: function () {
- router.replace({
- uri: "pages/second/second"
- })
- }
-
-}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility/pages/second/second.css
deleted file mode 100644
index 8b5cce53e8f61458e5a3005866217e0df1dfa133..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_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_taskswiting_test/entry/src/main/js/MainAbility/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility/pages/second/second.hml
deleted file mode 100644
index 35006f7a7182a4e208c19a8e2c28ee68d8650fd1..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility/pages/second/second.hml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
- {{ $t('strings.page') }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility/pages/second/second.js
deleted file mode 100644
index 13d00f1ea98b01a81f526095fb9e5845fd069a95..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility/pages/second/second.js
+++ /dev/null
@@ -1,27 +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_taskswiting_test/entry/src/main/js/MainAbility2/app.js b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility2/app.js
deleted file mode 100644
index 54c61fba694f54b83972409640fb9e4810a528d9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility2/app.js
+++ /dev/null
@@ -1,41 +0,0 @@
-// @ts-nocheck
-/*
- * 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 commonEvent from '@ohos.commonevent'
-
-export default {
- onCreate() {
- console.info("Application2 onCreate");
- commonEvent.publish("EntryAbility2_onCreate", () => {
- console.log("EntryAbility2 Publish CallBack EntryAbility2_onCreate")
- });
- setTimeout(()=>{
- featureAbility.terminateSelf().then((data) => {
- console.log("EntryAbility2 terminateSelf windowStage data: " + JSON.stringify(data))
- }).catch((error) => {
- console.log("EntryAbility2 terminateSelf windowStage error: " + JSON.stringify(error))
- })
- }, 4500)
- },
-
- onDestroy() {
- console.info("Application2 onDestroy");
- commonEvent.publish("EntryAbility2_onDestroy", () => {
- console.log("EntryAbility2 Publish CallBack EntryAbility2_onDestroy")
- });
- }
-};
diff --git a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility2/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility2/i18n/en-US.json
deleted file mode 100644
index 08e34eac912bf2651eefc20e26aa479b5e4e7ec2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_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_taskswiting_test/entry/src/main/js/MainAbility2/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility2/i18n/zh-CN.json
deleted file mode 100644
index 3dd53b3a8b808aec9396fa663cb00ef22ba61e0a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_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_taskswiting_test/entry/src/main/js/MainAbility2/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility2/pages/index/index.css
deleted file mode 100644
index 8b5cce53e8f61458e5a3005866217e0df1dfa133..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_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_taskswiting_test/entry/src/main/js/MainAbility2/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility2/pages/index/index.js
deleted file mode 100644
index e5ae1748c65d8b7b5b57c8f9a0a845134aa64474..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility2/pages/index/index.js
+++ /dev/null
@@ -1,63 +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 commonEvent from '@ohos.commonEvent';
-
-export default {
- data: {
- title: "",
- text: ""
- },
- onInit() {
- this.title = this.$t('strings.world');
- this.text = "This is entry MainAbility2"
- },
- onShow() {
- console.info("EntryAbility2 onShow");
- commonEvent.publish("EntryAbility2_onShow", () => {
- console.log("EntryAbility2 Publish CallBack EntryAbility2_onShow")
- });
- },
-
- onHide() {
- console.info("EntryAbility2 onHide");
- commonEvent.publish("EntryAbility2_onHide", () => {
- console.log("EntryAbility2 Publish CallBack EntryAbility2_onHide")
- });
- },
-
- onActive() {
- console.info("EntryAbility2 onActive");
- commonEvent.publish("EntryAbility2_onActive", () => {
- console.log("EntryAbility2 Publish CallBack EntryAbility2_onActive")
- });
- },
-
- onInactive() {
- console.info("EntryAbility2 onInactive");
- commonEvent.publish("EntryAbility2_onInactive", () => {
- console.log("EntryAbility2 Publish CallBack EntryAbility2_onInactive")
- });
- },
- onclick: function () {
- router.replace({
- uri: "pages/second/second"
- })
- }
-}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility2/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility2/pages/second/second.css
deleted file mode 100644
index 8b5cce53e8f61458e5a3005866217e0df1dfa133..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility2/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_taskswiting_test/entry/src/main/js/MainAbility2/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility2/pages/second/second.hml
deleted file mode 100644
index 35006f7a7182a4e208c19a8e2c28ee68d8650fd1..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility2/pages/second/second.hml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
- {{ $t('strings.page') }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility2/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility2/pages/second/second.js
deleted file mode 100644
index 597137c48180a9f2346948383840f71fc6e24511..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility2/pages/second/second.js
+++ /dev/null
@@ -1,27 +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_taskswiting_test/entry/src/main/js/MainAbility3/app.js b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility3/app.js
deleted file mode 100644
index 5f3eae6bd45d25d7ed58841756095b6b17eb7d9e..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility3/app.js
+++ /dev/null
@@ -1,37 +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 commonEvent from '@ohos.commonevent'
-
-export default {
- onCreate() {
- console.info("Application3 onCreate");
-
- setTimeout(()=>{
- featureAbility.terminateSelf().then((data) => {
- console.log("EntryAbility3 terminateSelf windowStage data: " + JSON.stringify(data))
- }).catch((error) => {
- console.log("EntryAbility3 terminateSelf windowStage error: " + JSON.stringify(error))
- })
- }, 4500)
- },
- onDestroy() {
- console.info("Application3 onDestroy");
- commonEvent.publish("EntryAbility3_onDestroy", () => {
- console.log("EntryAbility3 Publish CallBack EntryAbility3_onDestroy")
- });
- }
-};
diff --git a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility3/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility3/i18n/en-US.json
deleted file mode 100644
index 08e34eac912bf2651eefc20e26aa479b5e4e7ec2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility3/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_taskswiting_test/entry/src/main/js/MainAbility3/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility3/i18n/zh-CN.json
deleted file mode 100644
index 3dd53b3a8b808aec9396fa663cb00ef22ba61e0a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility3/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_taskswiting_test/entry/src/main/js/MainAbility3/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility3/pages/index/index.css
deleted file mode 100644
index 8b5cce53e8f61458e5a3005866217e0df1dfa133..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility3/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_taskswiting_test/entry/src/main/js/MainAbility3/pages/index/index.js b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility3/pages/index/index.js
deleted file mode 100644
index e759073aae85506ca8e20f92314fe4b6cb5ee486..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility3/pages/index/index.js
+++ /dev/null
@@ -1,63 +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 commonEvent from '@ohos.commonEvent';
-
-export default {
- data: {
- title: "",
- text: ""
- },
- onInit() {
- this.title = this.$t('strings.world');
- this.text = "This is entry MainAbility3"
- },
- onShow() {
- console.info("EntryAbility3 onShow");
- commonEvent.publish("EntryAbility3_onShow", () => {
- console.log("EntryAbility3 Publish CallBack EntryAbility3_onShow")
- });
- },
-
- onHide() {
- console.info("EntryAbility3 onHide");
- commonEvent.publish("EntryAbility3_onHide", () => {
- console.log("EntryAbility3 Publish CallBack EntryAbility3_onHide")
- });
- },
-
- onActive() {
- console.info("EntryAbility3 onActive");
- commonEvent.publish("EntryAbility3_onActive", () => {
- console.log("EntryAbility3 Publish CallBack EntryAbility3_onActive")
- });
- },
-
- onInactive() {
- console.info("EntryAbility3 onInactive");
- commonEvent.publish("EntryAbility3_onInactive", () => {
- console.log("EntryAbility3 Publish CallBack EntryAbility3_onInactive")
- });
- },
- onclick: function () {
- router.replace({
- uri: "pages/second/second"
- })
- }
-}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility3/pages/second/second.css b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility3/pages/second/second.css
deleted file mode 100644
index 8b5cce53e8f61458e5a3005866217e0df1dfa133..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility3/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_taskswiting_test/entry/src/main/js/MainAbility3/pages/second/second.hml b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility3/pages/second/second.hml
deleted file mode 100644
index 35006f7a7182a4e208c19a8e2c28ee68d8650fd1..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility3/pages/second/second.hml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
- {{ $t('strings.page') }}
-
-
-
diff --git a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility3/pages/second/second.js b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility3/pages/second/second.js
deleted file mode 100644
index 597137c48180a9f2346948383840f71fc6e24511..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility3/pages/second/second.js
+++ /dev/null
@@ -1,27 +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_taskswiting_test/entry/src/main/js/MainAbility4/app.js b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility4/app.js
deleted file mode 100644
index 41c29d02b835a2b4c55e6bb1c9ca5c4cb003e1c9..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility4/app.js
+++ /dev/null
@@ -1,37 +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 commonEvent from '@ohos.commonevent'
-
-export default {
- onCreate() {
- console.info("Application4 onCreate");
- setTimeout(()=>{
- featureAbility.terminateSelf().then((data) => {
- console.log("EntryAbility4 terminateSelf windowStage data: " + JSON.stringify(data))
- }).catch((error) => {
- console.log("EntryAbility4 terminateSelf windowStage error: " + JSON.stringify(error))
- })
- }, 4500)
- },
-
- onDestroy() {
- console.info("Application4 onDestroy");
- commonEvent.publish("EntryAbility4_onDestroy", () => {
- console.log("EntryAbility4 Publish CallBack EntryAbility4_onDestroy")
- });
- }
-};
diff --git a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility4/i18n/en-US.json b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility4/i18n/en-US.json
deleted file mode 100644
index 08e34eac912bf2651eefc20e26aa479b5e4e7ec2..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility4/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_taskswiting_test/entry/src/main/js/MainAbility4/i18n/zh-CN.json b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility4/i18n/zh-CN.json
deleted file mode 100644
index 3dd53b3a8b808aec9396fa663cb00ef22ba61e0a..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility4/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_taskswiting_test/entry/src/main/js/MainAbility4/pages/index/index.css b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility4/pages/index/index.css
deleted file mode 100644
index 8b5cce53e8f61458e5a3005866217e0df1dfa133..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility4/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_taskswiting_test/entry/src/main/js/MainAbility4/pages/index/index.hml b/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility4/pages/index/index.hml
deleted file mode 100644
index 9270ab23ca8099e4d6305f38034b6f75894fcdd7..0000000000000000000000000000000000000000
--- a/aafwk/aafwk_standard/fa/fa_taskswiting_test/entry/src/main/js/MainAbility4/pages/index/index.hml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-