From cdf89a76c631c75f91b3659a0b180c7da84e92bb Mon Sep 17 00:00:00 2001 From: inter515 Date: Fri, 10 Jun 2022 17:30:59 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8Dfail=E7=94=A8=E4=BE=8B?= =?UTF-8?q?=E4=BF=AE=E6=94=B9minCompatibleVersionCode=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: inter515 --- .../entry/src/main/js/test/ExampleJsunit.test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/appexecfwk/bundle_standard/bundlemanager/actsbundlemanagertest/entry/src/main/js/test/ExampleJsunit.test.js b/appexecfwk/bundle_standard/bundlemanager/actsbundlemanagertest/entry/src/main/js/test/ExampleJsunit.test.js index abe875af2..18dd8e311 100644 --- a/appexecfwk/bundle_standard/bundlemanager/actsbundlemanagertest/entry/src/main/js/test/ExampleJsunit.test.js +++ b/appexecfwk/bundle_standard/bundlemanager/actsbundlemanagertest/entry/src/main/js/test/ExampleJsunit.test.js @@ -90,7 +90,7 @@ describe('ActsBundleManagerTest', function () { } expect(datainfo.entryModuleName).assertEqual("entry"); expect(datainfo.isSilentInstallation.length).assertEqual(0); - expect(datainfo.minCompatibleVersionCode).assertEqual(0); + expect(datainfo.minCompatibleVersionCode).assertEqual(1); expect(datainfo.entryInstallationFree).assertEqual(false); for (let j = 0; j < datainfo.appInfo.moduleInfos.length; j++) { expect(datainfo.appInfo.moduleInfos[j].moduleName).assertEqual("entry"); @@ -121,7 +121,7 @@ describe('ActsBundleManagerTest', function () { expect(datainfo.updateTime).assertLarger(0); expect(datainfo.uid).assertLarger(0); expect(datainfo.entryModuleName).assertEqual("entry"); - expect(datainfo.minCompatibleVersionCode).assertEqual(0); + expect(datainfo.minCompatibleVersionCode).assertEqual(1); expect(datainfo.entryInstallationFree).assertEqual(false); expect(datainfo.reqPermissions.length).assertEqual(0); expect(datainfo.reqPermissionStates.length).assertEqual(0); @@ -1234,7 +1234,7 @@ describe('ActsBundleManagerTest', function () { } expect(dataInfo.entryModuleName).assertEqual("entry"); expect(dataInfo.isSilentInstallation.length).assertEqual(0); - expect(dataInfo.minCompatibleVersionCode).assertEqual(0); + expect(dataInfo.minCompatibleVersionCode).assertEqual(1); expect(dataInfo.entryInstallationFree).assertEqual(false); for (let j = 0; j < dataInfo.appInfo.moduleInfos.length; j++) { expect(dataInfo.appInfo.moduleInfos[j].moduleName).assertEqual("entry"); @@ -1281,7 +1281,7 @@ describe('ActsBundleManagerTest', function () { } expect(dataInfo.entryModuleName).assertEqual("entry"); expect(dataInfo.isSilentInstallation.length).assertEqual(0); - expect(dataInfo.minCompatibleVersionCode).assertEqual(0); + expect(dataInfo.minCompatibleVersionCode).assertEqual(1); expect(dataInfo.entryInstallationFree).assertEqual(false); for (let j = 0; j < dataInfo.appInfo.moduleInfos.length; j++) { expect(dataInfo.appInfo.moduleInfos[j].moduleName).assertEqual("entry"); -- GitLab