提交 b3d24958 编写于 作者: R r00559040

修复ActsBmsModuleUsageRecordTestUN问题

Signed-off-by: Nr00559040 <ry.renyi@huawei.com>
上级 009ee674
......@@ -69,6 +69,10 @@
{
"name":"ohos.permission.LISTEN_BUNDLE_CHANGE",
"reason":"need use ohos.permission.LISTEN_BUNDLE_CHANGE"
},
{
"name":"ohos.permission.MANAGE_MISSIONS",
"reason":"need use ohos.permission.MANAGE_MISSIONS"
}
],
"js": [
......
......@@ -608,9 +608,7 @@ describe('ActsBmsModuleUsageRecordTest', function () {
expect(data[i].lastLaunchTime).assertLarger(0);
console.debug('=============isRemoved==============' + JSON.stringify(data[i].isRemoved));
expect(data[i].isRemoved).assertEqual(false);
if (data[i].bundleName == 'com.ohos.launcher') {
expect(data[i].installationFreeSupported).assertTrue();
} else {
if (data[i].bundleName == 'com.example.third1') {
expect(data[i].installationFreeSupported).assertFalse();
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册