| Index: net/disk_cache/mapped_file_unittest.cc
|
| ===================================================================
|
| --- net/disk_cache/mapped_file_unittest.cc (revision 60165)
|
| +++ net/disk_cache/mapped_file_unittest.cc (working copy)
|
| @@ -61,9 +61,7 @@
|
| } // namespace
|
|
|
| TEST_F(DiskCacheTest, MappedFile_SyncIO) {
|
| - ScopedTestCache test_cache;
|
| - FilePath filename = test_cache.path().AppendASCII("a_test");
|
| -
|
| + FilePath filename = GetCacheFilePath().AppendASCII("a_test");
|
| scoped_refptr<disk_cache::MappedFile> file(new disk_cache::MappedFile);
|
| ASSERT_TRUE(CreateCacheTestFile(filename));
|
| ASSERT_TRUE(file->Init(filename, 8192));
|
| @@ -78,9 +76,7 @@
|
| }
|
|
|
| TEST_F(DiskCacheTest, MappedFile_AsyncIO) {
|
| - ScopedTestCache test_cache;
|
| - FilePath filename = test_cache.path().AppendASCII("a_test");
|
| -
|
| + FilePath filename = GetCacheFilePath().AppendASCII("a_test");
|
| scoped_refptr<disk_cache::MappedFile> file(new disk_cache::MappedFile);
|
| ASSERT_TRUE(CreateCacheTestFile(filename));
|
| ASSERT_TRUE(file->Init(filename, 8192));
|
|
|