未验证 提交 36b1d4e4 编写于 作者: O openharmony_ci 提交者: Gitee

!4472 元能力HMOS问题修改

Merge pull request !4472 from chengxingzhen/OpenHarmony-3.1-Release
......@@ -39,7 +39,7 @@ describe('ActsAbilityRunningInfosTest', function () {
console.log('ACTS_getProcessRunningInfos_0100====<begin');
var data = await appManager.getProcessRunningInfos()
console.info('====> ACTS_getProcessRunningInfos_0100 ====>' + JSON.stringify(data))
expect(checkRunningProcess('com.ohos.launcher', data)).assertTrue();
expect(checkRunningProcess('com.example.abilityrunninginfostest', data)).assertTrue();
done();
})
......
......@@ -53,7 +53,7 @@
"launchType": "singleton",
"process": "processTestAbility",
"permissions": ["ohos.permission.ACCELEROMETER"],
"deviceCapability": ["ability_base","ability_runtime"],
"deviceCapability": ["SystemCapability.Ability.AbilityBase"],
"uri": "uriTest",
"visible": true
}
......
......@@ -1114,8 +1114,7 @@ describe('ActsFeatureAbilityTest', function () {
expect(data.permissions[0]).assertEqual("ohos.permission.ACCELEROMETER");
expect(data.deviceTypes[0]).assertEqual("phone");
expect(data.deviceCapabilities[0]).assertEqual("ability_base");
expect(data.deviceCapabilities[1]).assertEqual("ability_runtime");
expect(data.deviceCapabilities[0]).assertEqual("SystemCapability.Ability.AbilityBase");
expect(data.readPermission).assertEqual("");
expect(data.writePermission).assertEqual("");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册