提交 3e99dd9d 编写于 作者: S SoftSquirrel

#I5HTOO: modify HapMoudleInfo, adapt installationFree

Description: modify HapMoudleInfo, adapt installationFree
Sig: SIG_ApplicaitonFramework
Feature or Bugfix: Bugfix
Binary Source: No
Signed-off-by: NSoftSquirrel <xuhao47@huawei.com>
上级 21d89895
...@@ -97,6 +97,8 @@ describe('ActsBmsHapModuleTest', function () { ...@@ -97,6 +97,8 @@ describe('ActsBmsHapModuleTest', function () {
expect(hapModuleInfo1.moduleName).assertEqual('bmsmainabilitysecondscene'); expect(hapModuleInfo1.moduleName).assertEqual('bmsmainabilitysecondscene');
expect(hapModuleInfo1.mainAbilityName).assertEqual(SECONDMAINABILITY); expect(hapModuleInfo1.mainAbilityName).assertEqual(SECONDMAINABILITY);
expect(hapModuleInfo1.mainElementName).assertEqual(SECONDMAINABILITY); expect(hapModuleInfo1.mainElementName).assertEqual(SECONDMAINABILITY);
expect(hapModuleInfo.installationFree).assertEqual(false);
expect(hapModuleInfo1.installationFree).assertEqual(true);
done(); done();
} }
}); });
...@@ -225,7 +227,6 @@ describe('ActsBmsHapModuleTest', function () { ...@@ -225,7 +227,6 @@ describe('ActsBmsHapModuleTest', function () {
expect(info.abilityInfo.length).assertLarger(0); expect(info.abilityInfo.length).assertLarger(0);
expect(info.extensionAbilityInfo.length).assertEqual(0); expect(info.extensionAbilityInfo.length).assertEqual(0);
expect(info.metadata.length).assertEqual(0); expect(info.metadata.length).assertEqual(0);
expect(info.installationFree).assertEqual(false);
expect(info.hashValue).assertEqual(""); expect(info.hashValue).assertEqual("");
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册