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

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: ThreadChecker 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 587971a9c042cb3998c8cb03cb802d2f5014d462..f27045eb9e47c46047f0c6e3ea202c9967779821 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;
}

Powered by Google App Engine
This is Rietveld 408576698