提交 4874e07e 编写于 作者: L linxiangzhi

modify HapMoudleInfo, adapt installationFree

Signed-off-by: Nlinxiangzhi <linxiangzhi@huawei.com>
上级 4bd7310b
......@@ -88,6 +88,8 @@ describe('ActsBmsHapModuleTest', function () {
expect(hapModuleInfo.mainAbilityName).assertEqual(FIRSTMAINABILITY);
expect(hapModuleInfo1.moduleName).assertEqual('bmsmainabilitysecondscene');
expect(hapModuleInfo1.mainAbilityName).assertEqual(SECONDMAINABILITY);
expect(hapModuleInfo.installationFree).assertEqual(false);
expect(hapModuleInfo1.installationFree).assertEqual(true);
done();
}
});
......@@ -202,6 +204,5 @@ describe('ActsBmsHapModuleTest', function () {
expect(info.reqCapabilities.length).assertEqual(0);
expect(info.deviceTypes[0]).assertEqual('default');
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.
先完成此消息的编辑!
想要评论请 注册