diff options
Diffstat (limited to 'webkit/quota')
-rw-r--r-- | webkit/quota/mock_quota_manager_unittest.cc | 4 | ||||
-rw-r--r-- | webkit/quota/quota_manager_unittest.cc | 4 | ||||
-rw-r--r-- | webkit/quota/quota_temporary_storage_evictor_unittest.cc | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/webkit/quota/mock_quota_manager_unittest.cc b/webkit/quota/mock_quota_manager_unittest.cc index c64138f..06edb06 100644 --- a/webkit/quota/mock_quota_manager_unittest.cc +++ b/webkit/quota/mock_quota_manager_unittest.cc @@ -39,7 +39,7 @@ class MockQuotaManagerTest : public testing::Test { deletion_callback_count_(0) { } - void SetUp() { + virtual void SetUp() { ASSERT_TRUE(data_dir_.CreateUniqueTempDir()); policy_ = new MockSpecialStoragePolicy; manager_ = new MockQuotaManager( @@ -50,7 +50,7 @@ class MockQuotaManagerTest : public testing::Test { policy_); } - void TearDown() { + virtual void TearDown() { // Make sure the quota manager cleans up correctly. manager_ = NULL; MessageLoop::current()->RunUntilIdle(); diff --git a/webkit/quota/quota_manager_unittest.cc b/webkit/quota/quota_manager_unittest.cc index 0f800a2..fd65ef5 100644 --- a/webkit/quota/quota_manager_unittest.cc +++ b/webkit/quota/quota_manager_unittest.cc @@ -51,7 +51,7 @@ class QuotaManagerTest : public testing::Test { mock_time_counter_(0) { } - void SetUp() { + virtual void SetUp() { ASSERT_TRUE(data_dir_.CreateUniqueTempDir()); mock_special_storage_policy_ = new MockSpecialStoragePolicy; quota_manager_ = new QuotaManager( @@ -67,7 +67,7 @@ class QuotaManagerTest : public testing::Test { additional_callback_count_ = 0; } - void TearDown() { + virtual void TearDown() { // Make sure the quota manager cleans up correctly. quota_manager_ = NULL; MessageLoop::current()->RunUntilIdle(); diff --git a/webkit/quota/quota_temporary_storage_evictor_unittest.cc b/webkit/quota/quota_temporary_storage_evictor_unittest.cc index 21c1cf9..742150c 100644 --- a/webkit/quota/quota_temporary_storage_evictor_unittest.cc +++ b/webkit/quota/quota_temporary_storage_evictor_unittest.cc @@ -145,7 +145,7 @@ class QuotaTemporaryStorageEvictorTest : public testing::Test { : num_get_usage_and_quota_for_eviction_(0), ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)) {} - void SetUp() { + virtual void SetUp() { quota_eviction_handler_.reset(new MockQuotaEvictionHandler(this)); // Run multiple evictions in a single RunUntilIdle() when interval_ms == 0 @@ -153,7 +153,7 @@ class QuotaTemporaryStorageEvictorTest : public testing::Test { quota_eviction_handler_.get(), 0)); } - void TearDown() { + virtual void TearDown() { temporary_storage_evictor_.reset(); quota_eviction_handler_.reset(); MessageLoop::current()->RunUntilIdle(); |