提交 ade0da4e 编写于 作者: I inter515

适配fail用例修改minCompatibleVersionCode字段

Signed-off-by: Ninter515 <ry.renyi@huawei.com>
上级 3cc42ce3
......@@ -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");
......@@ -153,7 +153,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");
......@@ -232,7 +232,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);
......@@ -276,7 +276,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);
......@@ -502,7 +502,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");
......@@ -551,7 +551,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");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册