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

Unified Diff: google_apis/drive/drive_api_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
« no previous file with comments | « google_apis/drive/base_requests_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/drive/drive_api_requests_unittest.cc
diff --git a/google_apis/drive/drive_api_requests_unittest.cc b/google_apis/drive/drive_api_requests_unittest.cc
index f249a6eb994b7399ccaba527b32bfebc7bf0225c..ace07f3bfeb5708579661ca4e4fdc56025cabdfb 100644
--- a/google_apis/drive/drive_api_requests_unittest.cc
+++ b/google_apis/drive/drive_api_requests_unittest.cc
@@ -139,7 +139,6 @@ class DriveApiRequestsTest : public testing::Test {
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
- ASSERT_TRUE(test_server_.Start());
test_server_.RegisterRequestHandler(
base::Bind(&DriveApiRequestsTest::HandleChildrenDeleteRequest,
base::Unretained(this)));
@@ -167,6 +166,7 @@ class DriveApiRequestsTest : public testing::Test {
test_server_.RegisterRequestHandler(
base::Bind(&DriveApiRequestsTest::HandleBatchUploadRequest,
base::Unretained(this)));
+ ASSERT_TRUE(test_server_.Start());
GURL test_base_url = test_util::GetBaseUrlForTesting(test_server_.port());
url_generator_.reset(
« no previous file with comments | « google_apis/drive/base_requests_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698