Searched refs:LONG_KEY (Results 1 - 2 of 2) sorted by relevance
/foundation/distributeddatamgr/preferences/test/native/unittest/ |
H A D | preferences_test.cpp | 38 const std::string LONG_KEY = std::string(Preferences::MAX_KEY_LENGTH, std::toupper('a')); member 211 bool ret = pref->HasKey(LONG_KEY + 'x'); in HWTEST_F() 254 bool ret = pref->GetBool(LONG_KEY + 'x', true); in HWTEST_F() 280 float ret = pref->GetFloat(LONG_KEY + 'x', 3.0f); in HWTEST_F() 306 int ret = pref->GetInt(LONG_KEY + 'x', 35); in HWTEST_F() 332 int64_t ret = pref->GetLong(LONG_KEY + 'x', 35L); in HWTEST_F() 358 std::string ret = pref->GetString(LONG_KEY + 'x', "test"); in HWTEST_F() 409 pref->PutBool(LONG_KEY + 'x', true); in HWTEST_F() 413 bool ret = pref->GetBool(LONG_KEY + 'x', false); in HWTEST_F() 418 pref->PutBool(LONG_KEY, tru in HWTEST_F() [all...] |
/foundation/distributeddatamgr/preferences/test/native/fuzztest/preferences_fuzzer/ |
H A D | preferences_fuzzer.cpp | 36 static const std::string LONG_KEY;
member in OHOS::PreferencesFuzzTest 41 const std::string PreferencesFuzzTest::LONG_KEY = std::string(Preferences::MAX_KEY_LENGTH, std::toupper('a'));
member in OHOS::PreferencesFuzzTest
|
Completed in 2 milliseconds