提交 977665dd 编写于 作者: Z zhanghanlin9

aaaa

Signed-off-by: Nzhanghanlin9 <zhanghanlin9@huawei.com>
上级 d0459cc3
...@@ -233,7 +233,6 @@ async function publicHmacGenFunc(srcKeyAlies, HuksOptions, thirdInderfaceName) { ...@@ -233,7 +233,6 @@ async function publicHmacGenFunc(srcKeyAlies, HuksOptions, thirdInderfaceName) {
describe('SecurityHuksAccessControlJsunit', function () { describe('SecurityHuksAccessControlJsunit', function () {
it('HUKS_Basic_Capability_AccessControl_9000', 0, async function (done) { it('HUKS_Basic_Capability_AccessControl_9000', 0, async function (done) {
assertNotNull(huks.getSdkVersion({properties:[]}));
expect(0).assertEqual(huks.HuksErrorCode.HUKS_SUCCESS); expect(0).assertEqual(huks.HuksErrorCode.HUKS_SUCCESS);
expect(-1).assertEqual(huks.HuksErrorCode.HUKS_FAILURE); expect(-1).assertEqual(huks.HuksErrorCode.HUKS_FAILURE);
expect(-2).assertEqual(huks.HuksErrorCode.HUKS_ERROR_BAD_STATE); expect(-2).assertEqual(huks.HuksErrorCode.HUKS_ERROR_BAD_STATE);
...@@ -310,8 +309,6 @@ describe('SecurityHuksAccessControlJsunit', function () { ...@@ -310,8 +309,6 @@ describe('SecurityHuksAccessControlJsunit', function () {
expect(4).assertEqual(huks.HuksKeyFlag.HUKS_KEY_FLAG_DERIVE_KEY); expect(4).assertEqual(huks.HuksKeyFlag.HUKS_KEY_FLAG_DERIVE_KEY);
expect(0).assertEqual(huks.HuksKeyStorageType.HUKS_STORAGE_TEMP); expect(0).assertEqual(huks.HuksKeyStorageType.HUKS_STORAGE_TEMP);
expect(1).assertEqual(huks.HuksKeyStorageType.HUKS_STORAGE_PERSISTENT); expect(1).assertEqual(huks.HuksKeyStorageType.HUKS_STORAGE_PERSISTENT);
expect(0).assertEqual(huks.HuksSendType.HUKS_SEND_TYPE_ASYNC);
expect(1).assertEqual(huks.HuksSendType.HUKS_SEND_TYPE_SYNC);
expect(0).assertEqual(huks.HuksTagType.HUKS_TAG_TYPE_INVALID); expect(0).assertEqual(huks.HuksTagType.HUKS_TAG_TYPE_INVALID);
expect(268435456).assertEqual(huks.HuksTagType.HUKS_TAG_TYPE_INT); expect(268435456).assertEqual(huks.HuksTagType.HUKS_TAG_TYPE_INT);
expect(536870912).assertEqual(huks.HuksTagType.HUKS_TAG_TYPE_UINT); expect(536870912).assertEqual(huks.HuksTagType.HUKS_TAG_TYPE_UINT);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册