Home
last modified time | relevance | path

Searched refs:emptyStr (Results 1 – 5 of 5) sorted by relevance

/base/update/updater/test/unittest/utils/
Dutils_unittest.cpp39 string emptyStr = Utils::Trim(""); variable
40 EXPECT_STREQ(emptyStr.c_str(), "");
41 emptyStr = Utils::Trim(" ");
42 EXPECT_STREQ(emptyStr.c_str(), "");
43 emptyStr = Utils::Trim("aa ");
44 EXPECT_STREQ(emptyStr.c_str(), "aa");
/base/security/security_component_manager/interfaces/inner_api/security_component/test/unittest/src/
Dsec_comp_kit_test.cpp38 std::string emptyStr = ""; in TestInCallerNotCheckList() local
39 int registerRes = SecCompKit::RegisterSecurityComponent(LOCATION_COMPONENT, emptyStr, scId); in TestInCallerNotCheckList()
40 int updateRes = SecCompKit::UpdateSecurityComponent(scId, emptyStr); in TestInCallerNotCheckList()
41 int reportRes = SecCompKit::ReportSecurityComponentClickEvent(scId, emptyStr, touch, nullptr); in TestInCallerNotCheckList()
52 std::string emptyStr = ""; in TestInCallerCheckList() local
53 int registerRes = SecCompKit::RegisterSecurityComponent(LOCATION_COMPONENT, emptyStr, scId); in TestInCallerCheckList()
54 int updateRes = SecCompKit::UpdateSecurityComponent(scId, emptyStr); in TestInCallerCheckList()
55 int reportRes = SecCompKit::ReportSecurityComponentClickEvent(scId, emptyStr, touch, nullptr); in TestInCallerCheckList()
/base/update/updater/services/ui/language/
Dlanguage_ui.cpp134 static std::string emptyStr; in Translate() local
141 return emptyStr; in Translate()
/base/telephony/call_manager/test/unittest/call_manager_gtest/src/
Dzero_branch_test.cpp170 std::string emptyStr = ""; variable
174 …elayedSingleton<CallNumberUtils>::GetInstance()->FormatPhoneNumber(emptyStr, emptyStr, formatNumbe…
176 …dSingleton<CallNumberUtils>::GetInstance()->FormatPhoneNumber(phoneNumber, emptyStr, formatNumber),
182 …Singleton<CallNumberUtils>::GetInstance()->FormatPhoneNumberToE164(emptyStr, emptyStr, formatNumbe…
185 …eton<CallNumberUtils>::GetInstance()->FormatPhoneNumberToE164(phoneNumber, emptyStr, formatNumber),
/base/telephony/core_service/test/unittest/core_service_gtest/
Dzero_branch_test.cpp260 const std::u16string emptyStr = Str8ToStr16(""); variable