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

Unified Diff: chrome/test/nacl/pnacl_header_test.cc

Issue 1431653003: Migrating tests to use EmbeddedTestServer (misc) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing tests. Created 5 years, 1 month 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 | « chrome/test/nacl/nacl_browsertest_util.cc ('k') | chrome/test/perf/mach_ports_performancetest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/nacl/pnacl_header_test.cc
diff --git a/chrome/test/nacl/pnacl_header_test.cc b/chrome/test/nacl/pnacl_header_test.cc
index 58ba78520f1d7fe5ee12e867f74becda86f874ca..b7d32a09aa23f086d573e889737e33f26e66a95d 100644
--- a/chrome/test/nacl/pnacl_header_test.cc
+++ b/chrome/test/nacl/pnacl_header_test.cc
@@ -20,7 +20,6 @@
#include "net/url_request/url_request.h"
using net::test_server::BasicHttpResponse;
-using net::test_server::EmbeddedTestServer;
using net::test_server::HttpRequest;
using net::test_server::HttpResponse;
@@ -47,7 +46,7 @@ PnaclHeaderTest::PnaclHeaderTest() : noncors_loads_(0), cors_loads_(0) {}
PnaclHeaderTest::~PnaclHeaderTest() {}
void PnaclHeaderTest::StartServer() {
- ASSERT_TRUE(embedded_test_server()->InitializeAndWaitUntilReady());
+ ASSERT_TRUE(embedded_test_server()->Start());
// For most requests, just serve files, but register a special test handler
// that watches for the .pexe fetch also.
« no previous file with comments | « chrome/test/nacl/nacl_browsertest_util.cc ('k') | chrome/test/perf/mach_ports_performancetest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698