Home
last modified time | relevance | path

Searched refs:testValue (Results 1 – 25 of 62) sorted by relevance

123

/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/
H A Dcontext_deal_interface1_test.cpp66 contextDeal->SetColorMode(testValue);
126 int testValue = 1; variable
134 contextDeal->SetTheme(testValue);
146 int testValue = 1; variable
149 contextDeal->SetTheme(testValue);
205 const std::string testValue = ""; variable
223 int testValue = 0; variable
244 int testValue = 0; variable
361 uint32_t testValue = 1; variable
380 uint32_t testValue = 1; variable
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Dability_context_interface1_test.cpp66 int testValue = 1; variable
81 int testValue = 0; variable
98 int testValue = 1; variable
113 int testValue = 0; variable
127 int testValue = 1; variable
149 int testValue = 2; variable
212 int testValue = 0; variable
235 int testValue = 0; variable
380 uint32_t testValue = 1; variable
401 uint32_t testValue = 1; variable
[all …]
/ohos5.0/foundation/communication/netstack/test/unittest/http/
H A DHttpRequestOptionsTest.cpp197 std::string testValue = "Example"; variable
198 requestOptions.SetUrl(testValue);
200 EXPECT_EQ(url, testValue);
207 uint32_t testValue = 2; variable
210 EXPECT_EQ(resultValue, testValue);
220 EXPECT_EQ(resultValue, testValue);
267 uint32_t testValue = 50; variable
270 EXPECT_EQ(resultValue, testValue);
277 uint32_t testValue = 5000; variable
287 uint32_t testValue = 5000; variable
[all …]
/ohos5.0/base/telephony/sms_mms/test/gtest/
H A Dzero_branch_cdma_sms_test.cpp753 v1.addrLen = testValue;
789 v1.addrLen = testValue;
823 uint8_t v1 = testValue;
858 v1.type = testValue;
930 uint8_t v1 = testValue;
990 v1.msgId = testValue;
1116 v1.month = testValue;
1215 auto testValue = true; variable
1218 v1.dak = testValue;
1320 v1.addrLen = testValue;
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/render_context/
H A Dcache_data_test.cpp244 const char *testValue = "aVal"; variable
245 cacheData->Rewrite(testKey1, 4, testValue, 4);
246 cacheData->Rewrite(testKey2, 4, testValue, 4);
247 cacheData->Rewrite(testKey3, 4, testValue, 4);
248 cacheData->Rewrite(testKey4, 4, testValue, 4);
281 const char *testValue = "aVal"; variable
282 cacheData->Rewrite(testKey1, 4, testValue, 4);
283 cacheData->Rewrite(testKey2, 4, testValue, 4);
/ohos5.0/foundation/arkui/napi/test/unittest/
H A Dtest_napi_ext.cpp203 uint64_t testValue = UINT64_MAX; variable
222 ASSERT_EQ(resultValue, testValue);
233 ASSERT_EQ(resultValue, testValue);
243 int64_t testValue = INT64_MAX; variable
255 int64_t testValue = 9007199254740991; variable
262 ASSERT_EQ(resultValue, testValue);
266 int64_t testValue = -1; variable
273 ASSERT_EQ(resultValue, testValue);
586 static bool testValue = false; variable
591 testValue = true; in __anon7f33334f0402()
[all …]
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/services/uiservice/test/unittest/phone/ui_mgr_service_test/
H A Dui_mgr_service_test.cpp56 const UIServiceRunningState testValue = UIServiceRunningState::STATE_NOT_START; variable
59 EXPECT_EQ(testValue, uiMgrService->QueryServiceState());
91 const UIServiceRunningState testValue = UIServiceRunningState::STATE_RUNNING; variable
95 EXPECT_EQ(testValue, uiMgrService->QueryServiceState());
206 const UIServiceRunningState testValue = UIServiceRunningState::STATE_NOT_START; variable
210 EXPECT_EQ(testValue, uiMgrService->QueryServiceState());
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/kvstoreresultset_fuzzer/
H A Dkvstoreresultset_fuzzer.cpp43 Value testValue; in ResultSetFuzzer() local
46 testValue.clear(); in ResultSetFuzzer()
48 testValue.push_back(data[i]); in ResultSetFuzzer()
49 kvNbDelegatePtr->Put(testKey, testValue); in ResultSetFuzzer()
/ohos5.0/foundation/window/window_manager/wmserver/test/unittest/
H A Dwindow_node_test.cpp270 Rect testValue = { 10, 10, 255, 255 }; variable
271 windowNode->SetEntireWindowTouchHotArea(testValue);
761 windowNode->SetWindowSizeLimits(testValue);
764 ASSERT_EQ(testValue.minWidth_, resultValue.minWidth_);
766 ASSERT_EQ(testValue.minRatio_, resultValue.minRatio_);
767 ASSERT_EQ(testValue.maxWidth_, resultValue.maxWidth_);
769 ASSERT_EQ(testValue.maxRatio_, resultValue.maxRatio_);
793 windowNode->SetWindowUpdatedSizeLimits(testValue);
796 ASSERT_EQ(testValue.minWidth_, resultValue.minWidth_);
798 ASSERT_EQ(testValue.minRatio_, resultValue.minRatio_);
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/indexer/
H A Dindexer_test_ng.cpp180 for (auto testValue : testValues) { variable
182 model.SetEnableHapticFeedback(testValue);
184 EXPECT_EQ(pattern_->enableHapticFeedback_, testValue);
186 auto value = indexerLayoutProperty->GetEnableHapticFeedback().value_or(!testValue);
187 EXPECT_EQ(value, testValue);
/ohos5.0/base/hiviewdfx/hisysevent/test/moduletest/common/
H A Dhisysevent_manager_c_test.cpp188 int64_t testValue = 0; in RecordParamIntValueTest() local
191 ASSERT_EQ(testValue, value); in RecordParamIntValueTest()
196 uint64_t testValue = 0; in RecordParamUintValueTest() local
199 ASSERT_EQ(testValue, value); in RecordParamUintValueTest()
204 double testValue = 0; in RecordParamDouValueTest() local
207 ASSERT_EQ(testValue, value); in RecordParamDouValueTest()
212 char* testValue = nullptr; in RecordParamStrValueTest() local
284 int64_t testValue = 0; in RecordParamIntValueInvalidTest() local
291 uint64_t testValue = 0; in RecordParamUintValueInvalidTest() local
298 double testValue = 0; in RecordParamDouValueInvalidTest() local
[all …]
/ohos5.0/base/account/os_account/test/fuzztest/appaccount/createaccountimplicitly_fuzzer/
H A Dcreateaccountimplicitly_fuzzer.cpp55 std::string testValue(fuzzData.GenerateRandomString()); in CreateAccountImplicitlyFuzzTest() local
57 options.authType = testValue; in CreateAccountImplicitlyFuzzTest()
58 options.requiredLabels.emplace_back(testValue); in CreateAccountImplicitlyFuzzTest()
/ohos5.0/base/security/access_token/services/common/database/test/unittest/
H A Ddatabase_test.cpp85 int64_t testValue = 1; variable
86 VariantValue Test(testValue);
89 EXPECT_EQ(outdata.GetInt64(), testValue);
104 int64_t testValue = 1; variable
105 VariantValue Test(testValue);
106 EXPECT_EQ(Test.GetInt64(), testValue);
120 int64_t testValue = 1; variable
121 VariantValue Test(testValue);
/ohos5.0/base/account/os_account/test/fuzztest/appaccount/selectaccountsbyoptions_fuzzer/
H A Dselectaccountsbyoptions_fuzzer.cpp57 std::string testValue(fuzzData.GenerateRandomString()); in SelectAccountsByOptionsFuzzTest() local
62 options.allowedOwners.emplace_back(testValue); in SelectAccountsByOptionsFuzzTest()
63 options.requiredLabels.emplace_back(testValue); in SelectAccountsByOptionsFuzzTest()
/ohos5.0/base/account/os_account/test/fuzztest/appaccount/verifycredential_fuzzer/
H A Dverifycredential_fuzzer.cpp56 std::string testValue(fuzzData.GenerateRandomString()); in VerifyCredentialFuzzTest() local
58 options.credentialType = testValue; in VerifyCredentialFuzzTest()
59 options.credential = testValue; in VerifyCredentialFuzzTest()
/ohos5.0/base/account/os_account/test/fuzztest/appaccount_stub/selectaccountsbyoptionsstub_fuzzer/
H A Dselectaccountsbyoptionsstub_fuzzer.cpp44 std::string testValue = fuzzData.GenerateRandomString(); in SelectAccountsByOptionsStubFuzzTest() local
49 options.allowedOwners.emplace_back(testValue); in SelectAccountsByOptionsStubFuzzTest()
50 options.requiredLabels.emplace_back(testValue); in SelectAccountsByOptionsStubFuzzTest()
/ohos5.0/base/account/os_account/test/fuzztest/appaccount_stub/verifycredentialstub_fuzzer/
H A Dverifycredentialstub_fuzzer.cpp46 std::string testValue = fuzzData.GenerateRandomString(); in VerifyCredentialStubFuzzTest() local
48 options.credentialType = testValue; in VerifyCredentialStubFuzzTest()
49 options.credential = testValue; in VerifyCredentialStubFuzzTest()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_resultset_performance.cpp58 Value testValue; in InitResultSet() local
61 testValue.clear(); in InitResultSet()
66 DistributedDBToolsUnitTest::GetRandomKeyValue(testValue, ENTRY_VALUE_SIZE); in InitResultSet()
70 EXPECT_EQ(g_kvNbDelegatePtr->Put(testKey, testValue), OK); in InitResultSet()
H A Ddistributeddb_interfaces_query_test.cpp152 std::string testValue = "testValue"; variable
153 Query query7 = Query::Select().Like(TEST_FIELD_NAME, testValue);
154 … std::list<QueryObjNode> result = CreateCheckList(QueryObjType::LIKE, TEST_FIELD_NAME, testValue);
159 result = CreateCheckList(QueryObjType::NOT_LIKE, TEST_FIELD_NAME, testValue);
201 float testValue = 1.1; variable
202 Query query = Query::Select().NotEqualTo(".test", testValue);
/ohos5.0/base/startup/init/test/moduletest/
H A Dsyspara_moduleTest.cpp108 string testValue = system::GetParameter(key, ""); in ParamSetFun() local
109 EXPECT_STREQ(testValue.c_str(), value.c_str()); in ParamSetFun()
224 string testValue = system::GetParameter(key, ""); variable
225 EXPECT_STREQ(testValue.c_str(), value.c_str());
227 testValue = system::GetParameter("test.param.set.002", "aaa.aaa.aaa");
228 EXPECT_STREQ(testValue.c_str(), "aaa.aaa.aaa");
229 testValue = system::GetParameter("test.param.set.003", "");
230 EXPECT_STREQ(testValue.c_str(), "");
/ohos5.0/base/account/os_account/test/fuzztest/appaccount/getassociateddata_fuzzer/
H A Dgetassociateddata_fuzzer.cpp36 std::string testValue(fuzzData.GenerateRandomString()); in GetAssociatedDataFuzzTest() local
37 result = AppAccountManager::GetAssociatedData(testName, testKey, testValue); in GetAssociatedDataFuzzTest()
/ohos5.0/base/account/os_account/test/fuzztest/appaccount/setassociateddata_fuzzer/
H A Dsetassociateddata_fuzzer.cpp35 std::string testValue(fuzzData.GenerateRandomString()); in SetAssociatedDataFuzzTest() local
36 result = AppAccountManager::SetAssociatedData(testName, testKey, testValue); in SetAssociatedDataFuzzTest()
/ohos5.0/base/account/os_account/test/fuzztest/appaccount/createaccount_fuzzer/
H A Dcreateaccount_fuzzer.cpp36 std::string testValue(fuzzData.GenerateRandomString()); in CreateAccountFuzzTest() local
38 options.customData[testKey] = testValue; in CreateAccountFuzzTest()
/ohos5.0/base/account/os_account/test/fuzztest/appaccount/getauthlist_fuzzer/
H A Dgetauthlist_fuzzer.cpp36 std::string testValue(fuzzData.GenerateRandomString()); in GetAuthListFuzzTest() local
38 oauthList.insert(testValue); in GetAuthListFuzzTest()
/ohos5.0/base/account/os_account/test/fuzztest/appaccount/getoauthlist_fuzzer/
H A Dgetoauthlist_fuzzer.cpp37 std::string testValue(fuzzData.GenerateRandomString()); in GetOAuthListFuzzTest() local
39 oauthList.insert(testValue); in GetOAuthListFuzzTest()

123