Home
last modified time | relevance | path

Searched refs:mock_cache (Results 1 – 1 of 1) sorted by relevance

/bootable/recovery/tests/unit/
Dapplypatch_test.cpp206 TemporaryDir mock_cache; member in FreeCacheTest
215 AddFilesToDir(mock_cache.path, files); in TEST_F()
216 ASSERT_EQ(files, FindFilesInDir(mock_cache.path)); in TEST_F()
217 ASSERT_EQ(4096 * 7, MockFreeSpaceChecker(mock_cache.path)); in TEST_F()
219 ASSERT_TRUE(RemoveFilesInDirectory(4096 * 9, mock_cache.path, MockFreeSpaceChecker)); in TEST_F()
221 ASSERT_EQ(std::vector<std::string>{ "file3" }, FindFilesInDir(mock_cache.path)); in TEST_F()
222 ASSERT_EQ(4096 * 9, MockFreeSpaceChecker(mock_cache.path)); in TEST_F()
227 AddFilesToDir(mock_cache.path, files); in TEST_F()
228 ASSERT_EQ(files, FindFilesInDir(mock_cache.path)); in TEST_F()
229 ASSERT_EQ(4096 * 7, MockFreeSpaceChecker(mock_cache.path)); in TEST_F()
[all …]