nextcloud/tests/lib/Files/Cache
Robin Appelman 74c6beb603
dont set folder size to negative values during propagation
normally this shouldn't be a problem, but cache/storage desync might cause this
so this adds some failsafe to ensure we dont corrupt the cache further

the minimum value is set to -1 instead of 0 in order to triger a background scan
on the folder and figure out the size properly

Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-11-26 12:05:30 +01:00
..
Wrapper Fix risky tests without assertions 2018-01-25 11:33:25 +01:00
CacheTest.php fix folder delete 2019-11-13 12:39:46 +01:00
HomeCacheTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
MoveFromCacheTraitTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
PropagatorTest.php dont set folder size to negative values during propagation 2019-11-26 12:05:30 +01:00
QuerySearchHelperTest.php Support arbitrary number of arguments for d:or and d:and in search queries 2018-01-16 13:22:28 +01:00
ScannerTest.php Avoid calculating folder size for parent that needs scan. 2019-03-06 15:23:37 +01:00
UpdaterLegacyTest.php Some php-cs fixes 2019-11-22 20:52:10 +01:00
UpdaterTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
WatcherTest.php Moves the logo files to logo 2018-10-02 08:37:54 +02:00