From 1c013fc661904d23e10953865b70225f5adaca5c Mon Sep 17 00:00:00 2001 From: "zhangyafei.echo" Date: Mon, 24 Jul 2023 06:44:23 +0000 Subject: [PATCH] Description:Don't check 2in1 any more. Sig:SIG_ApplicationFramework Feature or BugFix: Feature Binary Source: No Signed-off-by: zhangyafei.echo Change-Id: If27d01f0d220cb606cc3bb5d6a21e60dbd16af49 --- .../entry/src/main/ets/test/Ability.test.ets | 1 - .../entry/src/main/ets/test/Ability.test.ets | 3 --- 2 files changed, 4 deletions(-) diff --git a/ability/ability_runtime/amscontextualinforquery/actsamsstaticabilitystagecontexttest/entry/src/main/ets/test/Ability.test.ets b/ability/ability_runtime/amscontextualinforquery/actsamsstaticabilitystagecontexttest/entry/src/main/ets/test/Ability.test.ets index 6df8cd32f..07bc2ebff 100644 --- a/ability/ability_runtime/amscontextualinforquery/actsamsstaticabilitystagecontexttest/entry/src/main/ets/test/Ability.test.ets +++ b/ability/ability_runtime/amscontextualinforquery/actsamsstaticabilitystagecontexttest/entry/src/main/ets/test/Ability.test.ets @@ -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); diff --git a/ability/ability_runtime/amscontextualinforquery/actsamsstaticinfomationquerytest/entry/src/main/ets/test/Ability.test.ets b/ability/ability_runtime/amscontextualinforquery/actsamsstaticinfomationquerytest/entry/src/main/ets/test/Ability.test.ets index cef605a7a..65490d4d0 100644 --- a/ability/ability_runtime/amscontextualinforquery/actsamsstaticinfomationquerytest/entry/src/main/ets/test/Ability.test.ets +++ b/ability/ability_runtime/amscontextualinforquery/actsamsstaticinfomationquerytest/entry/src/main/ets/test/Ability.test.ets @@ -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); -- GitLab