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

Unified Diff: net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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/net_unittests.isolate ('k') | net/proxy/proxy_resolver_v8_tracing.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc
diff --git a/net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc b/net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc
index c3368acc5f90e505e86303c7b5ef1871a7f4912e..d9c4356600f3f57652b33a48a6e6d8a83e8642c5 100644
--- a/net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc
+++ b/net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc
@@ -36,11 +36,7 @@ TEST(DhcpProxyScriptFetcherWin, AdapterNamesAndPacURLFromDhcp) {
it != adapter_names.end();
++it) {
const std::string& adapter_name = *it;
- std::string pac_url =
- DhcpProxyScriptAdapterFetcher::GetPacURLFromDhcp(adapter_name);
- printf("Adapter '%s' has PAC URL '%s' configured in DHCP.\n",
- adapter_name.c_str(),
- pac_url.c_str());
+ DhcpProxyScriptAdapterFetcher::GetPacURLFromDhcp(adapter_name);
}
}
@@ -84,11 +80,9 @@ class RealFetchTester {
FAIL() << "Received completion for test in which this is error.";
}
finished_ = true;
- printf("Result code %d PAC data length %d\n", result, pac_text_.size());
}
void OnTimeout() {
- printf("Timeout!");
OnCompletion(0);
}
@@ -134,8 +128,7 @@ TEST(DhcpProxyScriptFetcherWin, RealFetch) {
fetcher.RunTest();
fetcher.WaitUntilDone();
- printf("PAC URL was %s\n",
- fetcher.fetcher_->GetPacURL().possibly_invalid_spec().c_str());
+ fetcher.fetcher_->GetPacURL().possibly_invalid_spec();
fetcher.FinishTestAllowCleanup();
}
« no previous file with comments | « net/net_unittests.isolate ('k') | net/proxy/proxy_resolver_v8_tracing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698