diff --git a/ability/ability_runtime/abilitymanager/BUILD.gn b/ability/ability_runtime/abilitymanager/BUILD.gn
index d9e645a6d93b22b1da69dbc532d10768ff8ab80d..b0f4e512b54751ff976b3f481a2e9933227e528d 100644
--- a/ability/ability_runtime/abilitymanager/BUILD.gn
+++ b/ability/ability_runtime/abilitymanager/BUILD.gn
@@ -27,11 +27,6 @@ group("actsabilitymanagertest") {
"actsamstestfourthscene:ActsAmsTestFourthSceneTest",
"actsamstestsecondscene:ActsAmsTestSecondSceneTest",
"actsamstestthirdscene:ActsAmsTestThirdSceneTest",
- "sceneProject/simulateEAbility:simulateEAbility",
- "sceneProject/simulateFAbilityFir:simulateFAbilityFir",
- "sceneProject/simulateFAbilitySed:simulateFAbilitySed",
- "sceneProject/verifyAAbility:verifyAAbility",
- "sceneProject/verifyIAbility:verifyIAbility",
]
}
}
diff --git a/ability/ability_runtime/abilitymanager/actsamscallbackfifthscene/Test.json b/ability/ability_runtime/abilitymanager/actsamscallbackfifthscene/Test.json
index c61389c6e9c79cde550a5015691beb716aa44a62..9895cf2b433a84ec8f4a2a84719e5730000908b7 100644
--- a/ability/ability_runtime/abilitymanager/actsamscallbackfifthscene/Test.json
+++ b/ability/ability_runtime/abilitymanager/actsamscallbackfifthscene/Test.json
@@ -10,10 +10,7 @@
"kits": [
{
"test-file-name": [
- "ActsAmsCallBackFifthSceneTest.hap",
- "simulateFAbilityFir.hap",
- "simulateFAbilitySed.hap",
- "verifyIAbility.hap"
+ "ActsAmsCallBackFifthSceneTest.hap"
],
"type": "AppInstallKit",
"cleanup-apps": true
diff --git a/ability/ability_runtime/abilitymanager/actsamscallbackfifthscene/src/main/js/test/MangerAbilityJsunit.test.js b/ability/ability_runtime/abilitymanager/actsamscallbackfifthscene/src/main/js/test/MangerAbilityJsunit.test.js
index 884e3dc8c0d93427a993040aceeb2148878f8049..275cc5ba4a38fc4b4b6de9a4e84f4a30943cc51a 100644
--- a/ability/ability_runtime/abilitymanager/actsamscallbackfifthscene/src/main/js/test/MangerAbilityJsunit.test.js
+++ b/ability/ability_runtime/abilitymanager/actsamscallbackfifthscene/src/main/js/test/MangerAbilityJsunit.test.js
@@ -12,102 +12,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-import featureAbility from '@ohos.ability.featureAbility'
import appManager from "@ohos.application.appManager"
-import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
+import { describe, it, expect } from '@ohos/hypium'
-let abilityNameList = [
- "com.ohos.launcher.MainAbility",
- "com.ohos.callui.ServiceAbility",
- "com.example.SimulateFeatureAbilityFir",
- "com.example.VerifyIoThirdAbility",
- "com.example.SimulateFeatureAbilitySed",
- "com.example.actsamscallbackfifthscene.MainAbility"
-]
-
-let bundleNameList = [
- "com.ohos.launcher",
- "com.ohos.systemui",
- "com.ohos.callui",
- "com.ohos.contacts",
- "com.ohos.mms",
- "com.ohos.telephonydataability",
- "com.ohos.contactsdataability",
- "com.ix.simulate.feature",
- "com.ix.verify.io",
- "com.example.actsamscallbackfifthscene"
-]
export default function ActsAmsCallBackFifthScene() {
describe('ActsAmsCallBackFifthScene', function () {
console.info('----ActsAmsCallBackFifthScene----');
- beforeAll(async function (done) {
- await featureAbility.startAbility(
- {
- want:
- {
- deviceId: "",
- bundleName: "com.ix.simulate.feature",
- abilityName: "com.example.SimulateFeatureAbilityFir",
- action: "action1",
- parameters:
- {},
- },
- }, (error, data) => {
- console.info('ActsAmsCallBackFifthScene SimulateFeatureAbilityFir start, error.code \
- ' + error.code + ', data length [' + data.length + ']');
- }
- );
-
- await featureAbility.startAbility(
- {
- want:
- {
- deviceId: "",
- bundleName: "com.ix.verify.io",
- abilityName: "com.example.VerifyIoThirdAbility",
- action: "action1",
- parameters:
- {},
- },
- }, (error, data) => {
- console.info('ActsAmsCallBackFifthScene VerifyIoThirdAbility start, error.code \
- ' + error.code + ', data length [' + data.length + ']');
- }
- );
-
- await featureAbility.startAbility(
- {
- want:
- {
- deviceId: "",
- bundleName: "com.ix.simulate.feature",
- abilityName: "com.example.SimulateFeatureAbilitySed",
- action: "action1",
- parameters:
- {},
- },
- }, (error, data) => {
- console.info('ActsAmsCallBackFifthScene SimulateFeatureAbilitySed start, error.code \
- ' + error.code + ', data length [' + data.length + ']');
- }
- );
- setTimeout(done, 5000);
- });
-
- function timeout(done) {
- expect().assertFail();
- console.debug('Acts_Ams_test=========timeout========');
- done();
- }
-
- function sleep(delay) {
- let start = new Date().getTime();
- while (true) {
- if (new Date().getTime() - start > delay) {
- break;
- }
- }
- }
/*
* @tc.number : Acts_Ams_test_6600
diff --git a/ability/ability_runtime/abilitymanager/actsamscallbackfirstscene/Test.json b/ability/ability_runtime/abilitymanager/actsamscallbackfirstscene/Test.json
index b8119e4f4e8b9a4166c3eef0bddc9fb5576407f3..5385596e61d73cf95088f4a108347334bbb1113a 100644
--- a/ability/ability_runtime/abilitymanager/actsamscallbackfirstscene/Test.json
+++ b/ability/ability_runtime/abilitymanager/actsamscallbackfirstscene/Test.json
@@ -10,8 +10,7 @@
"kits": [
{
"test-file-name": [
- "ActsAmsCallBackFirstSceneTest.hap",
- "simulateFAbilityFir.hap"
+ "ActsAmsCallBackFirstSceneTest.hap"
],
"type": "AppInstallKit",
"cleanup-apps": true
diff --git a/ability/ability_runtime/abilitymanager/actsamscallbackfirstscene/src/main/js/test/MangerAbilityJsunit.test.js b/ability/ability_runtime/abilitymanager/actsamscallbackfirstscene/src/main/js/test/MangerAbilityJsunit.test.js
index bf3cd113698991a6c043248acab47f511865f107..28b99b39be567b603bde5106eed45ff8c2e3f290 100644
--- a/ability/ability_runtime/abilitymanager/actsamscallbackfirstscene/src/main/js/test/MangerAbilityJsunit.test.js
+++ b/ability/ability_runtime/abilitymanager/actsamscallbackfirstscene/src/main/js/test/MangerAbilityJsunit.test.js
@@ -12,47 +12,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-import featureAbility from '@ohos.ability.featureAbility'
import appManager from "@ohos.application.appManager"
-import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
+import { describe, it, expect } from '@ohos/hypium'
export default function ActsAmsCallBackFirstScene() {
describe('ActsAmsCallBackFirstScene', function () {
console.info('----ActsAmsCallBackFirstScene----');
- beforeAll(async function (done) {
- await featureAbility.startAbility(
- {
- want:
- {
- deviceId: "",
- bundleName: "com.ix.simulate.feature",
- abilityName: "com.example.SimulateFeatureAbilityFir",
- action: "action1",
- parameters:
- {},
- },
- }, (error, data) => {
- console.info('ActsAmsCallBackFirstScene SimulateFeatureAbilityFir start, error.code \
- ' + error.code + ', data length [' + data.length + ']');
- }
- );
- sleep(500);
- done();
- });
-
- function timeout(done) {
- expect().assertFail();
- console.debug('Acts_Ams_test=========timeout========');
- done();
- }
-
- function sleep(delay) {
- var start = new Date().getTime();
- while (true) {
- if (new Date().getTime() - start > delay) {
- break;
- }
- }
- }
/*
* @tc.number : Acts_Ams_test_0200
diff --git a/ability/ability_runtime/abilitymanager/actsamscallbackfourthscene/Test.json b/ability/ability_runtime/abilitymanager/actsamscallbackfourthscene/Test.json
index 28d13d6bb074c63fefb77db2c4d1bf906682bcd1..bdb44fb7603380d4ad4b1f02f986bc6272d0bd9b 100644
--- a/ability/ability_runtime/abilitymanager/actsamscallbackfourthscene/Test.json
+++ b/ability/ability_runtime/abilitymanager/actsamscallbackfourthscene/Test.json
@@ -10,11 +10,7 @@
"kits": [
{
"test-file-name": [
- "ActsAmsCallBackFourthSceneTest.hap",
- "simulateFAbilityFir.hap",
- "verifyAAbility.hap",
- "verifyIAbility.hap",
- "simulateEAbility.hap"
+ "ActsAmsCallBackFourthSceneTest.hap"
],
"type": "AppInstallKit",
"cleanup-apps": true
diff --git a/ability/ability_runtime/abilitymanager/actsamscallbackfourthscene/src/main/js/test/MangerAbilityJsunit.test.js b/ability/ability_runtime/abilitymanager/actsamscallbackfourthscene/src/main/js/test/MangerAbilityJsunit.test.js
index e44101aa58621dc95404783cd060118ac3445414..57f02964eea449f5aac8d8bb034b65fb57ec8cba 100644
--- a/ability/ability_runtime/abilitymanager/actsamscallbackfourthscene/src/main/js/test/MangerAbilityJsunit.test.js
+++ b/ability/ability_runtime/abilitymanager/actsamscallbackfourthscene/src/main/js/test/MangerAbilityJsunit.test.js
@@ -12,98 +12,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-import featureAbility from '@ohos.ability.featureAbility'
import appManager from "@ohos.application.appManager"
-import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
+import { describe, it, expect } from '@ohos/hypium'
export default function ActsAmsCallBackFourthScene() {
describe('ActsAmsCallBackFourthScene', function () {
console.info('----ActsAmsCallBackFourthScene----');
- beforeAll(async function (done) {
- await featureAbility.startAbility(
- {
- want:
- {
- deviceId: "",
- bundleName: "com.ix.verify.io",
- abilityName: "com.example.VerifyIoThirdAbility",
- action: "action1",
- parameters:
- {},
- },
- }, (error, data) => {
- console.info('ActsAmsCallBackFourthScene VerifyIoThirdAbility start, error.code \
- ' + error.code + ', data length [' + data.length + ']');
- }
- );
-
- await featureAbility.startAbility(
- {
- want:
- {
- deviceId: "",
- bundleName: "com.ix.simulate.feature",
- abilityName: "com.example.SimulateFeatureAbilityFir",
- action: "action1",
- parameters:
- {},
- },
- }, (error, data) => {
- console.info('ActsAmsCallBackFourthScene SimulateFeatureAbilityFir start, error.code \
- ' + error.code + ', data length [' + data.length + ']');
- }
- );
-
- await featureAbility.startAbility(
- {
- want:
- {
- deviceId: "",
- bundleName: "com.ix.verify.act",
- abilityName: "com.example.VerifyActThirdAbility",
- action: "action1",
- parameters:
- {},
- },
- }, (error, data) => {
- console.info('ActsAmsCallBackFourthScene VerifyActThirdAbility start, error.code \
- ' + error.code + ', data length [' + data.length + ']');
- }
- );
-
- await featureAbility.startAbility(
- {
- want:
- {
- deviceId: "",
- bundleName: "com.ix.simulate.entry",
- abilityName: "com.example.SimulateEntryAbilityFir",
- action: "action1",
- parameters:
- {},
- },
- }, (error, data) => {
- console.info('ActsAmsCallBackFourthScene SimulateEntryAbilityFir start, error.code \
- ' + error.code + ', data length [' + data?.length + ']');
- }
- );
- sleep(500);
- done();
- });
-
- function timeout(done) {
- expect().assertFail();
- console.debug('Acts_Ams_test=========timeout========');
- done();
- }
-
- function sleep(delay) {
- let start = new Date().getTime();
- while (true) {
- if (new Date().getTime() - start > delay) {
- break;
- }
- }
- }
/*
* @tc.number : Acts_Ams_test_5000
diff --git a/ability/ability_runtime/abilitymanager/actsamscallbacksecondscene/Test.json b/ability/ability_runtime/abilitymanager/actsamscallbacksecondscene/Test.json
index 445182eea769c33921c4c13615fa4da20e23f755..42878e71ce6b79a5027906bc7bef981ad93b3405 100644
--- a/ability/ability_runtime/abilitymanager/actsamscallbacksecondscene/Test.json
+++ b/ability/ability_runtime/abilitymanager/actsamscallbacksecondscene/Test.json
@@ -10,9 +10,7 @@
"kits": [
{
"test-file-name": [
- "ActsAmsCallBackSecondSceneTest.hap",
- "verifyIAbility.hap",
- "simulateFAbilityFir.hap"
+ "ActsAmsCallBackSecondSceneTest.hap"
],
"type": "AppInstallKit",
"cleanup-apps": true
diff --git a/ability/ability_runtime/abilitymanager/actsamscallbacksecondscene/src/main/js/test/MangerAbilityJsunit.test.js b/ability/ability_runtime/abilitymanager/actsamscallbacksecondscene/src/main/js/test/MangerAbilityJsunit.test.js
index ae3c9a1983e62eafd4b7803f1dd5b44c1309cf58..f0bc73123027fd173fa4239fb0c6ca299a893070 100644
--- a/ability/ability_runtime/abilitymanager/actsamscallbacksecondscene/src/main/js/test/MangerAbilityJsunit.test.js
+++ b/ability/ability_runtime/abilitymanager/actsamscallbacksecondscene/src/main/js/test/MangerAbilityJsunit.test.js
@@ -12,64 +12,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-import featureAbility from '@ohos.ability.featureAbility'
import appManager from "@ohos.application.appManager"
-import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
+import { describe, it, expect } from '@ohos/hypium'
export default function ActsAmsCallBackSecondScene() {
describe('ActsAmsCallBackSecondScene', function () {
console.info('----ActsAmsCallBackSecondScene----');
- beforeAll(async function (done) {
- await featureAbility.startAbility(
- {
- want:
- {
- deviceId: "",
- bundleName: "com.ix.verify.io",
- abilityName: "com.example.VerifyIoThirdAbility",
- action: "action1",
- parameters:
- {},
- },
- }, (error, data) => {
- console.info('ActsAmsCallBackSecondScene VerifyIoThirdAbility start, error.code \
- ' + error.code + ', data length [' + data.length + ']');
- }
- );
-
- await featureAbility.startAbility(
- {
- want:
- {
- deviceId: "",
- bundleName: "com.ix.simulate.feature",
- abilityName: "com.example.SimulateFeatureAbilityFir",
- action: "action1",
- parameters:
- {},
- },
- }, (error, data) => {
- console.info('ActsAmsCallBackSecondScene SimulateFeatureAbilityFir start, error.code \
- ' + error.code + ', data length [' + data.length + ']');
- }
- );
- sleep(500);
- done();
- });
-
- function timeout(done) {
- expect().assertFail();
- console.debug('Acts_Ams_test=========timeout========');
- done();
- }
-
- function sleep(delay) {
- let start = new Date().getTime();
- while (true) {
- if (new Date().getTime() - start > delay) {
- break;
- }
- }
- }
/*
* @tc.number : Acts_Ams_test_1800
diff --git a/ability/ability_runtime/abilitymanager/actsamscallbackthirdscene/Test.json b/ability/ability_runtime/abilitymanager/actsamscallbackthirdscene/Test.json
index 688e85f5699f2bb50d9560ed71543d4086aa43e7..a2a6b2513c2ca3c8e1315a13c061452b7ec5191f 100644
--- a/ability/ability_runtime/abilitymanager/actsamscallbackthirdscene/Test.json
+++ b/ability/ability_runtime/abilitymanager/actsamscallbackthirdscene/Test.json
@@ -10,9 +10,7 @@
"kits": [
{
"test-file-name": [
- "ActsAmsCallBackThirdSceneTest.hap",
- "simulateFAbilityFir.hap",
- "verifyIAbility.hap"
+ "ActsAmsCallBackThirdSceneTest.hap"
],
"type": "AppInstallKit",
"cleanup-apps": true
diff --git a/ability/ability_runtime/abilitymanager/actsamscallbackthirdscene/src/main/js/test/MangerAbilityJsunit.test.js b/ability/ability_runtime/abilitymanager/actsamscallbackthirdscene/src/main/js/test/MangerAbilityJsunit.test.js
index 95267125a00f3712de23496b99e97d80b29ec470..c8e2780bb3862287ae4896960c3e29866e6f26e8 100644
--- a/ability/ability_runtime/abilitymanager/actsamscallbackthirdscene/src/main/js/test/MangerAbilityJsunit.test.js
+++ b/ability/ability_runtime/abilitymanager/actsamscallbackthirdscene/src/main/js/test/MangerAbilityJsunit.test.js
@@ -12,58 +12,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-import featureAbility from '@ohos.ability.featureAbility'
import appManager from "@ohos.application.appManager"
-import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
+import { describe, it, expect } from '@ohos/hypium'
export default function ActsAmsCallBackThirdScene() {
describe('ActsAmsCallBackThirdScene', function () {
console.info('----ActsAmsCallBackThirdScene----');
- beforeAll(async function (done) {
- await featureAbility.startAbility(
- {
- want:
- {
- deviceId: "",
- bundleName: "com.ix.simulate.feature",
- abilityName: "com.example.SimulateFeatureAbilityFir",
- action: "action1",
- parameters:
- {},
- },
- }, (error, data) => {
- console.info('ActsAmsCallBackThirdScene SimulateFeatureAbilityFir start, error.code \
- ' + error.code + ', data length [' + data.length + ']');
- }
- );
-
- await featureAbility.startAbility(
- {
- want:
- {
- deviceId: "",
- bundleName: "com.ix.verify.io",
- abilityName: "com.example.VerifyIoThirdAbility",
- action: "action1",
- parameters:
- {},
- },
- }, (error, data) => {
- console.info('ActsAmsCallBackThirdScene VerifyIoThirdAbility start, error.code \
- ' + error.code + ', data length [' + data.length + ']');
- }
- );
- sleep(500);
- done();
- });
-
- function sleep(delay) {
- let start = new Date().getTime();
- while (true) {
- if (new Date().getTime() - start > delay) {
- break;
- }
- }
- }
/*
* @tc.number : Acts_Ams_test_3400
diff --git a/ability/ability_runtime/abilitymanager/actsamstestfifthscene/Test.json b/ability/ability_runtime/abilitymanager/actsamstestfifthscene/Test.json
index 3d52382e7e0e2d63adf20f8d29b3128df437f520..cf6b90632db57f2f9a3485bb6bf2767d3a92c65b 100644
--- a/ability/ability_runtime/abilitymanager/actsamstestfifthscene/Test.json
+++ b/ability/ability_runtime/abilitymanager/actsamstestfifthscene/Test.json
@@ -10,10 +10,7 @@
"kits": [
{
"test-file-name": [
- "ActsAmsTestFifthSceneTest.hap",
- "simulateFAbilityFir.hap",
- "simulateFAbilitySed.hap",
- "verifyIAbility.hap"
+ "ActsAmsTestFifthSceneTest.hap"
],
"type": "AppInstallKit",
"cleanup-apps": true
diff --git a/ability/ability_runtime/abilitymanager/actsamstestfifthscene/src/main/js/test/MangerAbilityJsunit.test.js b/ability/ability_runtime/abilitymanager/actsamstestfifthscene/src/main/js/test/MangerAbilityJsunit.test.js
index b9ce37c0b450e7aff74103ab43c70332f524ddc3..f2623bdbac52693cd7284b4c77dd1985e6a8cfc2 100644
--- a/ability/ability_runtime/abilitymanager/actsamstestfifthscene/src/main/js/test/MangerAbilityJsunit.test.js
+++ b/ability/ability_runtime/abilitymanager/actsamstestfifthscene/src/main/js/test/MangerAbilityJsunit.test.js
@@ -12,118 +12,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-import featureAbility from '@ohos.ability.featureAbility'
import appManager from "@ohos.application.appManager"
-import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
+import { describe, it, expect } from '@ohos/hypium'
-let abilityNameList = [
- "com.ohos.launcher.MainAbility",
- "com.ohos.callui.ServiceAbility",
- "com.example.SimulateFeatureAbilityFir",
- "com.example.SimulateFeatureAbilitySed",
- "com.example.VerifyIoThirdAbility",
- "com.example.actsamstestfifthscene.MainAbility"
-]
-
-let bundleNameList = [
- "com.ohos.launcher",
- "com.ohos.systemui",
- "com.ohos.callui",
- "com.ohos.contacts",
- "com.ohos.mms",
- "com.ohos.telephonydataability",
- "com.ohos.contactsdataability",
- "com.ix.simulate.feature",
- "com.ix.verify.io",
- "com.example.actsamstestfifthscene"
-]
export default function ActsAmsTestFifthScene() {
describe('ActsAmsTestFifthScene', function () {
console.info('----ActsAmsTestFifthScene----');
- beforeAll(async function (done) {
- await featureAbility.startAbility(
- {
- want:
- {
- deviceId: "",
- bundleName: "com.ix.simulate.feature",
- abilityName: "com.example.SimulateFeatureAbilityFir",
- action: "action1",
- entities: ["entity1"],
- type: "MIMETYPE",
- uri: "key={true,true,false}",
- options:
- {},
- parameters:
- {},
- },
- }, (error, data) => {
- console.info('ActsAmsTestFifthScene SimulateFeatureAbilityFir start, error.code \
- ' + error.code + ', data length [' + data.length + ']');
- }
- );
-
- await featureAbility.startAbility(
- {
- want:
- {
- deviceId: "",
- bundleName: "com.ix.verify.io",
- abilityName: "com.example.VerifyIoThirdAbility",
- action: "action1",
- entities: ["entity1"],
- type: "MIMETYPE",
- uri: "key={true,true,false}",
- options:
- {},
- parameters:
- {},
- },
- }, (error, data) => {
- console.info('ActsAmsTestFifthScene VerifyIoThirdAbility start, error.code \
- ' + error.code + ', data length [' + data.length + ']');
- }
- );
-
- await featureAbility.startAbility(
- {
- want:
- {
- deviceId: "",
- bundleName: "com.ix.simulate.feature",
- abilityName: "com.example.SimulateFeatureAbilitySed",
- action: "action1",
- entities: ["entity1"],
- type: "MIMETYPE",
- uri: "key={true,true,false}",
- options:
- {},
- parameters:
- {},
- },
- }, (error, data) => {
- console.info('ActsAmsTestFifthScene SimulateFeatureAbilitySed start, error.code \
- ' + error.code + ', data length [' + data.length + ']');
- }
- );
- sleep(500);
- done();
- });
-
- function timeout(done) {
- expect().assertFail();
- console.debug('Acts_Ams_test=========timeout========');
- done();
- }
-
- function sleep(delay) {
- let start = new Date().getTime();
- while (true) {
- if (new Date().getTime() - start > delay) {
- break;
- }
- }
- }
/*
* @tc.number : Acts_Ams_test_0100
diff --git a/ability/ability_runtime/abilitymanager/actsamstestfirstscene/Test.json b/ability/ability_runtime/abilitymanager/actsamstestfirstscene/Test.json
index a841c8d6fdc0c2cf9e5426f1186c9c14c5054137..853b7d5d1c649a9f21b9da857968b999b15cb7d5 100644
--- a/ability/ability_runtime/abilitymanager/actsamstestfirstscene/Test.json
+++ b/ability/ability_runtime/abilitymanager/actsamstestfirstscene/Test.json
@@ -10,8 +10,7 @@
"kits": [
{
"test-file-name": [
- "ActsAmsTestFirstSceneTest.hap",
- "simulateFAbilityFir.hap"
+ "ActsAmsTestFirstSceneTest.hap"
],
"type": "AppInstallKit",
"cleanup-apps": true
diff --git a/ability/ability_runtime/abilitymanager/actsamstestfirstscene/src/main/js/test/MangerAbilityJsunit.test.js b/ability/ability_runtime/abilitymanager/actsamstestfirstscene/src/main/js/test/MangerAbilityJsunit.test.js
index 4ffa9828852bf3c79c454c80140e668e3dae4af5..be964b8075566b5921adb9de688bc619b719bbc3 100644
--- a/ability/ability_runtime/abilitymanager/actsamstestfirstscene/src/main/js/test/MangerAbilityJsunit.test.js
+++ b/ability/ability_runtime/abilitymanager/actsamstestfirstscene/src/main/js/test/MangerAbilityJsunit.test.js
@@ -12,52 +12,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-import featureAbility from '@ohos.ability.featureAbility'
import appManager from "@ohos.application.appManager"
-import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
+import { describe, it, expect } from '@ohos/hypium'
export default function ActsAmsTestFirstScene() {
describe('ActsAmsTestFirstScene', function () {
console.info('----ActsAmsTestFirstScene----');
- beforeAll(async function (done) {
- await featureAbility.startAbility(
- {
- want:
- {
- deviceId: "",
- bundleName: "com.ix.simulate.feature",
- abilityName: "com.example.SimulateFeatureAbilityFir",
- action: "action1",
- entities: ["entity1"],
- type: "MIMETYPE",
- uri: "key={true,true,false}",
- options:
- {},
- parameters:
- {},
- },
- }, (error, data) => {
- console.info('ActsAmsTestFirstScene SimulateFeatureAbilityFir start, error.code \
- ' + error.code + ', data length [' + data.length + ']');
- }
- );
- sleep(500);
- done();
- });
-
- function timeout(done) {
- expect().assertFail();
- console.debug('Acts_Ams_test=========timeout========');
- done();
- }
-
- function sleep(delay) {
- var start = new Date().getTime();
- while (true) {
- if (new Date().getTime() - start > delay) {
- break;
- }
- }
- }
/*
* @tc.number : Acts_Ams_test_0100
diff --git a/ability/ability_runtime/abilitymanager/actsamstestfourthscene/Test.json b/ability/ability_runtime/abilitymanager/actsamstestfourthscene/Test.json
index bac0cbf90d5daaa3b7f5e8d0fa96714b202ca52b..c4c2f5495b2a473dd270cc6ddcae5f4fef817cd6 100644
--- a/ability/ability_runtime/abilitymanager/actsamstestfourthscene/Test.json
+++ b/ability/ability_runtime/abilitymanager/actsamstestfourthscene/Test.json
@@ -10,11 +10,7 @@
"kits": [
{
"test-file-name": [
- "ActsAmsTestFourthSceneTest.hap",
- "simulateFAbilityFir.hap",
- "simulateEAbility.hap",
- "verifyAAbility.hap",
- "verifyIAbility.hap"
+ "ActsAmsTestFourthSceneTest.hap"
],
"type": "AppInstallKit",
"cleanup-apps": true
diff --git a/ability/ability_runtime/abilitymanager/actsamstestfourthscene/src/main/js/test/MangerAbilityJsunit.test.js b/ability/ability_runtime/abilitymanager/actsamstestfourthscene/src/main/js/test/MangerAbilityJsunit.test.js
index a9bbc90f37e55bd8169c8123fec97f88ec9c0ced..91921c6c2a04e54124461f70baf830d58327d2c6 100644
--- a/ability/ability_runtime/abilitymanager/actsamstestfourthscene/src/main/js/test/MangerAbilityJsunit.test.js
+++ b/ability/ability_runtime/abilitymanager/actsamstestfourthscene/src/main/js/test/MangerAbilityJsunit.test.js
@@ -12,109 +12,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-import featureAbility from '@ohos.ability.featureAbility'
import appManager from "@ohos.application.appManager"
-import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
+import { describe, it, expect } from '@ohos/hypium'
export default function ActsAmsTestFourthScene() {
describe('ActsAmsTestFourthScene', function () {
console.info('----ActsAmsTestFourthScene----');
- beforeAll(async function (done) {
- await featureAbility.startAbility(
- {
- want:
- {
- deviceId: "",
- bundleName: "com.ix.verify.io",
- abilityName: "com.example.VerifyIoThirdAbility",
- action: "action1",
- entities: ["entity1"],
- type: "MIMETYPE",
- uri: "key={true,true,false}",
- options:
- {},
- parameters:
- {},
- },
- }, (error, data) => {
- console.info('ActsAmsTestFourthScene VerifyIoThirdAbility start, error.code \
- ' + error.code + ', data length [' + data.length + ']');
- }
- );
-
- await featureAbility.startAbility(
- {
- want:
- {
- deviceId: "",
- bundleName: "com.ix.simulate.feature",
- abilityName: "com.example.SimulateFeatureAbilityFir",
- action: "action1",
- entities: ["entity1"],
- type: "MIMETYPE",
- uri: "key={true,true,false}",
- options:
- {},
- parameters:
- {},
- },
- }, (error, data) => {
- console.info('ActsAmsTestFourthScene SimulateFeatureAbilityFir start, error.code \
- ' + error.code + ', data length [' + data.length + ']');
- }
- );
-
- await featureAbility.startAbility(
- {
- want:
- {
- deviceId: "",
- bundleName: "com.ix.verify.act",
- abilityName: "com.example.VerifyActThirdAbility",
- action: "action1",
- entities: ["entity1"],
- type: "MIMETYPE",
- uri: "key={true,true,false}",
- options:
- {},
- parameters:
- {},
- },
- }, (error, data) => {
- console.info('ActsAmsTestFourthScene VerifyActThirdAbility start, error.code \
- ' + error.code + ', data length [' + data.length + ']');
- }
- );
-
- await featureAbility.startAbility(
- {
- want:
- {
- deviceId: "",
- bundleName: "com.ix.simulate.entry",
- abilityName: "com.example.SimulateEntryAbility",
- action: "action1",
- entities: ["entity1"],
- type: "MIMETYPE",
- uri: "key={true,true,false}",
- options:
- {},
- parameters:
- {},
- },
- }, (error, data) => {
- console.info('ActsAmsTestFourthScene SimulateEntryAbility start, error.code \
- ' + error.code + ', data length [' + data.length + ']');
- }
- );
- sleep(500);
- done();
- });
-
- function timeout(done) {
- expect().assertFail();
- console.debug('Acts_Ams_test=========timeout========');
- done();
- }
function sleep(delay) {
var start = new Date().getTime();
diff --git a/ability/ability_runtime/abilitymanager/actsamstestsecondscene/Test.json b/ability/ability_runtime/abilitymanager/actsamstestsecondscene/Test.json
index cb5016a78be8fa498d948b73bfac9e3f90667a22..a735decd336d1ae0b685ab66b630ff5a96cb55f5 100644
--- a/ability/ability_runtime/abilitymanager/actsamstestsecondscene/Test.json
+++ b/ability/ability_runtime/abilitymanager/actsamstestsecondscene/Test.json
@@ -10,9 +10,7 @@
"kits": [
{
"test-file-name": [
- "ActsAmsTestSecondSceneTest.hap",
- "simulateFAbilityFir.hap",
- "verifyIAbility.hap"
+ "ActsAmsTestSecondSceneTest.hap"
],
"type": "AppInstallKit",
"cleanup-apps": true
diff --git a/ability/ability_runtime/abilitymanager/actsamstestsecondscene/src/main/js/test/MangerAbilityJsunit.test.js b/ability/ability_runtime/abilitymanager/actsamstestsecondscene/src/main/js/test/MangerAbilityJsunit.test.js
index 2f12ac2ad8021e495ec7c304cef9676f0f92173c..158f27e877e149a50aa4bbbca996b8db1ba86324 100644
--- a/ability/ability_runtime/abilitymanager/actsamstestsecondscene/src/main/js/test/MangerAbilityJsunit.test.js
+++ b/ability/ability_runtime/abilitymanager/actsamstestsecondscene/src/main/js/test/MangerAbilityJsunit.test.js
@@ -12,74 +12,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-import featureAbility from '@ohos.ability.featureAbility'
import appManager from "@ohos.application.appManager"
-import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
+import { describe, it, expect } from '@ohos/hypium'
export default function ActsAmsTestSecondScene() {
describe('ActsAmsTestSecondScene', function () {
console.info('----ActsAmsTestSecondScene----');
- beforeAll(async function (done) {
- await featureAbility.startAbility(
- {
- want:
- {
- deviceId: "",
- bundleName: "com.ix.verify.io",
- abilityName: "com.example.VerifyIoThirdAbility",
- action: "action1",
- entities: ["entity1"],
- type: "MIMETYPE",
- uri: "key={true,true,false}",
- options:
- {},
- parameters:
- {},
- },
- }, (error, data) => {
- console.info('ActsAmsTestSecondScene VerifyIoThirdAbility start, error.code \
- ' + error.code + ', data length [' + data.length + ']');
- }
- );
-
- await featureAbility.startAbility(
- {
- want:
- {
- deviceId: "",
- bundleName: "com.ix.simulate.feature",
- abilityName: "com.example.SimulateFeatureAbilityFir",
- action: "action1",
- entities: ["entity1"],
- type: "MIMETYPE",
- uri: "key={true,true,false}",
- options:
- {},
- parameters:
- {},
- },
- }, (error, data) => {
- console.info('ActsAmsTestSecondScene SimulateFeatureAbilityFir start, error.code \
- ' + error.code + ', data length [' + data.length + ']');
- }
- );
- sleep(500);
- done();
- });
-
- function timeout(done) {
- expect().assertFail();
- console.debug('Acts_Ams_test=========timeout========');
- done();
- }
-
- function sleep(delay) {
- var start = new Date().getTime();
- while (true) {
- if (new Date().getTime() - start > delay) {
- break;
- }
- }
- }
/*
* @tc.number : Acts_Ams_test_1700
diff --git a/ability/ability_runtime/abilitymanager/actsamstestthirdscene/Test.json b/ability/ability_runtime/abilitymanager/actsamstestthirdscene/Test.json
index fe086ef163481218b65f944bfe8b1e2c433d4334..0a8d010605bdb42fd4ea529700d9470148f61472 100644
--- a/ability/ability_runtime/abilitymanager/actsamstestthirdscene/Test.json
+++ b/ability/ability_runtime/abilitymanager/actsamstestthirdscene/Test.json
@@ -10,9 +10,7 @@
"kits": [
{
"test-file-name": [
- "ActsAmsTestThirdSceneTest.hap",
- "simulateFAbilityFir.hap",
- "verifyIAbility.hap"
+ "ActsAmsTestThirdSceneTest.hap"
],
"type": "AppInstallKit",
"cleanup-apps": true
diff --git a/ability/ability_runtime/abilitymanager/actsamstestthirdscene/src/main/js/test/MangerAbilityJsunit.test.js b/ability/ability_runtime/abilitymanager/actsamstestthirdscene/src/main/js/test/MangerAbilityJsunit.test.js
index df047022a22b18bf56dd1b4cb1b41f27e1fd75a7..da97060765acfc53123fe010c8df4d6a8dfe56f1 100644
--- a/ability/ability_runtime/abilitymanager/actsamstestthirdscene/src/main/js/test/MangerAbilityJsunit.test.js
+++ b/ability/ability_runtime/abilitymanager/actsamstestthirdscene/src/main/js/test/MangerAbilityJsunit.test.js
@@ -12,76 +12,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-import featureAbility from '@ohos.ability.featureAbility'
import appManager from "@ohos.application.appManager"
-import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
+import { describe, it, expect } from '@ohos/hypium'
export default function ActsAmsTestThirdScene() {
describe('ActsAmsTestThirdScene', function () {
console.info('----ActsAmsTestThirdScene----');
- beforeAll(async function (done) {
- await featureAbility.startAbility(
- {
- want:
- {
- deviceId: "",
- bundleName: "com.ix.simulate.feature",
- abilityName: "com.example.SimulateFeatureAbilityFir",
- action: "action1",
- entities: ["entity1"],
- type: "MIMETYPE",
- uri: "key={true,true,false}",
- options:
- {},
- parameters:
- {},
- },
- }, (error, data) => {
- console.info('ActsAmsTestThirdScene SimulateFeatureAbilityFir start, error.code \
- ' + error.code + ', data length [' + data.length + ']');
- }
- );
-
- await featureAbility.startAbility(
- {
- want:
- {
- deviceId: "",
- bundleName: "com.ix.verify.io",
- abilityName: "com.example.VerifyIoThirdAbility",
- action: "action1",
- entities: ["entity1"],
- type: "MIMETYPE",
- uri: "key={true,true,false}",
- options:
- {},
- parameters:
- {},
- },
- }, (error, data) => {
- console.info('ActsAmsTestThirdScene VerifyIoThirdAbility start, error.code \
- ' + error.code + ', data length [' + data.length + ']');
- }
- );
- sleep(500);
- done();
- });
-
- function timeout(done) {
- expect().assertFail();
- console.debug('Acts_Ams_test=========timeout========');
- done();
- }
-
- function sleep(delay) {
- var start = new Date().getTime();
- while (true) {
- if (new Date().getTime() - start > delay) {
- break;
- }
- }
- }
-
/*
* @tc.number : Acts_Ams_test_3300
* @tc.name : getProcessRunningInfos : Get All Running Processes Info
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/BUILD.gn b/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/BUILD.gn
deleted file mode 100644
index d370aa17e5b00b3e6a451f3784be28133977f8e4..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/BUILD.gn
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright (c) 2021 Huawei Device Co., Ltd.
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-import("//test/xts/tools/build/suite.gni")
-
-ohos_hap_assist_suite("simulateEAbility") {
- hap_profile = "./src/main/config.json"
- js_build_mode = "debug"
- hap_name = "simulateEAbility"
-
- testonly = true
- deps = [
- ":hjs_demo_js_assets",
- ":hjs_demo_resources",
- ]
- certificate_profile = "./signature/openharmony_sx.p7b"
-
- subsystem_name = "ability"
- part_name = "ability_runtime"
-}
-ohos_js_assets("hjs_demo_js_assets") {
- source_dir = "./src/main/js/default"
-}
-ohos_resources("hjs_demo_resources") {
- sources = [ "./src/main/js/resources" ]
- hap_profile = "./src/main/config.json"
-}
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/signature/openharmony_sx.p7b b/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/signature/openharmony_sx.p7b
deleted file mode 100644
index 1421b2cad88f4bfe0e4f878618b023d495b33174..0000000000000000000000000000000000000000
Binary files a/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/signature/openharmony_sx.p7b and /dev/null differ
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/src/main/config.json b/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/src/main/config.json
deleted file mode 100644
index 4e837e613af0a8cbb496e7ca08ad14c837a10914..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/src/main/config.json
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- "app": {
- "bundleName": "com.ix.simulate.entry",
- "vendor": "example",
- "version": {
- "code": 1,
- "name": "1.0"
- },
- "apiVersion": {
- "compatible": 4,
- "target": 5,
- "releaseType": "Beta1"
- }
- },
- "deviceConfig": {},
- "module": {
- "package": "com.example.simulateeability",
- "name": ".MyApplication",
- "deviceType": [
- "default",
- "tablet"
- ],
- "distro": {
- "deliveryWithInstall": true,
- "moduleName": "simulateEAbility",
- "moduleType": "feature",
- "installationFree": true
- },
- "abilities": [
- {
- "visible": true,
- "name": "com.example.SimulateEntryAbility",
- "icon": "$media:icon",
- "description": "$string:mainability_description",
- "label": "$string:app_name",
- "type": "page",
- "launchType": "standard"
- }
- ],
- "js": [
- {
- "pages": [
- "pages/index/index"
- ],
- "name": "default",
- "window": {
- "designWidth": 720,
- "autoDesignWidth": false
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/src/main/js/default/app.js b/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/src/main/js/default/app.js
deleted file mode 100644
index c158442201abb1888ae8fb1d57f150c5ec26c36b..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/src/main/js/default/app.js
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Copyright (c) 2021 Huawei Device Co., Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-export default {
- onCreate() {
- console.info('AceApplication onCreate');
- },
- onDestroy() {
- console.info('AceApplication onDestroy');
- }
-};
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/src/main/js/default/i18n/en-US.json b/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/src/main/js/default/i18n/en-US.json
deleted file mode 100644
index e63c70d978a3a53be988388c87182f81785e170c..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/src/main/js/default/i18n/en-US.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "strings": {
- "hello": "Hello",
- "world": "World"
- }
-}
\ No newline at end of file
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/src/main/js/default/i18n/zh-CN.json b/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/src/main/js/default/i18n/zh-CN.json
deleted file mode 100644
index de6ee5748322f44942c1b003319d8e66c837675f..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/src/main/js/default/i18n/zh-CN.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "strings": {
- "hello": "您好",
- "world": "世界"
- }
-}
\ No newline at end of file
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/src/main/js/default/pages/index/index.css b/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/src/main/js/default/pages/index/index.css
deleted file mode 100644
index a6053c61f9615fcd50fefb51f878568f3e39e59b..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/src/main/js/default/pages/index/index.css
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (c) 2021 Huawei Device Co., Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-.container {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- left: 0px;
- top: 0px;
- width: 100%;
- height: 100%;
-}
-
-.title {
- font-size: 60px;
- text-align: center;
- width: 100%;
- height: 40%;
- margin: 10px;
-}
-.btn {
- width: 50%;
- height: 100px;
- font-size: 40px;
-}
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/src/main/js/default/pages/index/index.hml b/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/src/main/js/default/pages/index/index.hml
deleted file mode 100644
index 6069a046a35c4409ab85e4595a079a1670a9c7fe..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/src/main/js/default/pages/index/index.hml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
- {{ $t('strings.hello') }} {{title}}
-
-
-
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/src/main/js/default/pages/index/index.js b/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/src/main/js/default/pages/index/index.js
deleted file mode 100644
index f2094c496393287a016b96518cc50960a7719a8e..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/src/main/js/default/pages/index/index.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.
- */
-
-const injectRef = Object.getPrototypeOf(global) || global
-injectRef.regeneratorRuntime = require('@babel/runtime/regenerator')
-
-export default {
- data: {
- title: ''
- },
- onInit() {
- this.title = this.$t('strings.world');
- }
-}
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/src/main/js/resources/base/element/string.json b/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/src/main/js/resources/base/element/string.json
deleted file mode 100644
index 76e501f214f84c96a44d08973dbbdeab8515e1de..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/src/main/js/resources/base/element/string.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "string": [
- {
- "name": "app_name",
- "value": "JsHelloWorld"
- },
- {
- "name": "mainability_description",
- "value": "hap sample empty page"
- }
- ]
-}
\ No newline at end of file
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/src/main/js/resources/base/media/icon.png b/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/src/main/js/resources/base/media/icon.png
deleted file mode 100644
index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000
Binary files a/ability/ability_runtime/abilitymanager/sceneProject/simulateEAbility/src/main/js/resources/base/media/icon.png and /dev/null differ
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/BUILD.gn b/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/BUILD.gn
deleted file mode 100644
index 5a233144965d1470128d865d64ebed6666d11e29..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/BUILD.gn
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright (c) 2021 Huawei Device Co., Ltd.
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-import("//test/xts/tools/build/suite.gni")
-
-ohos_hap_assist_suite("simulateFAbilityFir") {
- hap_profile = "./src/main/config.json"
- js_build_mode = "debug"
- hap_name = "simulateFAbilityFir"
-
- testonly = true
- deps = [
- ":hjs_demo_js_assets",
- ":hjs_demo_resources",
- ]
- certificate_profile = "./signature/openharmony_sx.p7b"
-
- subsystem_name = "ability"
- part_name = "ability_runtime"
-}
-ohos_js_assets("hjs_demo_js_assets") {
- source_dir = "./src/main/js/default"
-}
-ohos_resources("hjs_demo_resources") {
- sources = [ "./src/main/js/resources" ]
- hap_profile = "./src/main/config.json"
-}
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/signature/openharmony_sx.p7b b/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/signature/openharmony_sx.p7b
deleted file mode 100644
index c6e776026e0dfc45f5a1e362788b509527c8345d..0000000000000000000000000000000000000000
Binary files a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/signature/openharmony_sx.p7b and /dev/null differ
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/src/main/config.json b/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/src/main/config.json
deleted file mode 100644
index 2df12b163aa7f692ae54c99e4f4ddecb42f9f09a..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/src/main/config.json
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- "app": {
- "bundleName": "com.ix.simulate.feature",
- "vendor": "example",
- "version": {
- "code": 1,
- "name": "1.0"
- },
- "apiVersion": {
- "compatible": 4,
- "target": 5,
- "releaseType": "Beta1"
- }
- },
- "deviceConfig": {},
- "module": {
- "package": "com.example.simulatefabilityfir",
- "name": ".MyApplication",
- "deviceType": [
- "default",
- "tablet"
- ],
- "distro": {
- "deliveryWithInstall": true,
- "moduleName": "simulateFAbilityFir",
- "moduleType": "feature",
- "installationFree": true
- },
- "abilities": [
- {
- "visible": true,
- "name": "com.example.SimulateFeatureAbilityFir",
- "icon": "$media:icon",
- "description": "$string:mainability_description",
- "label": "$string:app_name",
- "type": "page",
- "launchType": "standard"
- }
- ],
- "js": [
- {
- "pages": [
- "pages/index/index"
- ],
- "name": "default",
- "window": {
- "designWidth": 720,
- "autoDesignWidth": false
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/default/app.js b/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/default/app.js
deleted file mode 100644
index c158442201abb1888ae8fb1d57f150c5ec26c36b..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/default/app.js
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Copyright (c) 2021 Huawei Device Co., Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-export default {
- onCreate() {
- console.info('AceApplication onCreate');
- },
- onDestroy() {
- console.info('AceApplication onDestroy');
- }
-};
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/default/i18n/en-US.json b/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/default/i18n/en-US.json
deleted file mode 100644
index e63c70d978a3a53be988388c87182f81785e170c..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/default/i18n/en-US.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "strings": {
- "hello": "Hello",
- "world": "World"
- }
-}
\ No newline at end of file
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/default/i18n/zh-CN.json b/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/default/i18n/zh-CN.json
deleted file mode 100644
index de6ee5748322f44942c1b003319d8e66c837675f..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/default/i18n/zh-CN.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "strings": {
- "hello": "您好",
- "world": "世界"
- }
-}
\ No newline at end of file
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/default/pages/index/index.css b/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/default/pages/index/index.css
deleted file mode 100644
index a6053c61f9615fcd50fefb51f878568f3e39e59b..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/default/pages/index/index.css
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (c) 2021 Huawei Device Co., Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-.container {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- left: 0px;
- top: 0px;
- width: 100%;
- height: 100%;
-}
-
-.title {
- font-size: 60px;
- text-align: center;
- width: 100%;
- height: 40%;
- margin: 10px;
-}
-.btn {
- width: 50%;
- height: 100px;
- font-size: 40px;
-}
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/default/pages/index/index.hml b/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/default/pages/index/index.hml
deleted file mode 100644
index 6069a046a35c4409ab85e4595a079a1670a9c7fe..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/default/pages/index/index.hml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
- {{ $t('strings.hello') }} {{title}}
-
-
-
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/default/pages/index/index.js b/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/default/pages/index/index.js
deleted file mode 100644
index 4b957b07831536e122ce80f4c511ca436ab83546..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/default/pages/index/index.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.
- */
-const injectRef = Object.getPrototypeOf(global) || global
-injectRef.regeneratorRuntime = require('@babel/runtime/regenerator')
-
-export default {
- data: {
- title: ''
- },
- onInit() {
- this.title = this.$t('strings.world');
- }
-}
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/resources/base/element/string.json b/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/resources/base/element/string.json
deleted file mode 100644
index 76e501f214f84c96a44d08973dbbdeab8515e1de..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/resources/base/element/string.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "string": [
- {
- "name": "app_name",
- "value": "JsHelloWorld"
- },
- {
- "name": "mainability_description",
- "value": "hap sample empty page"
- }
- ]
-}
\ No newline at end of file
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/resources/base/media/icon.png b/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/resources/base/media/icon.png
deleted file mode 100644
index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000
Binary files a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/resources/base/media/icon.png and /dev/null differ
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/BUILD.gn b/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/BUILD.gn
deleted file mode 100644
index 3abce7a8717a6ac7d79c733ec8d061e935a24ff7..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/BUILD.gn
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright (c) 2021 Huawei Device Co., Ltd.
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-import("//test/xts/tools/build/suite.gni")
-
-ohos_hap_assist_suite("simulateFAbilitySed") {
- hap_profile = "./src/main/config.json"
- js_build_mode = "debug"
- hap_name = "simulateFAbilitySed"
-
- testonly = true
- deps = [
- ":hjs_demo_js_assets",
- ":hjs_demo_resources",
- ]
- certificate_profile = "./signature/openharmony_sx.p7b"
-
- subsystem_name = "ability"
- part_name = "ability_runtime"
-}
-ohos_js_assets("hjs_demo_js_assets") {
- source_dir = "./src/main/js/default"
-}
-ohos_resources("hjs_demo_resources") {
- sources = [ "./src/main/js/resources" ]
- hap_profile = "./src/main/config.json"
-}
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/signature/openharmony_sx.p7b b/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/signature/openharmony_sx.p7b
deleted file mode 100644
index c6e776026e0dfc45f5a1e362788b509527c8345d..0000000000000000000000000000000000000000
Binary files a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/signature/openharmony_sx.p7b and /dev/null differ
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/src/main/config.json b/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/src/main/config.json
deleted file mode 100644
index 88466536d171daced76f68717baa2898197700ea..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/src/main/config.json
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- "app": {
- "bundleName": "com.ix.simulate.feature",
- "vendor": "example",
- "version": {
- "code": 1,
- "name": "1.0"
- },
- "apiVersion": {
- "compatible": 4,
- "target": 5,
- "releaseType": "Beta1"
- }
- },
- "deviceConfig": {},
- "module": {
- "package": "com.example.simulatefabilitysed",
- "name": ".MyApplication",
- "deviceType": [
- "default",
- "tablet"
- ],
- "distro": {
- "deliveryWithInstall": true,
- "moduleName": "simulateFAbilitySed",
- "moduleType": "feature",
- "installationFree": true
- },
- "abilities": [
- {
- "visible": true,
- "name": "com.example.SimulateFeatureAbilitySed",
- "icon": "$media:icon",
- "description": "$string:mainability_description",
- "label": "$string:app_name",
- "type": "page",
- "launchType": "standard"
- }
- ],
- "js": [
- {
- "pages": [
- "pages/index/index"
- ],
- "name": "default",
- "window": {
- "designWidth": 720,
- "autoDesignWidth": false
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/default/app.js b/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/default/app.js
deleted file mode 100644
index c158442201abb1888ae8fb1d57f150c5ec26c36b..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/default/app.js
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Copyright (c) 2021 Huawei Device Co., Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-export default {
- onCreate() {
- console.info('AceApplication onCreate');
- },
- onDestroy() {
- console.info('AceApplication onDestroy');
- }
-};
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/default/i18n/en-US.json b/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/default/i18n/en-US.json
deleted file mode 100644
index e63c70d978a3a53be988388c87182f81785e170c..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/default/i18n/en-US.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "strings": {
- "hello": "Hello",
- "world": "World"
- }
-}
\ No newline at end of file
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/default/i18n/zh-CN.json b/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/default/i18n/zh-CN.json
deleted file mode 100644
index de6ee5748322f44942c1b003319d8e66c837675f..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/default/i18n/zh-CN.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "strings": {
- "hello": "您好",
- "world": "世界"
- }
-}
\ No newline at end of file
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/default/pages/index/index.css b/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/default/pages/index/index.css
deleted file mode 100644
index a6053c61f9615fcd50fefb51f878568f3e39e59b..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/default/pages/index/index.css
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (c) 2021 Huawei Device Co., Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-.container {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- left: 0px;
- top: 0px;
- width: 100%;
- height: 100%;
-}
-
-.title {
- font-size: 60px;
- text-align: center;
- width: 100%;
- height: 40%;
- margin: 10px;
-}
-.btn {
- width: 50%;
- height: 100px;
- font-size: 40px;
-}
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/default/pages/index/index.hml b/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/default/pages/index/index.hml
deleted file mode 100644
index 6069a046a35c4409ab85e4595a079a1670a9c7fe..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/default/pages/index/index.hml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
- {{ $t('strings.hello') }} {{title}}
-
-
-
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/default/pages/index/index.js b/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/default/pages/index/index.js
deleted file mode 100644
index 4b957b07831536e122ce80f4c511ca436ab83546..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/default/pages/index/index.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.
- */
-const injectRef = Object.getPrototypeOf(global) || global
-injectRef.regeneratorRuntime = require('@babel/runtime/regenerator')
-
-export default {
- data: {
- title: ''
- },
- onInit() {
- this.title = this.$t('strings.world');
- }
-}
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/resources/base/element/string.json b/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/resources/base/element/string.json
deleted file mode 100644
index 76e501f214f84c96a44d08973dbbdeab8515e1de..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/resources/base/element/string.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "string": [
- {
- "name": "app_name",
- "value": "JsHelloWorld"
- },
- {
- "name": "mainability_description",
- "value": "hap sample empty page"
- }
- ]
-}
\ No newline at end of file
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/resources/base/media/icon.png b/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/resources/base/media/icon.png
deleted file mode 100644
index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000
Binary files a/ability/ability_runtime/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/resources/base/media/icon.png and /dev/null differ
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/BUILD.gn b/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/BUILD.gn
deleted file mode 100644
index 90fa2b963b4b13cb4863d8a61780c9dac83c5e76..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/BUILD.gn
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright (c) 2021 Huawei Device Co., Ltd.
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-import("//test/xts/tools/build/suite.gni")
-
-ohos_hap_assist_suite("verifyAAbility") {
- hap_profile = "./src/main/config.json"
- js_build_mode = "debug"
- hap_name = "verifyAAbility"
-
- testonly = true
- deps = [
- ":hjs_demo_js_assets",
- ":hjs_demo_resources",
- ]
- certificate_profile = "./signature/openharmony_sx.p7b"
-
- subsystem_name = "ability"
- part_name = "ability_runtime"
-}
-ohos_js_assets("hjs_demo_js_assets") {
- source_dir = "./src/main/js/default"
-}
-ohos_resources("hjs_demo_resources") {
- sources = [ "./src/main/js/resources" ]
- hap_profile = "./src/main/config.json"
-}
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/signature/openharmony_sx.p7b b/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/signature/openharmony_sx.p7b
deleted file mode 100644
index 4df0d04da85fdf1c07bd91a1641f576717ce4aba..0000000000000000000000000000000000000000
Binary files a/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/signature/openharmony_sx.p7b and /dev/null differ
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/src/main/config.json b/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/src/main/config.json
deleted file mode 100644
index 01b19474d9ba45393fccebdb5ab310a50234ab4f..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/src/main/config.json
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- "app": {
- "bundleName": "com.ix.verify.act",
- "vendor": "example",
- "version": {
- "code": 1,
- "name": "1.0"
- },
- "apiVersion": {
- "compatible": 4,
- "target": 5,
- "releaseType": "Beta1"
- }
- },
- "deviceConfig": {},
- "module": {
- "package": "com.example.verifyaability",
- "name": ".MyApplication",
- "deviceType": [
- "default",
- "tablet"
- ],
- "distro": {
- "deliveryWithInstall": true,
- "moduleName": "verifyAAbility",
- "moduleType": "feature",
- "installationFree": true
- },
- "abilities": [
- {
- "visible": true,
- "name": "com.example.VerifyActThirdAbility",
- "icon": "$media:icon",
- "description": "$string:mainability_description",
- "label": "$string:app_name",
- "type": "page",
- "launchType": "singleton"
- }
- ],
- "js": [
- {
- "pages": [
- "pages/index/index"
- ],
- "name": "default",
- "window": {
- "designWidth": 720,
- "autoDesignWidth": false
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/src/main/js/default/app.js b/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/src/main/js/default/app.js
deleted file mode 100644
index c158442201abb1888ae8fb1d57f150c5ec26c36b..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/src/main/js/default/app.js
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Copyright (c) 2021 Huawei Device Co., Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-export default {
- onCreate() {
- console.info('AceApplication onCreate');
- },
- onDestroy() {
- console.info('AceApplication onDestroy');
- }
-};
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/src/main/js/default/i18n/en-US.json b/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/src/main/js/default/i18n/en-US.json
deleted file mode 100644
index e63c70d978a3a53be988388c87182f81785e170c..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/src/main/js/default/i18n/en-US.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "strings": {
- "hello": "Hello",
- "world": "World"
- }
-}
\ No newline at end of file
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/src/main/js/default/i18n/zh-CN.json b/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/src/main/js/default/i18n/zh-CN.json
deleted file mode 100644
index de6ee5748322f44942c1b003319d8e66c837675f..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/src/main/js/default/i18n/zh-CN.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "strings": {
- "hello": "您好",
- "world": "世界"
- }
-}
\ No newline at end of file
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/src/main/js/default/pages/index/index.css b/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/src/main/js/default/pages/index/index.css
deleted file mode 100644
index a6053c61f9615fcd50fefb51f878568f3e39e59b..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/src/main/js/default/pages/index/index.css
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (c) 2021 Huawei Device Co., Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-.container {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- left: 0px;
- top: 0px;
- width: 100%;
- height: 100%;
-}
-
-.title {
- font-size: 60px;
- text-align: center;
- width: 100%;
- height: 40%;
- margin: 10px;
-}
-.btn {
- width: 50%;
- height: 100px;
- font-size: 40px;
-}
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/src/main/js/default/pages/index/index.hml b/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/src/main/js/default/pages/index/index.hml
deleted file mode 100644
index 6069a046a35c4409ab85e4595a079a1670a9c7fe..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/src/main/js/default/pages/index/index.hml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
- {{ $t('strings.hello') }} {{title}}
-
-
-
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/src/main/js/default/pages/index/index.js b/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/src/main/js/default/pages/index/index.js
deleted file mode 100644
index 4b957b07831536e122ce80f4c511ca436ab83546..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/src/main/js/default/pages/index/index.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.
- */
-const injectRef = Object.getPrototypeOf(global) || global
-injectRef.regeneratorRuntime = require('@babel/runtime/regenerator')
-
-export default {
- data: {
- title: ''
- },
- onInit() {
- this.title = this.$t('strings.world');
- }
-}
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/src/main/js/resources/base/element/string.json b/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/src/main/js/resources/base/element/string.json
deleted file mode 100644
index 76e501f214f84c96a44d08973dbbdeab8515e1de..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/src/main/js/resources/base/element/string.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "string": [
- {
- "name": "app_name",
- "value": "JsHelloWorld"
- },
- {
- "name": "mainability_description",
- "value": "hap sample empty page"
- }
- ]
-}
\ No newline at end of file
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/src/main/js/resources/base/media/icon.png b/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/src/main/js/resources/base/media/icon.png
deleted file mode 100644
index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000
Binary files a/ability/ability_runtime/abilitymanager/sceneProject/verifyAAbility/src/main/js/resources/base/media/icon.png and /dev/null differ
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/BUILD.gn b/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/BUILD.gn
deleted file mode 100644
index 3d48888a92d03e6139353b4ab8e6bf1b186651ec..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/BUILD.gn
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright (c) 2021 Huawei Device Co., Ltd.
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-import("//test/xts/tools/build/suite.gni")
-
-ohos_hap_assist_suite("verifyIAbility") {
- hap_profile = "./src/main/config.json"
- js_build_mode = "debug"
- hap_name = "verifyIAbility"
-
- testonly = true
- deps = [
- ":hjs_demo_js_assets",
- ":hjs_demo_resources",
- ]
- certificate_profile = "./signature/openharmony_sx.p7b"
-
- subsystem_name = "ability"
- part_name = "ability_runtime"
-}
-ohos_js_assets("hjs_demo_js_assets") {
- source_dir = "./src/main/js/default"
-}
-ohos_resources("hjs_demo_resources") {
- sources = [ "./src/main/js/resources" ]
- hap_profile = "./src/main/config.json"
-}
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/signature/openharmony_sx.p7b b/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/signature/openharmony_sx.p7b
deleted file mode 100644
index c2df0c3f651418d28737984c8ebe6f03de052c1a..0000000000000000000000000000000000000000
Binary files a/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/signature/openharmony_sx.p7b and /dev/null differ
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/src/main/config.json b/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/src/main/config.json
deleted file mode 100644
index f1018ae395cbf91d087f5fdabc3074b8bbbeddcc..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/src/main/config.json
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- "app": {
- "bundleName": "com.ix.verify.io",
- "vendor": "example",
- "version": {
- "code": 1,
- "name": "1.0"
- },
- "apiVersion": {
- "compatible": 4,
- "target": 5,
- "releaseType": "Beta1"
- }
- },
- "deviceConfig": {},
- "module": {
- "package": "com.example.verifyiability",
- "name": ".MyApplication",
- "deviceType": [
- "default",
- "tablet"
- ],
- "distro": {
- "deliveryWithInstall": true,
- "moduleName": "verifyIAbility",
- "moduleType": "feature",
- "installationFree": true
- },
- "abilities": [
- {
- "visible": true,
- "name": "com.example.VerifyIoThirdAbility",
- "icon": "$media:icon",
- "description": "$string:mainability_description",
- "label": "$string:app_name",
- "type": "page",
- "launchType": "singleton"
- }
- ],
- "js": [
- {
- "pages": [
- "pages/index/index"
- ],
- "name": "default",
- "window": {
- "designWidth": 720,
- "autoDesignWidth": false
- }
- }
- ]
- }
-}
\ No newline at end of file
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/src/main/js/default/app.js b/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/src/main/js/default/app.js
deleted file mode 100644
index c158442201abb1888ae8fb1d57f150c5ec26c36b..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/src/main/js/default/app.js
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Copyright (c) 2021 Huawei Device Co., Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-export default {
- onCreate() {
- console.info('AceApplication onCreate');
- },
- onDestroy() {
- console.info('AceApplication onDestroy');
- }
-};
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/src/main/js/default/i18n/en-US.json b/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/src/main/js/default/i18n/en-US.json
deleted file mode 100644
index e63c70d978a3a53be988388c87182f81785e170c..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/src/main/js/default/i18n/en-US.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "strings": {
- "hello": "Hello",
- "world": "World"
- }
-}
\ No newline at end of file
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/src/main/js/default/i18n/zh-CN.json b/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/src/main/js/default/i18n/zh-CN.json
deleted file mode 100644
index de6ee5748322f44942c1b003319d8e66c837675f..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/src/main/js/default/i18n/zh-CN.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "strings": {
- "hello": "您好",
- "world": "世界"
- }
-}
\ No newline at end of file
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/src/main/js/default/pages/index/index.css b/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/src/main/js/default/pages/index/index.css
deleted file mode 100644
index a6053c61f9615fcd50fefb51f878568f3e39e59b..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/src/main/js/default/pages/index/index.css
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (c) 2021 Huawei Device Co., Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-.container {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- left: 0px;
- top: 0px;
- width: 100%;
- height: 100%;
-}
-
-.title {
- font-size: 60px;
- text-align: center;
- width: 100%;
- height: 40%;
- margin: 10px;
-}
-.btn {
- width: 50%;
- height: 100px;
- font-size: 40px;
-}
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/src/main/js/default/pages/index/index.hml b/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/src/main/js/default/pages/index/index.hml
deleted file mode 100644
index 6069a046a35c4409ab85e4595a079a1670a9c7fe..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/src/main/js/default/pages/index/index.hml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
- {{ $t('strings.hello') }} {{title}}
-
-
-
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/src/main/js/default/pages/index/index.js b/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/src/main/js/default/pages/index/index.js
deleted file mode 100644
index 4b957b07831536e122ce80f4c511ca436ab83546..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/src/main/js/default/pages/index/index.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.
- */
-const injectRef = Object.getPrototypeOf(global) || global
-injectRef.regeneratorRuntime = require('@babel/runtime/regenerator')
-
-export default {
- data: {
- title: ''
- },
- onInit() {
- this.title = this.$t('strings.world');
- }
-}
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/src/main/js/resources/base/element/string.json b/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/src/main/js/resources/base/element/string.json
deleted file mode 100644
index 76e501f214f84c96a44d08973dbbdeab8515e1de..0000000000000000000000000000000000000000
--- a/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/src/main/js/resources/base/element/string.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "string": [
- {
- "name": "app_name",
- "value": "JsHelloWorld"
- },
- {
- "name": "mainability_description",
- "value": "hap sample empty page"
- }
- ]
-}
\ No newline at end of file
diff --git a/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/src/main/js/resources/base/media/icon.png b/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/src/main/js/resources/base/media/icon.png
deleted file mode 100644
index ce307a8827bd75456441ceb57d530e4c8d45d36c..0000000000000000000000000000000000000000
Binary files a/ability/ability_runtime/abilitymanager/sceneProject/verifyIAbility/src/main/js/resources/base/media/icon.png and /dev/null differ