提交 40c1830b 编写于 作者: C chengxingzhen

元能力HMOS问题修改

Signed-off-by: Nchengxingzhen <chengxingzhen@huawei.com>
上级 3c0256fc
......@@ -40,7 +40,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.
先完成此消息的编辑!
想要评论请 注册