From d939527ba326e12153183ab0fc49c05ea78e2504 Mon Sep 17 00:00:00 2001 From: inter515 Date: Wed, 29 Jun 2022 17:45:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BC=96=E8=AF=91=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: inter515 --- .../main/ets/test/ActsBmsEtsModuleNameTest.test.ets | 12 ++++++------ .../src/main/ets/test/IsAbilityEnabledETSUnit.ets | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbmsetsmodulenametest/entry/src/main/ets/test/ActsBmsEtsModuleNameTest.test.ets b/bundlemanager/bundle_standard/bundlemanager/actsbmsetsmodulenametest/entry/src/main/ets/test/ActsBmsEtsModuleNameTest.test.ets index 0a4032643..64f34c34e 100644 --- a/bundlemanager/bundle_standard/bundlemanager/actsbmsetsmodulenametest/entry/src/main/ets/test/ActsBmsEtsModuleNameTest.test.ets +++ b/bundlemanager/bundle_standard/bundlemanager/actsbmsetsmodulenametest/entry/src/main/ets/test/ActsBmsEtsModuleNameTest.test.ets @@ -533,6 +533,9 @@ export default function actsBmsJsModuleNameTest() { "name": "", "value": "", "resource": "" }]] ]); + let resource = { + "bundleName": "", "moduleName": "", "id": 0 + } let abilityInfo = { bundleName: bundleName, name: name, @@ -552,16 +555,13 @@ export default function actsBmsJsModuleNameTest() { subType: 0, orientation: 0, launchMode: 0, - permissions: [], - deviceTypes: [], - deviceCapabilities: [], - readPermission: "", - writePermission: "", + permissions: [], deviceTypes: [], deviceCapabilities: [], readPermission: "", writePermission: "", applicationInfo: { name: "", description: "", descriptionId: 0, systemApp: true, enabled: true, label: "", labelId: "", icon: "", iconId: "", process: "", supportedModes: 0, moduleSourceDirs: [], permissions: [], moduleInfos: [], entryDir: "", codePath: "", metaData: map1, metadata: map2, - removable: true, accessTokenId: 0, uid: 0, entityType: "", fingerprint: "" + removable: true, accessTokenId: 0, uid: 0, entityType: "", fingerprint: "", + iconResource: resource, labelResource: resource, descriptionResource: resource }, uri: "", metaData: [], metadata: [], enabled: true, supportWindowMode: [], maxWindowRatio: 0, minWindowRatio: 0, maxWindowWidth: 0, minWindowWidth: 0, maxWindowHeight: 0, minWindowHeight: 0 diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/test/IsAbilityEnabledETSUnit.ets b/bundlemanager/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/test/IsAbilityEnabledETSUnit.ets index 52a556b88..5ec51f081 100644 --- a/bundlemanager/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/test/IsAbilityEnabledETSUnit.ets +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/test/IsAbilityEnabledETSUnit.ets @@ -201,6 +201,9 @@ export default function isAbilityEnabledETSUnit() { "name": "", "value": "", "resource": "" }]] ]); + let resource = { + "bundleName": "", "moduleName": "", "id": 0 + } let abilityInfo = { bundleName: bundleName, name: name, @@ -220,16 +223,13 @@ export default function isAbilityEnabledETSUnit() { subType: 0, orientation: 0, launchMode: 0, - permissions: [], - deviceTypes: [], - deviceCapabilities: [], - readPermission: "", - writePermission: "", + permissions: [], deviceTypes: [], deviceCapabilities: [], readPermission: "", writePermission: "", applicationInfo: { name: "", description: "", descriptionId: 0, systemApp: true, enabled: true, label: "", labelId: "", icon: "", iconId: "", process: "", supportedModes: 0, moduleSourceDirs: [], permissions: [], moduleInfos: [], entryDir: "", codePath: "", metaData: map1, metadata: map2, - removable: true, accessTokenId: 0, uid: 0, entityType: "", fingerprint: "" + removable: true, accessTokenId: 0, uid: 0, entityType: "", fingerprint: "", + iconResource: resource, labelResource: resource, descriptionResource: resource }, uri: "", metaData: [], metadata: [], enabled: true, supportWindowMode: [], maxWindowRatio: 0, minWindowRatio: 0, maxWindowWidth: 0, minWindowWidth: 0, maxWindowHeight: 0, minWindowHeight: 0 -- GitLab