Home
last modified time | relevance | path

Searched refs:expectResult (Results 1 – 24 of 24) sorted by relevance

/test/xts/acts/security_lite/huks/common/include/
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
[all …]
/test/xts/acts/security_lite/huks/liteos_a_adapter/
Dhks_exist_test.cpp75 HKS_TEST_ASSERT(ret == g_testKeyExistParams[0].expectResult);
85 if (ret != g_testKeyExistParams[0].expectResult) {
88 HKS_TEST_ASSERT(ret == g_testKeyExistParams[0].expectResult);
Dhks_generate_random_test.cpp79 if (ret != g_testGenRandomParams[0].expectResult) {
82 HKS_TEST_ASSERT(ret == g_testGenRandomParams[0].expectResult);
Dhks_hash_test.cpp102 if (ret != g_testHashParams[0].expectResult) {
105 HKS_TEST_ASSERT(ret == g_testHashParams[0].expectResult);
Dhks_agreement_test.cpp126 ASSERT_TRUE(ret == g_testAgreeParams[0].expectResult);
183 ASSERT_TRUE(ret == g_testAgreeParams[0].expectResult);
186 ASSERT_TRUE(ret == g_testAgreeParams[0].expectResult);
Dhks_generate_key_test.cpp113 if (ret != g_testGenKeyParams[index].expectResult) {
116 HKS_TEST_ASSERT(ret == g_testGenKeyParams[index].expectResult);
Dhks_delete_test.cpp84 HKS_TEST_ASSERT(ret == g_testKeyExistParams[0].expectResult);
Dhks_mac_test.cpp165 if (ret != g_testMacParams[index].expectResult) { in BaseTestMac()
168 HKS_TEST_ASSERT(ret == g_testMacParams[index].expectResult); in BaseTestMac()
Dhks_derive_test.cpp181 if (ret != g_testDeriveParams[index].expectResult) { in BaseTestDerive()
184 HKS_TEST_ASSERT(ret == g_testDeriveParams[index].expectResult); in BaseTestDerive()
Dhks_bn_exp_mod_test.cpp135 HKS_TEST_ASSERT(ret == g_testBnExpModParams[0].expectResult);
/test/xts/acts/security_lite/huks/liteos_m_adapter/
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()
Dhks_generate_random_test.c104 if (ret != g_testGenRandomParams[0].expectResult) { in ExecHksGenerateRandomTest001()
107 TEST_ASSERT_TRUE(ret == g_testGenRandomParams[0].expectResult); in ExecHksGenerateRandomTest001()
Dhks_generate_key_test.c138 if (ret != g_testGenKeyParams[index].expectResult) { in ExecHksGenerateKeyTest001()
141 TEST_ASSERT_TRUE(ret == g_testGenKeyParams[index].expectResult); in ExecHksGenerateKeyTest001()
Dhks_hash_test.c137 if (ret != g_testHashParams[index].expectResult) { in ExecHksHashTestCommon()
140 TEST_ASSERT_TRUE(ret == g_testHashParams[index].expectResult); in ExecHksHashTestCommon()
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()
Dhks_delete_test.c73 HKS_TEST_ASSERT(ret == g_testKeyExistParams[0].expectResult); in ExecHksDeleteTest001()
Dhks_derive_test.c234 if (ret != g_testDeriveParams[index].expectResult) { in BaseTestDerive()
237 TEST_ASSERT_TRUE(ret == g_testDeriveParams[index].expectResult); in BaseTestDerive()
Dhks_mac_test.c337 if (ret != g_testMacParams[index].expectResult) { in BaseTestMac()
340 TEST_ASSERT_TRUE(ret == g_testMacParams[index].expectResult); in BaseTestMac()
Dhks_bn_exp_mod_test.c162 TEST_ASSERT_TRUE(ret == g_testBnExpModParams[0].expectResult); in LITE_TEST_CASE()
/test/xts/acts/ability/ability_runtime/formmanager/stage/actsformprovidergetformsinfo/entry/src/main/ets/test/
DGetFormsInfoTest.test.ets71 var expectResult = Array();
72 expectResult.push(module1FormInfo);
73 expectResult.push(module2FormInfo);
89 checkResultArray(expectResult, value)
121 checkResultArray(expectResult, value);
142 checkResultArray(expectResult, value);
162 checkResultArray(expectResult, value);
182 checkResultArray(expectResult, value);
254 checkResultArray(expectResult, value);
274 checkResultArray(expectResult, value);
[all …]
/test/xts/acts/security_lite/huks/common/
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/
DAbilityMgrTest.cpp292 …const char *expectResult = "#Want;device=0001000;bundle=com.openharmony.testnative;ability=SecondA… variable
293 EXPECT_STREQ(uri, expectResult);
313 const char *expectResult = "#Want;device=;bundle=;ability=;end"; variable
314 EXPECT_STREQ(uri, expectResult);
DAbilityMgrTest2.cpp290 …const char *expectResult = "#Want;device=0001000;bundle=com.openharmony.testnative;ability=SecondA… variable
291 EXPECT_STREQ(uri, expectResult);
311 const char *expectResult = "#Want;device=;bundle=;ability=;end"; variable
312 EXPECT_STREQ(uri, expectResult);
/test/xts/acts/global/crossplatform/intletstest/src/main/ets/test/
Dintl.test.ets1117 const expectResult = iosResult || androidOhResult;
1118 expect(expectResult).assertTrue();