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

Unified Diff: net/proxy/proxy_info_unittest.cc

Issue 683113005: Update from chromium https://crrev.com/302282 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 | « net/proxy/proxy_info.h ('k') | net/quic/congestion_control/cubic.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/proxy_info_unittest.cc
diff --git a/net/proxy/proxy_info_unittest.cc b/net/proxy/proxy_info_unittest.cc
index 165283d55c6d848284f658b484dde32778b029cf..09f5ef60b1f52bb7c0c97c51f5bca086f41a0586 100644
--- a/net/proxy/proxy_info_unittest.cc
+++ b/net/proxy/proxy_info_unittest.cc
@@ -32,6 +32,8 @@ TEST(ProxyInfoTest, ProxyInfoIsDirectOnly) {
info.UsePacString("PROXY myproxy:80; DIRECT");
EXPECT_FALSE(info.is_direct());
EXPECT_FALSE(info.is_direct_only());
+ EXPECT_EQ(2u, info.proxy_list().size());
+ EXPECT_EQ("PROXY myproxy:80;DIRECT", info.proxy_list().ToPacString());
// After falling back to direct, we shouldn't consider it DIRECT only.
EXPECT_TRUE(info.Fallback(ERR_PROXY_CONNECTION_FAILED, BoundNetLog()));
EXPECT_TRUE(info.is_direct());
« no previous file with comments | « net/proxy/proxy_info.h ('k') | net/quic/congestion_control/cubic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698