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

!5258 modify HapMoudleInfo, adapt installationFree

Merge pull request !5258 from Lotol/OpenHarmony-3.1-Release
...@@ -88,6 +88,8 @@ describe('ActsBmsHapModuleTest', function () { ...@@ -88,6 +88,8 @@ describe('ActsBmsHapModuleTest', function () {
expect(hapModuleInfo.mainAbilityName).assertEqual(FIRSTMAINABILITY); expect(hapModuleInfo.mainAbilityName).assertEqual(FIRSTMAINABILITY);
expect(hapModuleInfo1.moduleName).assertEqual('bmsmainabilitysecondscene'); expect(hapModuleInfo1.moduleName).assertEqual('bmsmainabilitysecondscene');
expect(hapModuleInfo1.mainAbilityName).assertEqual(SECONDMAINABILITY); expect(hapModuleInfo1.mainAbilityName).assertEqual(SECONDMAINABILITY);
expect(hapModuleInfo.installationFree).assertEqual(false);
expect(hapModuleInfo1.installationFree).assertEqual(true);
done(); done();
} }
}); });
...@@ -202,6 +204,5 @@ describe('ActsBmsHapModuleTest', function () { ...@@ -202,6 +204,5 @@ describe('ActsBmsHapModuleTest', function () {
expect(info.reqCapabilities.length).assertEqual(0); expect(info.reqCapabilities.length).assertEqual(0);
expect(info.deviceTypes[0]).assertEqual('default'); expect(info.deviceTypes[0]).assertEqual('default');
expect(info.abilityInfo.length).assertLarger(0); expect(info.abilityInfo.length).assertLarger(0);
expect(info.installationFree).assertEqual(false);
} }
}) })
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册