未验证 提交 3b8910b1 编写于 作者: O openharmony_ci 提交者: Gitee

!2174 【XTS】修复ActsBmsModuleUsageRecordTest执行un问题

Merge pull request !2174 from ry/master
......@@ -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.
先完成此消息的编辑!
想要评论请 注册