提交 bb284cbe 编写于 作者: 耿文广

新增校验fingerprint字段的XTS用例

Signed-off-by: N耿文广 <gengwenguang@huawei.com>
上级 8bc5346c
...@@ -413,7 +413,7 @@ export default function applicationBundleJsunit() { ...@@ -413,7 +413,7 @@ export default function applicationBundleJsunit() {
Bundle.getApplicationInfo(BUNDLE_NAME, Bundle.getApplicationInfo(BUNDLE_NAME,
Bundle.BundleFlag.GET_APPLICATION_INFO_WITH_CERTIFICATE_FINGERPRINT, (error, data) => { Bundle.BundleFlag.GET_APPLICATION_INFO_WITH_CERTIFICATE_FINGERPRINT, (error, data) => {
expect(data.fingerprint).assertEqual(TEST_DEMO); expect(data.fingerprint).assertEqual(TEST_DEMO);
expect(error).assertEqual(1); expect(error).assertEqual(0);
done(); done();
}); });
}); });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册