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

Unified Diff: chrome/browser/net/dns_probe_browsertest.cc

Issue 1639953002: Network error interstitial update - add suggestions list (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix browser and unit tests Created 4 years, 10 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: chrome/browser/net/dns_probe_browsertest.cc
diff --git a/chrome/browser/net/dns_probe_browsertest.cc b/chrome/browser/net/dns_probe_browsertest.cc
index c9cf76fffaa5608400c2d12d904a11b3039207e0..c66a8364ce244ea8f35dc55f5fa5515b8ea15d8b 100644
--- a/chrome/browser/net/dns_probe_browsertest.cc
+++ b/chrome/browser/net/dns_probe_browsertest.cc
@@ -650,15 +650,13 @@ bool DnsProbeBrowserTest::PageContains(const std::string& expected) {
void DnsProbeBrowserTest::ExpectDisplayingLocalErrorPage(
const std::string& status_text) {
- EXPECT_FALSE(PageContains("http://correction1/"));
- EXPECT_FALSE(PageContains("http://correction2/"));
+ EXPECT_FALSE(PageContains("http://mock.http/title2.html"));
edwardjung 2016/02/25 19:00:03 Changed URLs as showing only the first URL suggest
EXPECT_TRUE(PageContains(status_text));
}
void DnsProbeBrowserTest::ExpectDisplayingCorrections(
const std::string& status_text) {
- EXPECT_TRUE(PageContains("http://correction1/"));
- EXPECT_TRUE(PageContains("http://correction2/"));
+ EXPECT_TRUE(PageContains("http://mock.http/title2.html"));
EXPECT_TRUE(PageContains(status_text));
}

Powered by Google App Engine
This is Rietveld 408576698