提交 45d6a783 编写于 作者: I inter515 提交者: ry

fixed dbe4c746 from https://gitee.com/inter515/xts_acts/pulls/6329

新增ExtensionAbilityType枚举值断言
Signed-off-by: Ninter515 <ry.renyi@huawei.com>
上级 cb4de712
...@@ -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.
先完成此消息的编辑!
想要评论请 注册