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

!4399 modify HapMoudleInfo, adapt installationFree

Merge pull request !4399 from SoftSquirrel/master
......@@ -97,6 +97,8 @@ describe('ActsBmsHapModuleTest', function () {
expect(hapModuleInfo1.moduleName).assertEqual('bmsmainabilitysecondscene');
expect(hapModuleInfo1.mainAbilityName).assertEqual(SECONDMAINABILITY);
expect(hapModuleInfo1.mainElementName).assertEqual(SECONDMAINABILITY);
expect(hapModuleInfo.installationFree).assertEqual(false);
expect(hapModuleInfo1.installationFree).assertEqual(true);
done();
}
});
......@@ -225,7 +227,6 @@ describe('ActsBmsHapModuleTest', function () {
expect(info.abilityInfo.length).assertLarger(0);
expect(info.extensionAbilityInfo.length).assertEqual(0);
expect(info.metadata.length).assertEqual(0);
expect(info.installationFree).assertEqual(false);
expect(info.hashValue).assertEqual("");
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册