提交 2f33b73a 编写于 作者: C chengxingzhen

元能力HMOS问题修改

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