Chromium Code Reviews| Index: chrome/browser/google_apis/drive_api_operations_unittest.cc |
| diff --git a/chrome/browser/google_apis/drive_api_operations_unittest.cc b/chrome/browser/google_apis/drive_api_operations_unittest.cc |
| index 4e119ca27c128c14f7b7e2d6d97052cbb53da82a..d7f2449a52ecf0189cacc8d3b720fcc1a741314b 100644 |
| --- a/chrome/browser/google_apis/drive_api_operations_unittest.cc |
| +++ b/chrome/browser/google_apis/drive_api_operations_unittest.cc |
| @@ -46,7 +46,9 @@ class DriveApiOperationsTest : public testing::Test { |
| DriveApiOperationsTest() |
| : 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)) { |
|
satorux1
2013/04/23 07:57:05
indentation is off?
test_server_(content::Browser
Paweł Hajdan Jr.
2013/04/23 22:12:42
Done.
|
| } |
| virtual void SetUp() OVERRIDE { |
| @@ -84,7 +86,7 @@ class DriveApiOperationsTest : public testing::Test { |
| } |
| virtual void TearDown() OVERRIDE { |
| - test_server_.ShutdownAndWaitUntilComplete(); |
| + EXPECT_TRUE(test_server_.ShutdownAndWaitUntilComplete()); |
| request_context_getter_ = NULL; |
| ResetExpectedResponse(); |
| } |