Index: net/disk_cache/disk_cache_test_base.h |
=================================================================== |
--- net/disk_cache/disk_cache_test_base.h (revision 4870) |
+++ net/disk_cache/disk_cache_test_base.h (working copy) |
@@ -9,12 +9,6 @@ |
#include "base/platform_test.h" |
#include "testing/gtest/include/gtest/gtest.h" |
-// These tests can use the path service, which uses autoreleased objects on the |
-// Mac, so this needs to be a PlatformTest. Even tests that do not require a |
-// cache (and that do not need to be a DiskCacheTestWithCache) are susceptible |
-// to this problem; all such tests should use TEST_F(DiskCacheTest, ...). |
-typedef PlatformTest DiskCacheTest; |
- |
namespace disk_cache { |
class Backend; |
@@ -23,6 +17,14 @@ |
} // namespace disk_cache |
+// These tests can use the path service, which uses autoreleased objects on the |
+// Mac, so this needs to be a PlatformTest. Even tests that do not require a |
+// cache (and that do not need to be a DiskCacheTestWithCache) are susceptible |
+// to this problem; all such tests should use TEST_F(DiskCacheTest, ...). |
+class DiskCacheTest : public PlatformTest { |
+ virtual void TearDown(); |
+}; |
+ |
// Provides basic support for cache related tests. |
class DiskCacheTestWithCache : public DiskCacheTest { |
protected: |