未验证 提交 56d437e8 编写于 作者: O openharmony_ci 提交者: Gitee

!3523 修改minCompatibleVersionCode字段断言

Merge pull request !3523 from ry/OpenHarmony-3.1-Release
...@@ -90,7 +90,7 @@ describe('ActsBundleManagerTest', function () { ...@@ -90,7 +90,7 @@ describe('ActsBundleManagerTest', function () {
} }
expect(datainfo.entryModuleName).assertEqual("entry"); expect(datainfo.entryModuleName).assertEqual("entry");
expect(datainfo.isSilentInstallation.length).assertEqual(0); expect(datainfo.isSilentInstallation.length).assertEqual(0);
expect(datainfo.minCompatibleVersionCode).assertEqual(0); expect(datainfo.minCompatibleVersionCode).assertEqual(1);
expect(datainfo.entryInstallationFree).assertEqual(false); expect(datainfo.entryInstallationFree).assertEqual(false);
for (let j = 0; j < datainfo.appInfo.moduleInfos.length; j++) { for (let j = 0; j < datainfo.appInfo.moduleInfos.length; j++) {
expect(datainfo.appInfo.moduleInfos[j].moduleName).assertEqual("entry"); expect(datainfo.appInfo.moduleInfos[j].moduleName).assertEqual("entry");
...@@ -121,7 +121,7 @@ describe('ActsBundleManagerTest', function () { ...@@ -121,7 +121,7 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.updateTime).assertLarger(0); expect(datainfo.updateTime).assertLarger(0);
expect(datainfo.uid).assertLarger(0); expect(datainfo.uid).assertLarger(0);
expect(datainfo.entryModuleName).assertEqual("entry"); expect(datainfo.entryModuleName).assertEqual("entry");
expect(datainfo.minCompatibleVersionCode).assertEqual(0); expect(datainfo.minCompatibleVersionCode).assertEqual(1);
expect(datainfo.entryInstallationFree).assertEqual(false); expect(datainfo.entryInstallationFree).assertEqual(false);
expect(datainfo.reqPermissions.length).assertEqual(0); expect(datainfo.reqPermissions.length).assertEqual(0);
expect(datainfo.reqPermissionStates.length).assertEqual(0); expect(datainfo.reqPermissionStates.length).assertEqual(0);
...@@ -1234,7 +1234,7 @@ describe('ActsBundleManagerTest', function () { ...@@ -1234,7 +1234,7 @@ describe('ActsBundleManagerTest', function () {
} }
expect(dataInfo.entryModuleName).assertEqual("entry"); expect(dataInfo.entryModuleName).assertEqual("entry");
expect(dataInfo.isSilentInstallation.length).assertEqual(0); expect(dataInfo.isSilentInstallation.length).assertEqual(0);
expect(dataInfo.minCompatibleVersionCode).assertEqual(0); expect(dataInfo.minCompatibleVersionCode).assertEqual(1);
expect(dataInfo.entryInstallationFree).assertEqual(false); expect(dataInfo.entryInstallationFree).assertEqual(false);
for (let j = 0; j < dataInfo.appInfo.moduleInfos.length; j++) { for (let j = 0; j < dataInfo.appInfo.moduleInfos.length; j++) {
expect(dataInfo.appInfo.moduleInfos[j].moduleName).assertEqual("entry"); expect(dataInfo.appInfo.moduleInfos[j].moduleName).assertEqual("entry");
...@@ -1281,7 +1281,7 @@ describe('ActsBundleManagerTest', function () { ...@@ -1281,7 +1281,7 @@ describe('ActsBundleManagerTest', function () {
} }
expect(dataInfo.entryModuleName).assertEqual("entry"); expect(dataInfo.entryModuleName).assertEqual("entry");
expect(dataInfo.isSilentInstallation.length).assertEqual(0); expect(dataInfo.isSilentInstallation.length).assertEqual(0);
expect(dataInfo.minCompatibleVersionCode).assertEqual(0); expect(dataInfo.minCompatibleVersionCode).assertEqual(1);
expect(dataInfo.entryInstallationFree).assertEqual(false); expect(dataInfo.entryInstallationFree).assertEqual(false);
for (let j = 0; j < dataInfo.appInfo.moduleInfos.length; j++) { for (let j = 0; j < dataInfo.appInfo.moduleInfos.length; j++) {
expect(dataInfo.appInfo.moduleInfos[j].moduleName).assertEqual("entry"); expect(dataInfo.appInfo.moduleInfos[j].moduleName).assertEqual("entry");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册