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

!9449 [4.0beta2]hapModuleInfo不再校验2in1设备类型

Merge pull request !9449 from 张亚菲/cherry-pick-1690198807
......@@ -193,7 +193,6 @@ export default function abilityTest() {
expect(data.metadata.length).assertEqual(0);
expect(data.deviceTypes[0]).assertEqual('default');
expect(data.deviceTypes[1]).assertEqual('tablet');
expect(data.deviceTypes[2]).assertEqual('2in1');
expect(data.installationFree).assertEqual(false);
expect(data.hashValue).assertEqual('');
expect(data.type).assertEqual(bundleManager.ModuleType.ENTRY);
......
......@@ -206,8 +206,6 @@ export default function abilityTest() {
expect(data.uri).assertEqual("");
expect(data.deviceTypes[0]).assertEqual("default");
expect(data.deviceTypes[1]).assertEqual("tablet");
expect(data.deviceTypes[2]).assertEqual("2in1");
expect(data.deviceTypes.length).assertEqual(3);
expect(data.applicationInfo.name).assertEqual("com.acts.staticinfomationquery");
expect(data.applicationInfo.description).assertEqual("$string:description_application");
......@@ -397,7 +395,6 @@ export default function abilityTest() {
expect(data.metadata.length).assertEqual(0);
expect(data.deviceTypes[0]).assertEqual("default");
expect(data.deviceTypes[1]).assertEqual("tablet");
expect(data.deviceTypes[2]).assertEqual("2in1");
expect(data.installationFree).assertEqual(false);
expect(data.hashValue).assertEqual('');
expect(data.type).assertEqual(bundleManager.ModuleType.ENTRY);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册