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

Unified Diff: google_apis/drive/base_requests_unittest.cc

Issue 2467133004: Correct net::EmbeddedTestServer usage in google_apis_unittests. (Closed)
Patch Set: Created 4 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
Index: google_apis/drive/base_requests_unittest.cc
diff --git a/google_apis/drive/base_requests_unittest.cc b/google_apis/drive/base_requests_unittest.cc
index a6dcbe1ba5331326862ca114965b440da2c8ccac..bce6b71b5faa7b55f3c59798eba644f02b440259 100644
--- a/google_apis/drive/base_requests_unittest.cc
+++ b/google_apis/drive/base_requests_unittest.cc
@@ -120,9 +120,9 @@ class BaseRequestsTest : public testing::Test {
message_loop_.task_runner(),
std::string() /* custom user agent */));
- ASSERT_TRUE(test_server_.Start());
test_server_.RegisterRequestHandler(
base::Bind(&BaseRequestsTest::HandleRequest, base::Unretained(this)));
+ ASSERT_TRUE(test_server_.Start());
}
std::unique_ptr<net::test_server::HttpResponse> HandleRequest(
« no previous file with comments | « google_apis/drive/base_requests_server_unittest.cc ('k') | google_apis/drive/drive_api_requests_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698