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

!7164 包管理-修复xts用例

Merge pull request !7164 from wangtiantian/fix_bug
...@@ -82,7 +82,6 @@ describe('ActsBundleManagerTest', function () { ...@@ -82,7 +82,6 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.reqPermissionDetails[0].reason).assertEqual("Need PERMISSION_A"); expect(datainfo.reqPermissionDetails[0].reason).assertEqual("Need PERMISSION_A");
expect(datainfo.reqPermissionDetails[0].usedScene.abilities[0]).assertEqual(NAME1 + ".MainAbility"); expect(datainfo.reqPermissionDetails[0].usedScene.abilities[0]).assertEqual(NAME1 + ".MainAbility");
expect(datainfo.reqPermissionDetails[0].usedScene.when).assertEqual("always"); expect(datainfo.reqPermissionDetails[0].usedScene.when).assertEqual("always");
expect(datainfo.reqPermissionDetails[0].reasonId).assertEqual(0);
expect(datainfo.compatibleVersion).assertEqual(5); expect(datainfo.compatibleVersion).assertEqual(5);
expect(datainfo.targetVersion).assertEqual(5); expect(datainfo.targetVersion).assertEqual(5);
expect(datainfo.isCompressNativeLibs).assertEqual(true); expect(datainfo.isCompressNativeLibs).assertEqual(true);
...@@ -146,7 +145,6 @@ describe('ActsBundleManagerTest', function () { ...@@ -146,7 +145,6 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.reqPermissionDetails[0].reason).assertEqual("Need PERMISSION_A"); expect(datainfo.reqPermissionDetails[0].reason).assertEqual("Need PERMISSION_A");
expect(datainfo.reqPermissionDetails[0].usedScene.abilities[0]).assertEqual(NAME1 + ".MainAbility"); expect(datainfo.reqPermissionDetails[0].usedScene.abilities[0]).assertEqual(NAME1 + ".MainAbility");
expect(datainfo.reqPermissionDetails[0].usedScene.when).assertEqual("always"); expect(datainfo.reqPermissionDetails[0].usedScene.when).assertEqual("always");
expect(datainfo.reqPermissionDetails[0].reasonId).assertEqual(0);
expect(datainfo.compatibleVersion).assertEqual(5); expect(datainfo.compatibleVersion).assertEqual(5);
expect(datainfo.targetVersion).assertEqual(5); expect(datainfo.targetVersion).assertEqual(5);
expect(datainfo.isCompressNativeLibs).assertEqual(true); expect(datainfo.isCompressNativeLibs).assertEqual(true);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册