Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Unified Diff: ios/chrome/browser/ui/dialogs/nsurl_protection_space_util_unittest.mm

Issue 2849713003: Move all Page Info strings into page_info_strings.grdp (Closed)
Patch Set: Fix moar. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/ui/dialogs/nsurl_protection_space_util_unittest.mm
diff --git a/ios/chrome/browser/ui/dialogs/nsurl_protection_space_util_unittest.mm b/ios/chrome/browser/ui/dialogs/nsurl_protection_space_util_unittest.mm
index b080d509024e55fbf027dc0c1340205ce718286a..e565270a3c71c069f57e5cd25fd51fc699c705d3 100644
--- a/ios/chrome/browser/ui/dialogs/nsurl_protection_space_util_unittest.mm
+++ b/ios/chrome/browser/ui/dialogs/nsurl_protection_space_util_unittest.mm
@@ -87,7 +87,7 @@ TEST(NSURLProtectionSpaceUtilTest, ShowForSocksProxy) {
IDS_LOGIN_DIALOG_PROXY_AUTHORITY,
base::SysNSStringToUTF16(kTestHost)),
l10n_util::GetNSString(
- IDS_PAGE_INFO_NON_SECURE_TRANSPORT)];
+ IDS_PAGE_INFO_NOT_SECURE_SUMMARY)];
EXPECT_NSEQ(expectedText, MessageForHTTPAuth(protectionSpace));
}
@@ -108,7 +108,7 @@ TEST(NSURLProtectionSpaceUtilTest, ShowForHttpProxy) {
IDS_LOGIN_DIALOG_PROXY_AUTHORITY,
base::SysNSStringToUTF16(kTestHttpOrigin)),
l10n_util::GetNSString(
- IDS_PAGE_INFO_NON_SECURE_TRANSPORT)];
+ IDS_PAGE_INFO_NOT_SECURE_SUMMARY)];
EXPECT_NSEQ(expectedText, MessageForHTTPAuth(protectionSpace));
}
@@ -132,7 +132,7 @@ TEST(NSURLProtectionSpaceUtilTest, ShowForHttpsProxy) {
IDS_LOGIN_DIALOG_PROXY_AUTHORITY,
base::SysNSStringToUTF16(kTestHttpsOrigin)),
l10n_util::GetNSString(
- IDS_PAGE_INFO_NON_SECURE_TRANSPORT)];
+ IDS_PAGE_INFO_NOT_SECURE_SUMMARY)];
} else {
// Expecting the following text:
// The proxy https://chromium.org:80 requires a username and password.
@@ -158,7 +158,7 @@ TEST(NSURLProtectionSpaceUtilTest, ShowForHttpServer) {
IDS_LOGIN_DIALOG_AUTHORITY,
base::SysNSStringToUTF16(kTestHttpOrigin)),
l10n_util::GetNSString(
- IDS_PAGE_INFO_NON_SECURE_TRANSPORT)];
+ IDS_PAGE_INFO_NOT_SECURE_SUMMARY)];
EXPECT_NSEQ(expectedText, MessageForHTTPAuth(protectionSpace));
}
« no previous file with comments | « ios/chrome/browser/ui/dialogs/nsurl_protection_space_util.mm ('k') | ios/chrome/browser/ui/omnibox/page_info_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698