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

Unified Diff: chrome/browser/google_apis/gdata_wapi_operations_unittest.cc

Issue 14365019: Break dependencies preventing move of test_server down to net. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/google_apis/gdata_wapi_operations_unittest.cc
diff --git a/chrome/browser/google_apis/gdata_wapi_operations_unittest.cc b/chrome/browser/google_apis/gdata_wapi_operations_unittest.cc
index 294c09754581199d31ae8c15eeb17e8ab8502b01..92b4838d98975df8cd771962ef9dc35375055e26 100644
--- a/chrome/browser/google_apis/gdata_wapi_operations_unittest.cc
+++ b/chrome/browser/google_apis/gdata_wapi_operations_unittest.cc
@@ -43,7 +43,9 @@ class GDataWapiOperationsTest : public testing::Test {
GDataWapiOperationsTest()
: ui_thread_(content::BrowserThread::UI, &message_loop_),
file_thread_(content::BrowserThread::FILE),
- io_thread_(content::BrowserThread::IO) {
+ io_thread_(content::BrowserThread::IO),
+ test_server_(content::BrowserThread::GetMessageLoopProxyForThread(
+ content::BrowserThread::IO)) {
}
virtual void SetUp() OVERRIDE {
@@ -81,7 +83,7 @@ class GDataWapiOperationsTest : public testing::Test {
}
virtual void TearDown() OVERRIDE {
- test_server_.ShutdownAndWaitUntilComplete();
+ EXPECT_TRUE(test_server_.ShutdownAndWaitUntilComplete());
request_context_getter_ = NULL;
}
« no previous file with comments | « chrome/browser/google_apis/drive_api_operations_unittest.cc ('k') | chrome/browser/google_apis/test_server/http_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698