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

!6330 【包管理子系统 monthly_20221018】新增ExtensionAbilityType枚举值断言

Merge pull request !6330 from ry/cherry-pick-1667384795
...@@ -712,6 +712,8 @@ export default function getBundleInfoForSelf() { ...@@ -712,6 +712,8 @@ export default function getBundleInfoForSelf() {
expect(data.permissionGrantStates.length).assertEqual(0); expect(data.permissionGrantStates.length).assertEqual(0);
expect(data.signatureInfo).assertEqual(null); expect(data.signatureInfo).assertEqual(null);
expect(err).assertEqual(null); expect(err).assertEqual(null);
expect(bundle.ExtensionAbilityType.SERVICE).assertEqual(3);
expect(bundle.ExtensionAbilityType.DATA_SHARE).assertEqual(5);
expect(bundle.ExtensionAbilityType.UNSPECIFIED).assertEqual(255); expect(bundle.ExtensionAbilityType.UNSPECIFIED).assertEqual(255);
done(); done();
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册