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

!3963 枚举值

Merge pull request !3963 from yuanyuhang/addd
......@@ -435,4 +435,12 @@ describe('SecurityHuksAccessControlJsunit', function () {
await deleteKeyFunc(srcKeyAlias, HuksOptions);
done();
});
it('HUKS_Basic_Capability_AccessControl_9000', 0, async function (done) {
expect(-126).assertEqual(huks.HuksErrorCode.HUKS_ERROR_INVALID_WRAPPED_FORMAT);
expect(-127).assertEqual(huks.HuksErrorCode.HUKS_ERROR_INVALID_USAGE_OF_KEY);
expect(0).assertEqual(huks.HuksImportKeyType.HUKS_KEY_TYPE_PUBLIC_KEY);
expect(1).assertEqual(huks.HuksImportKeyType.HUKS_KEY_TYPE_PRIVATE_KEY);
done();
});
});
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册