Home
last modified time | relevance | path

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

/bootable/recovery/tests/unit/
Dapplypatch_test.cpp201 static size_t MockFreeSpaceChecker(const std::string& dirname) { in MockFreeSpaceChecker() function in FreeCacheTest
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()
222 ASSERT_EQ(4096 * 9, MockFreeSpaceChecker(mock_cache.path)); in TEST_F()
229 ASSERT_EQ(4096 * 7, MockFreeSpaceChecker(mock_cache.path)); in TEST_F()
239 ASSERT_EQ(4096 * 8, MockFreeSpaceChecker(mock_cache.path)); in TEST_F()
245 ASSERT_FALSE(RemoveFilesInDirectory(4096 * 10, mock_cache.path, MockFreeSpaceChecker)); in TEST_F()
254 ASSERT_EQ(4096 * 5, MockFreeSpaceChecker(mock_log_dir.path)); in TEST_F()
256 ASSERT_TRUE(RemoveFilesInDirectory(4096 * 8, mock_log_dir.path, MockFreeSpaceChecker)); in TEST_F()
261 ASSERT_EQ(4096 * 8, MockFreeSpaceChecker(mock_log_dir.path)); in TEST_F()
[all …]