Home
last modified time | relevance | path

Searched refs:resStr (Results 1 - 8 of 8) sorted by relevance

/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dnotification_preferences_info_test.cpp50 std::string resStr(res); in HWTEST_F()
51 ASSERT_EQ(resStr, "Social_communication"); in HWTEST_F()
54 resStr = res; in HWTEST_F()
55 ASSERT_EQ(resStr, "Service_reminder"); in HWTEST_F()
58 resStr = res; in HWTEST_F()
59 ASSERT_EQ(resStr, "Content_information"); in HWTEST_F()
62 resStr = res; in HWTEST_F()
63 ASSERT_EQ(resStr, "Other"); in HWTEST_F()
66 resStr = res; in HWTEST_F()
67 ASSERT_EQ(resStr, "Custo in HWTEST_F()
[all...]
/base/hiviewdfx/faultloggerd/test/unittest/common/
H A Dcommon_test.cpp120 std::string resStr; in HWTEST_F() local
121 bool ret = TrimAndDupStr(testStr, resStr); in HWTEST_F()
123 ASSERT_EQ(resStr, "abcd"); in HWTEST_F()
/base/telephony/core_service/test/unittest/esim_gtest/
H A Desim_file_manager_test.cpp131 std::u16string resStr = simFileManager.GetSmdsAddress(portIndex); in HWTEST_F() local
132 EXPECT_EQ(resStr, u""); in HWTEST_F()
134 resStr = simFileManager.GetSmdsAddress(portIndex); in HWTEST_F()
135 EXPECT_EQ(resStr, u""); in HWTEST_F()
187 std::u16string resStr = simFileManager.GetDefaultSmdpAddress(); in HWTEST_F() local
188 EXPECT_EQ(resStr, u""); in HWTEST_F()
190 resStr = simFileManager.GetDefaultSmdpAddress(); in HWTEST_F()
191 EXPECT_EQ(resStr, u""); in HWTEST_F()
/base/account/os_account/services/accountmgr/test/unittest/os_account/
H A Dos_account_inner_account_mgr_mock.cpp567 std::string resStr; in HWTEST_F() local
568 EXPECT_EQ(ERR_OK, innerMgrService_->GetOsAccountShortName(id, resStr)); in HWTEST_F()
569 EXPECT_EQ("AccountStatusTest001ShortName", resStr); in HWTEST_F()
570 EXPECT_EQ(ERR_OK, innerMgrService_->GetOsAccountName(id, resStr)); in HWTEST_F()
571 EXPECT_EQ("AccountStatusTest001", resStr); in HWTEST_F()
572 EXPECT_EQ(ERR_OK, innerMgrService_->GetOsAccountProfilePhoto(id, resStr)); in HWTEST_F()
573 EXPECT_EQ("test photo", resStr); in HWTEST_F()
/base/security/access_token/interfaces/kits/cj/accesstoken/src/
H A Dat_manager_impl.cpp827 std::string resStr(value); in GetPermParamValue()
828 g_paramCache.sysParamCache = resStr; in GetPermParamValue()
/base/security/certificate_framework/test/unittest/v1.0/src/
H A Dcrypto_x509_crl_test.cpp245 const char *resStr = x509Crl->base.getType(reinterpret_cast<HcfCrl *>(x509Crl)); in HWTEST_F() local
246 EXPECT_STREQ(resStr, "X509"); in HWTEST_F()
259 const char *resStr = x509Crl->base.getType(nullptr); in HWTEST_F() local
260 EXPECT_EQ(resStr, nullptr); in HWTEST_F()
/base/global/i18n/interfaces/js/kits/src/
H A Di18n_addon.cpp868 std::string resStr = obj->phonenumberfmt_->getLocationName(number.data(), language.data()); in GetLocationName() local
870 status = napi_create_string_utf8(env, resStr.c_str(), NAPI_AUTO_LENGTH, &result); in GetLocationName()
/base/security/access_token/frameworks/js/napi/accesstoken/src/
H A Dnapi_atmanager.cpp557 std::string resStr(value); in GetPermParamValue()
558 g_paramCache.sysParamCache = resStr; in GetPermParamValue()

Completed in 15 milliseconds