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

Side by Side Diff: net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc

Issue 14691006: Move SpawnedTestServer to its own subdirectory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort gyp Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/net.gyp ('k') | net/proxy/proxy_resolver_perftest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/proxy/dhcp_proxy_script_adapter_fetcher_win.h" 5 #include "net/proxy/dhcp_proxy_script_adapter_fetcher_win.h"
6 6
7 #include "base/perftimer.h" 7 #include "base/perftimer.h"
8 #include "base/synchronization/waitable_event.h" 8 #include "base/synchronization/waitable_event.h"
9 #include "base/test/test_timeouts.h" 9 #include "base/test/test_timeouts.h"
10 #include "base/timer.h" 10 #include "base/timer.h"
11 #include "net/base/net_errors.h" 11 #include "net/base/net_errors.h"
12 #include "net/base/test_completion_callback.h" 12 #include "net/base/test_completion_callback.h"
13 #include "net/proxy/mock_proxy_script_fetcher.h" 13 #include "net/proxy/mock_proxy_script_fetcher.h"
14 #include "net/proxy/proxy_script_fetcher_impl.h" 14 #include "net/proxy/proxy_script_fetcher_impl.h"
15 #include "net/test/spawned_test_server.h" 15 #include "net/test/spawned_test_server/spawned_test_server.h"
16 #include "net/url_request/url_request_test_util.h" 16 #include "net/url_request/url_request_test_util.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 18
19 namespace net { 19 namespace net {
20 20
21 namespace { 21 namespace {
22 22
23 const char* const kPacUrl = "http://pacserver/script.pac"; 23 const char* const kPacUrl = "http://pacserver/script.pac";
24 24
25 // In net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc there are a few 25 // In net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc there are a few
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 EXPECT_EQ(OK, client.fetcher_->GetResult()); 290 EXPECT_EQ(OK, client.fetcher_->GetResult());
291 EXPECT_EQ(base::string16(L"-downloadable.pac-\n"), 291 EXPECT_EQ(base::string16(L"-downloadable.pac-\n"),
292 client.fetcher_->GetPacScript()); 292 client.fetcher_->GetPacScript());
293 EXPECT_EQ(configured_url, 293 EXPECT_EQ(configured_url,
294 client.fetcher_->GetPacURL()); 294 client.fetcher_->GetPacURL());
295 } 295 }
296 296
297 } // namespace 297 } // namespace
298 298
299 } // namespace net 299 } // namespace net
OLDNEW
« no previous file with comments | « net/net.gyp ('k') | net/proxy/proxy_resolver_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698