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

Unified Diff: chrome/browser/chromeos/drive/job_scheduler_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: Review fix 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/job_scheduler_unittest.cc
diff --git a/chrome/browser/chromeos/drive/job_scheduler_unittest.cc b/chrome/browser/chromeos/drive/job_scheduler_unittest.cc
index 3103cb9de99e9ea29e41e9758cf8aa9b537bf451..21ab0f2d03f107eb3fd3a76fae6e9211e847cf8d 100644
--- a/chrome/browser/chromeos/drive/job_scheduler_unittest.cc
+++ b/chrome/browser/chromeos/drive/job_scheduler_unittest.cc
@@ -109,15 +109,6 @@ class JobSchedulerTest : public testing::Test {
scheduler_->SetDisableThrottling(true);
}
- virtual void TearDown() OVERRIDE {
- // The scheduler should be deleted before NetworkLibrary, as it
- // registers itself as observer of NetworkLibrary.
- scheduler_.reset();
- base::RunLoop().RunUntilIdle();
- fake_drive_service_.reset();
- fake_network_change_notifier_.reset();
- }
-
protected:
// Sets up FakeNetworkChangeNotifier as if it's connected to a network with
// the specified connection type.
« no previous file with comments | « chrome/browser/chromeos/drive/file_system_unittest.cc ('k') | chrome/browser/chromeos/drive/local_file_reader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698