#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "base/files/file_enumerator.h"
#include "base/files/file_util.h"
#include "build/chromeos_buildflags.h"
#include "net/disk_cache/blockfile/block_files.h"
#include "net/disk_cache/disk_cache.h"
#include "net/disk_cache/disk_cache_test_base.h"
#include "net/disk_cache/disk_cache_test_util.h"
#include "testing/gtest/include/gtest/gtest.h"
Time;
namespace {
int NumberOfFiles(const base::FilePath& path) { … }
}
namespace disk_cache {
#if BUILDFLAG(IS_CHROMEOS_ASH)
#define MAYBE_BlockFiles_Grow …
#else
#define MAYBE_BlockFiles_Grow …
#endif
TEST_F(DiskCacheTest, MAYBE_BlockFiles_Grow) { … }
TEST_F(DiskCacheTest, BlockFiles_Shrink) { … }
TEST_F(DiskCacheTest, BlockFiles_Recover) { … }
TEST_F(DiskCacheTest, BlockFiles_ZeroSizeFile) { … }
TEST_F(DiskCacheTest, BlockFiles_TruncatedFile) { … }
TEST_F(DiskCacheTest, BlockFiles_Counters) { … }
TEST_F(DiskCacheTest, BlockFiles_InvalidFile) { … }
TEST_F(DiskCacheTest, AllocationMap) { … }
}