未验证 提交 2006ccb7 编写于 作者: 伞木希美 提交者: Gitee

删除冗余枚举

Signed-off-by: N伞木希美 <zhanghanlin9@huawei.com>
上级 4c58eaf1
......@@ -549,19 +549,6 @@ export function SecurityHuksAccessControlJsunit() {
expect(-38).assertEqual(
huks.HuksErrorCode.HUKS_ERROR_VERIFICATION_FAILED
);
expect(-40).assertEqual(
huks.HuksErrorCode.HUKS_ERROR_GET_USERIAM_SECINFO_FAILED
);
expect(-41).assertEqual(
huks.HuksErrorCode.HUKS_ERROR_GET_USERIAM_AUTHINFO_FAILED
);
expect(-42).assertEqual(
huks.HuksErrorCode.HUKS_ERROR_USER_AUTH_TYPE_NOT_SUPPORT
);
expect(-43).assertEqual(huks.HuksErrorCode.HUKS_ERROR_KEY_AUTH_FAILED);
expect(-44).assertEqual(
huks.HuksErrorCode.HUKS_ERROR_DEVICE_NO_CREDENTIAL
);
expect(-100).assertEqual(
huks.HuksErrorCode.HUKS_ERROR_CHECK_GET_ALG_FAIL
);
......@@ -612,12 +599,6 @@ export function SecurityHuksAccessControlJsunit() {
expect(-123).assertEqual(huks.HuksErrorCode.HUKS_ERROR_INVALID_SALT);
expect(-124).assertEqual(huks.HuksErrorCode.HUKS_ERROR_INVALID_ITERATION);
expect(-125).assertEqual(huks.HuksErrorCode.HUKS_ERROR_INVALID_OPERATION);
expect(-126).assertEqual(
huks.HuksErrorCode.HUKS_ERROR_INVALID_WRAPPED_FORMAT
);
expect(-127).assertEqual(
huks.HuksErrorCode.HUKS_ERROR_INVALID_USAGE_OF_KEY
);
expect(-999).assertEqual(huks.HuksErrorCode.HUKS_ERROR_INTERNAL_ERROR);
expect(-1000).assertEqual(huks.HuksErrorCode.HUKS_ERROR_UNKNOWN_ERROR);
expect(1).assertEqual(huks.HuksKeyPurpose.HUKS_KEY_PURPOSE_ENCRYPT);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册