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

!7098 修改一个错误

Merge pull request !7098 from 伞木希美/monthly_20221018
......@@ -84,7 +84,7 @@ HWTEST_F(HksOthersTest, HksOthersTest002, TestSize.Level1)
HWTEST_F(HksOthersTest, HksOthersTest003, TestSize.Level1)
{
int32_t ret = HksAttestKey(NULL, NULL, NULL);
ASSERT_TRUE(ret == HKS_ERROR_NOT_SUPPORTED);
ASSERT_TRUE(ret == HKS_ERROR_API_NOT_SUPPORTED);
}
/**
......@@ -95,7 +95,7 @@ HWTEST_F(HksOthersTest, HksOthersTest003, TestSize.Level1)
HWTEST_F(HksOthersTest, HksOthersTest004, TestSize.Level1)
{
int32_t ret = HksGetCertificateChain(NULL, NULL, NULL);
ASSERT_TRUE(ret == HKS_ERROR_NOT_SUPPORTED);
ASSERT_TRUE(ret == HKS_ERROR_API_NOT_SUPPORTED);
}
/**
......@@ -106,7 +106,7 @@ HWTEST_F(HksOthersTest, HksOthersTest004, TestSize.Level1)
HWTEST_F(HksOthersTest, HksOthersTest005, TestSize.Level1)
{
int32_t ret = HksWrapKey(NULL, NULL, NULL, NULL);
ASSERT_TRUE(ret == HKS_ERROR_NOT_SUPPORTED);
ASSERT_TRUE(ret == HKS_ERROR_API_NOT_SUPPORTED);
}
/**
......@@ -117,7 +117,7 @@ HWTEST_F(HksOthersTest, HksOthersTest005, TestSize.Level1)
HWTEST_F(HksOthersTest, HksOthersTest006, TestSize.Level1)
{
int32_t ret = HksUnwrapKey(NULL, NULL, NULL, NULL);
ASSERT_TRUE(ret == HKS_ERROR_NOT_SUPPORTED);
ASSERT_TRUE(ret == HKS_ERROR_API_NOT_SUPPORTED);
}
/**
......
......@@ -102,7 +102,7 @@ static void ExcHksOthersTest003(void const *argument)
{
LiteTestPrint("HksOthersTest003 Begin!\n");
int32_t ret = HksAttestKey(NULL, NULL, NULL);
TEST_ASSERT_TRUE(ret == HKS_ERROR_NOT_SUPPORTED);
TEST_ASSERT_TRUE(ret == HKS_ERROR_API_NOT_SUPPORTED);
LiteTestPrint("HksOthersTest003 End!\n");
osThreadExit();
}
......@@ -111,7 +111,7 @@ static void ExcHksOthersTest004(void const *argument)
{
LiteTestPrint("HksOthersTest004 Begin!\n");
int32_t ret = HksGetCertificateChain(NULL, NULL, NULL);
TEST_ASSERT_TRUE(ret == HKS_ERROR_NOT_SUPPORTED);
TEST_ASSERT_TRUE(ret == HKS_ERROR_API_NOT_SUPPORTED);
LiteTestPrint("HksOthersTest004 End!\n");
osThreadExit();
}
......@@ -120,7 +120,7 @@ static void ExcHksOthersTest005(void const *argument)
{
LiteTestPrint("HksOthersTest005 Begin!\n");
int32_t ret = HksGetCertificateChain(NULL, NULL, NULL);
TEST_ASSERT_TRUE(ret == HKS_ERROR_NOT_SUPPORTED);
TEST_ASSERT_TRUE(ret == HKS_ERROR_API_NOT_SUPPORTED);
LiteTestPrint("HksOthersTest005 End!\n");
osThreadExit();
}
......@@ -129,7 +129,7 @@ static void ExcHksOthersTest006(void const *argument)
{
LiteTestPrint("HksOthersTest006 Begin!\n");
int32_t ret = HksUnwrapKey(NULL, NULL, NULL, NULL);
TEST_ASSERT_TRUE(ret == HKS_ERROR_NOT_SUPPORTED);
TEST_ASSERT_TRUE(ret == HKS_ERROR_API_NOT_SUPPORTED);
LiteTestPrint("HksOthersTest006 End!\n");
osThreadExit();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册