Home
last modified time | relevance | path

Searched refs:expectResult (Results 1 - 22 of 22) sorted by relevance

/test/xts/acts/security_lite/huks/common/include/
H A Dhks_test_common.h178 int32_t expectResult; member
186 int32_t expectResult; member
200 int32_t expectResult; member
212 int32_t expectResult; member
224 int32_t expectResult; member
236 int32_t expectResult; member
247 int32_t expectResult; member
254 int32_t expectResult; member
262 int32_t expectResult; member
268 int32_t expectResult; member
276 int32_t expectResult; global() member
286 int32_t expectResult; global() member
[all...]
/test/xts/acts/security_lite/huks/liteos_a_adapter/
H A Dhks_exist_test.cpp75 HKS_TEST_ASSERT(ret == g_testKeyExistParams[0].expectResult); in HWTEST_F()
85 if (ret != g_testKeyExistParams[0].expectResult) { in HWTEST_F()
88 HKS_TEST_ASSERT(ret == g_testKeyExistParams[0].expectResult); in HWTEST_F()
H A Dhks_generate_random_test.cpp79 if (ret != g_testGenRandomParams[0].expectResult) { in HWTEST_F()
82 HKS_TEST_ASSERT(ret == g_testGenRandomParams[0].expectResult); in HWTEST_F()
H A Dhks_agreement_test.cpp126 ASSERT_TRUE(ret == g_testAgreeParams[0].expectResult); in HWTEST_F()
183 ASSERT_TRUE(ret == g_testAgreeParams[0].expectResult); in HWTEST_F()
186 ASSERT_TRUE(ret == g_testAgreeParams[0].expectResult); in HWTEST_F()
H A Dhks_hash_test.cpp102 if (ret != g_testHashParams[0].expectResult) { in HWTEST_F()
105 HKS_TEST_ASSERT(ret == g_testHashParams[0].expectResult); in HWTEST_F()
H A Dhks_generate_key_test.cpp113 if (ret != g_testGenKeyParams[index].expectResult) { in HWTEST_F()
116 HKS_TEST_ASSERT(ret == g_testGenKeyParams[index].expectResult); in HWTEST_F()
H A Dhks_derive_test.cpp181 if (ret != g_testDeriveParams[index].expectResult) { in BaseTestDerive()
184 HKS_TEST_ASSERT(ret == g_testDeriveParams[index].expectResult); in BaseTestDerive()
H A Dhks_mac_test.cpp165 if (ret != g_testMacParams[index].expectResult) { in BaseTestMac()
168 HKS_TEST_ASSERT(ret == g_testMacParams[index].expectResult); in BaseTestMac()
H A Dhks_delete_test.cpp84 HKS_TEST_ASSERT(ret == g_testKeyExistParams[0].expectResult); in HWTEST_F()
H A Dhks_bn_exp_mod_test.cpp135 HKS_TEST_ASSERT(ret == g_testBnExpModParams[0].expectResult); in HWTEST_F()
/test/xts/acts/security_lite/huks/liteos_m_adapter/
H A Dhks_exist_test.c68 TEST_ASSERT_TRUE(ret == g_testKeyExistParams[0].expectResult); in ExecHksExistTest001()
78 if (ret != g_testKeyExistParams[0].expectResult) { in ExecHksExistTest001()
81 TEST_ASSERT_TRUE(ret == g_testKeyExistParams[0].expectResult); in ExecHksExistTest001()
H A Dhks_generate_random_test.c104 if (ret != g_testGenRandomParams[0].expectResult) { in ExecHksGenerateRandomTest001()
107 TEST_ASSERT_TRUE(ret == g_testGenRandomParams[0].expectResult); in ExecHksGenerateRandomTest001()
H A Dhks_hash_test.c137 if (ret != g_testHashParams[index].expectResult) { in ExecHksHashTestCommon()
140 TEST_ASSERT_TRUE(ret == g_testHashParams[index].expectResult); in ExecHksHashTestCommon()
H A Dhks_generate_key_test.c138 if (ret != g_testGenKeyParams[index].expectResult) { in ExecHksGenerateKeyTest001()
141 TEST_ASSERT_TRUE(ret == g_testGenKeyParams[index].expectResult); in ExecHksGenerateKeyTest001()
H A Dhks_agreement_test.c150 HKS_TEST_ASSERT(ret == g_testAgreeParams[0].expectResult); in ExecHksAgreementTest001()
199 HKS_TEST_ASSERT(ret == g_testAgreeParams[0].expectResult); in ExecHksAgreementTest002()
H A Dhks_derive_test.c234 if (ret != g_testDeriveParams[index].expectResult) { in BaseTestDerive()
237 TEST_ASSERT_TRUE(ret == g_testDeriveParams[index].expectResult); in BaseTestDerive()
H A Dhks_delete_test.c73 HKS_TEST_ASSERT(ret == g_testKeyExistParams[0].expectResult); in ExecHksDeleteTest001()
H A Dhks_mac_test.c337 if (ret != g_testMacParams[index].expectResult) { in BaseTestMac()
340 TEST_ASSERT_TRUE(ret == g_testMacParams[index].expectResult); in BaseTestMac()
H A Dhks_bn_exp_mod_test.c162 TEST_ASSERT_TRUE(ret == g_testBnExpModParams[0].expectResult); in LITE_TEST_CASE()
/test/xts/acts/security_lite/huks/common/
H A Dhks_test_cipher.c660 HKS_TEST_ASSERT(ret == g_testCipherParams[index].expectResult); in BaseTestCipher()
669 HKS_TEST_ASSERT(ret == g_testCipherParams[index].expectResult); in BaseTestCipher()
684 return (ret != g_testCipherParams[index].expectResult); in BaseTestCipher()
724 HKS_TEST_ASSERT(ret == g_testEncryptParams[index].expectResult); in BaseTestEncrypt()
736 return (ret != g_testEncryptParams[index].expectResult); in BaseTestEncrypt()
776 HKS_TEST_ASSERT(ret == g_testDecryptParams[index].expectResult); in BaseTestDecrypt()
788 return (ret != g_testDecryptParams[index].expectResult); in BaseTestDecrypt()
/test/xts/acts/ability_lite/ability_posix/src/
H A DAbilityMgrTest.cpp292 const char *expectResult = "#Want;device=0001000;bundle=com.openharmony.testnative;ability=SecondAbility;end"; in HWTEST_F() local
293 EXPECT_STREQ(uri, expectResult); in HWTEST_F()
313 const char *expectResult = "#Want;device=;bundle=;ability=;end"; in HWTEST_F() local
314 EXPECT_STREQ(uri, expectResult); in HWTEST_F()
H A DAbilityMgrTest2.cpp290 const char *expectResult = "#Want;device=0001000;bundle=com.openharmony.testnative;ability=SecondAbility;end"; in HWTEST_F() local
291 EXPECT_STREQ(uri, expectResult); in HWTEST_F()
311 const char *expectResult = "#Want;device=;bundle=;ability=;end"; in HWTEST_F() local
312 EXPECT_STREQ(uri, expectResult); in HWTEST_F()

Completed in 11 milliseconds