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

Unified Diff: components/ssl_errors/error_classification_unittest.cc

Issue 2456643005: Reduce buggy usage of the registry controlled domain service. (Closed)
Patch Set: Fix Created 4 years, 2 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 | « components/ssl_errors/error_classification.cc ('k') | components/url_formatter/url_fixer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ssl_errors/error_classification_unittest.cc
diff --git a/components/ssl_errors/error_classification_unittest.cc b/components/ssl_errors/error_classification_unittest.cc
index 9e203a965a72d679c50572920cfdc008c0854178..730b9ca78922c733b1dd6209023681264ec69903 100644
--- a/components/ssl_errors/error_classification_unittest.cc
+++ b/components/ssl_errors/error_classification_unittest.cc
@@ -176,9 +176,9 @@ TEST_F(SSLErrorClassificationTest, TestNameMismatch) {
}
TEST_F(SSLErrorClassificationTest, TestHostNameHasKnownTLD) {
- EXPECT_TRUE(ssl_errors::IsHostNameKnownTLD("www.google.com"));
- EXPECT_TRUE(ssl_errors::IsHostNameKnownTLD("b.appspot.com"));
- EXPECT_FALSE(ssl_errors::IsHostNameKnownTLD("a.private"));
+ EXPECT_TRUE(ssl_errors::HostNameHasKnownTLD("www.google.com"));
+ EXPECT_TRUE(ssl_errors::HostNameHasKnownTLD("b.appspot.com"));
+ EXPECT_FALSE(ssl_errors::HostNameHasKnownTLD("a.private"));
}
TEST_F(SSLErrorClassificationTest, TestPrivateURL) {
« no previous file with comments | « components/ssl_errors/error_classification.cc ('k') | components/url_formatter/url_fixer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698