diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlemanageroverlaytest/Test.json b/bundlemanager/bundle_standard/bundlemanager/actsbundlemanageroverlaytest/Test.json index 3519e2fe78cee8c1dec37f1f301396de02bf0171..a527a0dacba47698b878b3d19c78e664c43765f2 100644 --- a/bundlemanager/bundle_standard/bundlemanager/actsbundlemanageroverlaytest/Test.json +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlemanageroverlaytest/Test.json @@ -11,7 +11,7 @@ "kits": [ { "test-file-name": [ - "ActsBundleMgrStageEtsTest.hap", + "ActsBundleMgrOverlayEtsTest.hap", "bmsOverlayDemo.hap" ], "type": "AppInstallKit", diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlemanageroverlaytest/entry/src/main/ets/test/GetOverlayModuleInfo.test.ets b/bundlemanager/bundle_standard/bundlemanager/actsbundlemanageroverlaytest/entry/src/main/ets/test/GetOverlayModuleInfo.test.ets index 0cbd772d3a45b1dcb20e78c2eacdcb82ab165333..1cde2d2e5582e9ad9d59a7821c1e07c88c9a0ff7 100644 --- a/bundlemanager/bundle_standard/bundlemanager/actsbundlemanageroverlaytest/entry/src/main/ets/test/GetOverlayModuleInfo.test.ets +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlemanageroverlaytest/entry/src/main/ets/test/GetOverlayModuleInfo.test.ets @@ -111,6 +111,8 @@ export default function getOverlayModuleInfo() { it('GetOverlayModuleInfoModuleNameIsOverlay', 0, async function (done) { await overlay.getOverlayModuleInfo(MODULE_NAME2).then(data => { Utils.info("GetOverlayModuleInfoModuleNameIsOverlay result" + JSON.stringify(data)); + let overlayModuleInfoTest: overlay.OverlayModuleInfo = data; + expect(typeof (overlayModuleInfoTest.bundleName)).assertEqual('string'); expect(data.bundleName).assertEqual("ohos.acts.bundle.overlay.test"); expect(data.moduleName).assertEqual("stage1"); expect(data.targetModuleName).assertEqual("entry1"); diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlemanagerstagetest/entry/src/main/ets/test/GetBundleInfoForSelf.test.ets b/bundlemanager/bundle_standard/bundlemanager/actsbundlemanagerstagetest/entry/src/main/ets/test/GetBundleInfoForSelf.test.ets index 63bb17078a76fc0cfdbc9b60ee6121437b35b4c3..958ad1e5752e29f1e96409c18e80c139b1525f20 100644 --- a/bundlemanager/bundle_standard/bundlemanager/actsbundlemanagerstagetest/entry/src/main/ets/test/GetBundleInfoForSelf.test.ets +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlemanagerstagetest/entry/src/main/ets/test/GetBundleInfoForSelf.test.ets @@ -94,6 +94,7 @@ export default function getBundleInfoForSelf() { await bundle.getBundleInfoForSelf(bundle.BundleFlag.GET_BUNDLE_INFO_WITH_APPLICATION).then(data => { console.info("getBundleInfoForSelfApplicationPro" + JSON.stringify(data.appInfo)); checkCommonBundleInfo(data); + expect(bundle.ExtensionAbilityType.PRINT).assertEqual(15); expect(data.appInfo.bundleType).assertEqual(bundle.BundleType.APP); expect(data.appInfo.name).assertEqual(BUNDLE_NAME); expect(data.appInfo.description).assertEqual("$string:description_application");