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

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

Issue 2754383004: Rename WebsiteSettings code to PageInfo. (Closed)
Patch Set: Upload missing comment fix for WebSettingsUI -> PageInfoUI. Created 3 years, 9 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
« no previous file with comments | « ios/chrome/browser/ui/dialogs/nsurl_protection_space_util.mm ('k') | tools/metrics/actions/actions.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f89669ab93e843faa9153b7acabd1c6714d7b46f..b080d509024e55fbf027dc0c1340205ce718286a 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
@@ -81,12 +81,13 @@ TEST(NSURLProtectionSpaceUtilTest, ShowForSocksProxy) {
// Expecting the following text:
// The proxy chromium.org requires a username and password.
// Your connection to this site is not private.
- NSString* expectedText = [NSString
- stringWithFormat:@"%@ %@", l10n_util::GetNSStringF(
+ NSString* expectedText =
+ [NSString stringWithFormat:@"%@ %@",
+ l10n_util::GetNSStringF(
IDS_LOGIN_DIALOG_PROXY_AUTHORITY,
base::SysNSStringToUTF16(kTestHost)),
- l10n_util::GetNSString(
- IDS_WEBSITE_SETTINGS_NON_SECURE_TRANSPORT)];
+ l10n_util::GetNSString(
+ IDS_PAGE_INFO_NON_SECURE_TRANSPORT)];
EXPECT_NSEQ(expectedText, MessageForHTTPAuth(protectionSpace));
}
@@ -101,12 +102,13 @@ TEST(NSURLProtectionSpaceUtilTest, ShowForHttpProxy) {
// Expecting the following text:
// The proxy http://chromium.org requires a username and password.
// Your connection to this site is not private.
- NSString* expectedText = [NSString
- stringWithFormat:@"%@ %@", l10n_util::GetNSStringF(
+ NSString* expectedText =
+ [NSString stringWithFormat:@"%@ %@",
+ l10n_util::GetNSStringF(
IDS_LOGIN_DIALOG_PROXY_AUTHORITY,
base::SysNSStringToUTF16(kTestHttpOrigin)),
- l10n_util::GetNSString(
- IDS_WEBSITE_SETTINGS_NON_SECURE_TRANSPORT)];
+ l10n_util::GetNSString(
+ IDS_PAGE_INFO_NON_SECURE_TRANSPORT)];
EXPECT_NSEQ(expectedText, MessageForHTTPAuth(protectionSpace));
}
@@ -130,7 +132,7 @@ TEST(NSURLProtectionSpaceUtilTest, ShowForHttpsProxy) {
IDS_LOGIN_DIALOG_PROXY_AUTHORITY,
base::SysNSStringToUTF16(kTestHttpsOrigin)),
l10n_util::GetNSString(
- IDS_WEBSITE_SETTINGS_NON_SECURE_TRANSPORT)];
+ IDS_PAGE_INFO_NON_SECURE_TRANSPORT)];
} else {
// Expecting the following text:
// The proxy https://chromium.org:80 requires a username and password.
@@ -150,12 +152,13 @@ TEST(NSURLProtectionSpaceUtilTest, ShowForHttpServer) {
// Expecting the following text:
// http://chromium.org requires a username and password.
- NSString* expectedText = [NSString
- stringWithFormat:@"%@ %@", l10n_util::GetNSStringF(
+ NSString* expectedText =
+ [NSString stringWithFormat:@"%@ %@",
+ l10n_util::GetNSStringF(
IDS_LOGIN_DIALOG_AUTHORITY,
base::SysNSStringToUTF16(kTestHttpOrigin)),
- l10n_util::GetNSString(
- IDS_WEBSITE_SETTINGS_NON_SECURE_TRANSPORT)];
+ l10n_util::GetNSString(
+ IDS_PAGE_INFO_NON_SECURE_TRANSPORT)];
EXPECT_NSEQ(expectedText, MessageForHTTPAuth(protectionSpace));
}
« no previous file with comments | « ios/chrome/browser/ui/dialogs/nsurl_protection_space_util.mm ('k') | tools/metrics/actions/actions.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698