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

Unified Diff: chrome/browser/chromeos/drive/drive_integration_service_unittest.cc

Issue 18419004: Remove destruction-only TearDown() methods in Drive related test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/chromeos/drive/drive_integration_service_unittest.cc
diff --git a/chrome/browser/chromeos/drive/drive_integration_service_unittest.cc b/chrome/browser/chromeos/drive/drive_integration_service_unittest.cc
index db8df9add8541e2242bcad5438037eb00b018c02..9c7812a42b95551e404704d673bd28d378897348 100644
--- a/chrome/browser/chromeos/drive/drive_integration_service_unittest.cc
+++ b/chrome/browser/chromeos/drive/drive_integration_service_unittest.cc
@@ -24,12 +24,6 @@ class DriveIntegrationServiceTest : public testing::Test {
new DummyFileSystem));
}
- virtual void TearDown() OVERRIDE {
- integration_service_.reset();
- google_apis::test_util::RunBlockingPoolTask();
- profile_.reset();
- }
-
protected:
content::TestBrowserThreadBundle thread_bundle_;
scoped_ptr<TestingProfile> profile_;
@@ -40,6 +34,7 @@ TEST_F(DriveIntegrationServiceTest, InitializeAndShutdown) {
integration_service_->Initialize();
google_apis::test_util::RunBlockingPoolTask();
integration_service_->Shutdown();
+ google_apis::test_util::RunBlockingPoolTask();
hashimoto 2013/07/03 07:58:47 Isn't the dtor of BrowserThread is responsible to
kinaba 2013/07/03 10:06:58 Done.
}
} // namespace drive

Powered by Google App Engine
This is Rietveld 408576698