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

!7046 包管理新增systemApp字段-month

Merge pull request !7046 from wangtiantian/cherry-pick-1672275940
...@@ -120,6 +120,7 @@ export default function getBundleInfoForSelf() { ...@@ -120,6 +120,7 @@ export default function getBundleInfoForSelf() {
expect(data.appInfo.appDistributionType).assertEqual("os_integration"); expect(data.appInfo.appDistributionType).assertEqual("os_integration");
expect(data.appInfo.appProvisionType).assertEqual("release"); expect(data.appInfo.appProvisionType).assertEqual("release");
expect(data.appInfo.permissions.length).assertEqual(0); expect(data.appInfo.permissions.length).assertEqual(0);
expect(data.appInfo.systemApp).assertFalse();
expect(JSON.stringify(data.appInfo.metadata)).assertEqual("{}"); expect(JSON.stringify(data.appInfo.metadata)).assertEqual("{}");
expect(data.hapModulesInfo.length).assertEqual(0); expect(data.hapModulesInfo.length).assertEqual(0);
expect(data.reqPermissionDetails.length).assertEqual(0); expect(data.reqPermissionDetails.length).assertEqual(0);
...@@ -172,6 +173,7 @@ export default function getBundleInfoForSelf() { ...@@ -172,6 +173,7 @@ export default function getBundleInfoForSelf() {
expect(data.appInfo.appDistributionType).assertEqual("os_integration"); expect(data.appInfo.appDistributionType).assertEqual("os_integration");
expect(data.appInfo.appProvisionType).assertEqual("release"); expect(data.appInfo.appProvisionType).assertEqual("release");
expect(data.appInfo.permissions.length).assertEqual(0); expect(data.appInfo.permissions.length).assertEqual(0);
expect(data.appInfo.systemApp).assertFalse();
expect(JSON.stringify(data.appInfo.metadata)).assertEqual("{}"); expect(JSON.stringify(data.appInfo.metadata)).assertEqual("{}");
expect(data.hapModulesInfo.length).assertEqual(0); expect(data.hapModulesInfo.length).assertEqual(0);
expect(data.reqPermissionDetails.length).assertEqual(0); expect(data.reqPermissionDetails.length).assertEqual(0);
...@@ -1035,6 +1037,7 @@ export default function getBundleInfoForSelf() { ...@@ -1035,6 +1037,7 @@ export default function getBundleInfoForSelf() {
expect(data.appInfo.descriptionResource.id).assertEqual(data.appInfo.descriptionId); expect(data.appInfo.descriptionResource.id).assertEqual(data.appInfo.descriptionId);
expect(data.appInfo.appDistributionType).assertEqual("os_integration"); expect(data.appInfo.appDistributionType).assertEqual("os_integration");
expect(data.appInfo.appProvisionType).assertEqual("release"); expect(data.appInfo.appProvisionType).assertEqual("release");
expect(data.appInfo.systemApp).assertFalse();
expect(JSON.stringify(data.appInfo.metadata)).assertEqual("{}"); expect(JSON.stringify(data.appInfo.metadata)).assertEqual("{}");
console.info("checkCommonApplicationInfo end"); console.info("checkCommonApplicationInfo end");
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册