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 0a40326438a00cdf708f0c305ef93321408eff8e..64f34c34e5d0dfc79cb63eaf469f4b862e39d511 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 52a556b8898620492f3cc70608d8d43840f39c88..5ec51f0818c1f3fc99d98fb4fe92cfe6ee70a599 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