未验证 提交 91a0db92 编写于 作者: O openharmony_ci 提交者: Gitee

!6998 xts-签名文件整改

Merge pull request !6998 from chengxingzhen/monthly_20221018
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
}, },
"deviceConfig": { "deviceConfig": {
"default": { "default": {
"process": "processTestAbility"
} }
}, },
"module": { "module": {
...@@ -55,7 +54,6 @@ ...@@ -55,7 +54,6 @@
"label": "$string:app_name", "label": "$string:app_name",
"type": "page", "type": "page",
"launchType": "singleton", "launchType": "singleton",
"process": "processTestAbility",
"permissions": ["ohos.permission.ACCELEROMETER"], "permissions": ["ohos.permission.ACCELEROMETER"],
"deviceCapability": ["SystemCapability.Ability.AbilityBase"], "deviceCapability": ["SystemCapability.Ability.AbilityBase"],
"uri": "uriTest", "uri": "uriTest",
...@@ -75,8 +73,7 @@ ...@@ -75,8 +73,7 @@
"launchType": "singleton", "launchType": "singleton",
"permissions": ["ohos.permission.ACCELEROMETER"], "permissions": ["ohos.permission.ACCELEROMETER"],
"deviceCapability": ["SystemCapability.Ability.AbilityBase"], "deviceCapability": ["SystemCapability.Ability.AbilityBase"],
"uri": "uriTest", "uri": "uriTest"
"process": "processTestAbility"
} }
], ],
"reqCapabilities": ["reqCapabilitiesTest1","reqCapabilitiesTest2"], "reqCapabilities": ["reqCapabilitiesTest1","reqCapabilitiesTest2"],
......
...@@ -905,7 +905,7 @@ describe('ActsFeatureAbilityTest', function () { ...@@ -905,7 +905,7 @@ describe('ActsFeatureAbilityTest', function () {
// expect(info.labelId).assertEqual(0); //create by DevEco when building HAP. // expect(info.labelId).assertEqual(0); //create by DevEco when building HAP.
expect(info.icon).assertEqual("$media:icon"); expect(info.icon).assertEqual("$media:icon");
// expect(info.iconId).assertEqual(0); //create by DevEco when building HAP. // 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.supportedModes).assertEqual(0);
expect(info.moduleSourceDirs[0]).assertEqual("/data/app/el1/bundle/public/" + expect(info.moduleSourceDirs[0]).assertEqual("/data/app/el1/bundle/public/" +
"com.example.actsfeatureabilitytest/com.example.actsfeatureabilitytest"); "com.example.actsfeatureabilitytest/com.example.actsfeatureabilitytest");
...@@ -965,7 +965,7 @@ describe('ActsFeatureAbilityTest', function () { ...@@ -965,7 +965,7 @@ describe('ActsFeatureAbilityTest', function () {
expect(typeof (info)).assertEqual("object"); expect(typeof (info)).assertEqual("object");
expect(typeof (info.processName)).assertEqual("string"); expect(typeof (info.processName)).assertEqual("string");
expect(typeof (info.pid)).assertEqual("number"); 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 () { ...@@ -1158,7 +1158,7 @@ describe('ActsFeatureAbilityTest', function () {
expect(data.icon).assertEqual("$media:icon"); expect(data.icon).assertEqual("$media:icon");
expect(data.moduleName).assertEqual("entry"); expect(data.moduleName).assertEqual("entry");
expect(data.process).assertEqual("processTestAbility"); expect(data.process).assertEqual("com.example.actsfeatureabilitytest");
expect(data.targetAbility).assertEqual(""); expect(data.targetAbility).assertEqual("");
expect(data.backgroundModes).assertEqual(0); expect(data.backgroundModes).assertEqual(0);
expect(data.isVisible).assertEqual(true); expect(data.isVisible).assertEqual(true);
...@@ -1304,7 +1304,7 @@ describe('ActsFeatureAbilityTest', function () { ...@@ -1304,7 +1304,7 @@ describe('ActsFeatureAbilityTest', function () {
function checkProcessName(info) { function checkProcessName(info) {
console.info("checkProcessName processName : " + info); console.info("checkProcessName processName : " + info);
expect(typeof (info)).assertEqual("string"); expect(typeof (info)).assertEqual("string");
expect(info).assertEqual("processTestAbility"); expect(info).assertEqual("com.example.actsfeatureabilitytest");
} }
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册