diff --git a/ability/ability_runtime/featureability/actsfeatureabilitytest/entry/src/main/config.json b/ability/ability_runtime/featureability/actsfeatureabilitytest/entry/src/main/config.json index 5ad32798f57bfeb5b5742f29ef2d587f309bf926..6601c496a47d3fcfd1365a4673b871a593feecb6 100644 --- a/ability/ability_runtime/featureability/actsfeatureabilitytest/entry/src/main/config.json +++ b/ability/ability_runtime/featureability/actsfeatureabilitytest/entry/src/main/config.json @@ -14,7 +14,6 @@ }, "deviceConfig": { "default": { - "process": "processTestAbility" } }, "module": { @@ -55,7 +54,6 @@ "label": "$string:app_name", "type": "page", "launchType": "singleton", - "process": "processTestAbility", "permissions": ["ohos.permission.ACCELEROMETER"], "deviceCapability": ["SystemCapability.Ability.AbilityBase"], "uri": "uriTest", @@ -75,8 +73,7 @@ "launchType": "singleton", "permissions": ["ohos.permission.ACCELEROMETER"], "deviceCapability": ["SystemCapability.Ability.AbilityBase"], - "uri": "uriTest", - "process": "processTestAbility" + "uri": "uriTest" } ], "reqCapabilities": ["reqCapabilitiesTest1","reqCapabilitiesTest2"], diff --git a/ability/ability_runtime/featureability/actsfeatureabilitytest/entry/src/main/js/test/FeatureAbilityJsunit.test.js b/ability/ability_runtime/featureability/actsfeatureabilitytest/entry/src/main/js/test/FeatureAbilityJsunit.test.js index 530311574916906c4963a5bd17d44f02c9bf4be6..149f24dc39535abc546c559163c65de0da22baa4 100644 --- a/ability/ability_runtime/featureability/actsfeatureabilitytest/entry/src/main/js/test/FeatureAbilityJsunit.test.js +++ b/ability/ability_runtime/featureability/actsfeatureabilitytest/entry/src/main/js/test/FeatureAbilityJsunit.test.js @@ -905,7 +905,7 @@ describe('ActsFeatureAbilityTest', function () { // expect(info.labelId).assertEqual(0); //create by DevEco when building HAP. expect(info.icon).assertEqual("$media:icon"); // expect(info.iconId).assertEqual(0); //create by DevEco when building HAP. - expect(info.process).assertEqual("processTestAbility"); + expect(info.process).assertEqual("com.example.actsfeatureabilitytest"); expect(info.supportedModes).assertEqual(0); expect(info.moduleSourceDirs[0]).assertEqual("/data/app/el1/bundle/public/" + "com.example.actsfeatureabilitytest/com.example.actsfeatureabilitytest"); @@ -965,7 +965,7 @@ describe('ActsFeatureAbilityTest', function () { expect(typeof (info)).assertEqual("object"); expect(typeof (info.processName)).assertEqual("string"); expect(typeof (info.pid)).assertEqual("number"); - expect(info.processName).assertEqual("processTestAbility"); + expect(info.processName).assertEqual("com.example.actsfeatureabilitytest"); } /** @@ -1158,7 +1158,7 @@ describe('ActsFeatureAbilityTest', function () { expect(data.icon).assertEqual("$media:icon"); expect(data.moduleName).assertEqual("entry"); - expect(data.process).assertEqual("processTestAbility"); + expect(data.process).assertEqual("com.example.actsfeatureabilitytest"); expect(data.targetAbility).assertEqual(""); expect(data.backgroundModes).assertEqual(0); expect(data.isVisible).assertEqual(true); @@ -1304,7 +1304,7 @@ describe('ActsFeatureAbilityTest', function () { function checkProcessName(info) { console.info("checkProcessName processName : " + info); expect(typeof (info)).assertEqual("string"); - expect(info).assertEqual("processTestAbility"); + expect(info).assertEqual("com.example.actsfeatureabilitytest"); } /** diff --git a/ability/ability_runtime/featureability/actsfeatureabilitytest/signature/openharmony_sx.p7b b/ability/ability_runtime/featureability/actsfeatureabilitytest/signature/openharmony_sx.p7b index 78f51b405a07bc13f7afb19c68973821231c5110..88852f74445028c3308fe52c59f0ac16b3b9f11c 100755 Binary files a/ability/ability_runtime/featureability/actsfeatureabilitytest/signature/openharmony_sx.p7b and b/ability/ability_runtime/featureability/actsfeatureabilitytest/signature/openharmony_sx.p7b differ