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

!9446 hapModuleInfo不再校验2in1设备类型

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