From 94f01a5c381a4e11cea3646649a9dbddbdaedf8f Mon Sep 17 00:00:00 2001 From: wangkailong Date: Wed, 26 Jul 2023 20:34:07 +0800 Subject: [PATCH] applicationinfo Signed-off-by: wangkailong Change-Id: Icb21dd3975d74bc1499b6cb4feeedb7374139e29 --- .../src/main/ets/test/GetAppContext.test.ets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ability/crossplatform/ability_runtime/ActsCrossplatformAbilityTest/src/main/ets/test/GetAppContext.test.ets b/ability/crossplatform/ability_runtime/ActsCrossplatformAbilityTest/src/main/ets/test/GetAppContext.test.ets index 3ad454c68..0497ca162 100644 --- a/ability/crossplatform/ability_runtime/ActsCrossplatformAbilityTest/src/main/ets/test/GetAppContext.test.ets +++ b/ability/crossplatform/ability_runtime/ActsCrossplatformAbilityTest/src/main/ets/test/GetAppContext.test.ets @@ -45,9 +45,9 @@ export default function GetAppContextTest() { ); expect(context.applicationInfo.description).assertEqual(""); expect(context.applicationInfo.label).assertEqual("$string:app_name"); - expect(context.applicationInfo.labelId).assertEqual("16777216"); + expect(context.applicationInfo.labelId).assertEqual(16777216); expect(context.applicationInfo.icon).assertEqual("$media:app_icon"); - expect(context.applicationInfo.iconId).assertEqual("16777217"); + expect(context.applicationInfo.iconId).assertEqual(16777217); expect(context.applicationInfo.codePath != null).assertTrue(); abilityDelegator.printSync("ACTS_GET_APP_CONTENT_0001 pass "); done(); -- GitLab