Commit Graph

86 Commits (cdc72ddd8d9eeeb3d1bd0d875471bd90463622c9)

Author SHA1 Message Date
Vincent Petry 3e2fd9942b Root size for home storage is now size of "files" subdir 13 years ago
Robin Appelman 32a703ab36 Do not use -1 as the size for the root folder of the home storage 13 years ago
Vincent Petry 7ff6a642b4 Fixed filesize issue in watchr test 13 years ago
Bjoern Schiessle fcfac51aa1 backport of https://github.com/owncloud/core/pull/5513 13 years ago
Robin Appelman 654b0daf01 update touch tests for updated behaviour 13 years ago
Robin Appelman b3626f34cd Update the parent folders storage_mtime on write and delete to prevent rescans 13 years ago
Robin Appelman 235517f111 clear permissions cache when scanning a file 13 years ago
Andreas Fischer d9a36ee82e Move setUp() and tearDown() up in tests/lib/files/cache/scanner.php. 13 years ago
Andreas Fischer de2e6e137b Do not convert boolean to integer in tests. put() already does this. 13 years ago
Thomas Müller d84d548618 when storing back the data field 'encrypted' it is necessary to cast the boolean to an integer to make pg happy 13 years ago
Thomas Müller c8f9efeb94 etag changes are now propagated up the file tree 13 years ago
Thomas Müller 3c026b7cf6 recreate an etag within the scanner if the cache contains an empty etag 13 years ago
Robin Appelman 1877a42a0d Scanner: additional tests for reusing etags during scanning 13 years ago
Robin Appelman 3e7a86c6ec remove deleted files while scanning 13 years ago
Michael Gapczynski afff750011 Add test for calculating size of newly empty folder 13 years ago
Robin Appelman 3f5eb762b6 Scanner test: ensure mtime in the cache is the same as on the storage to prevent random failures 13 years ago
Thomas Müller b4f7a88788 rename can cause mtime change - invalid assert 13 years ago
Jörn Friedrich Dreyer 4ecca9e97b graceful teardown of cache 13 years ago
Jörn Friedrich Dreyer 7a7b54c4a2 skip teardown if cache has not been set up 13 years ago
Thomas Mueller 5d0a3f981c adding unit test for folder remove: testRemovedFolder() 13 years ago
Robin Appelman ff7e903f82 remove deleted files when re-scanning a folder 13 years ago
Robin Appelman 0b74e71de8 fix updaters test cases 13 years ago
Robin Appelman 2ed0e6e915 add tests for reusing existing data in scanner 13 years ago
Michael Gapczynski 2a3887a5d7 Add tests for the updater with mount points 13 years ago
Jörn Friedrich Dreyer b6f8d2b859 raise failed tests from first commit to size @medium 13 years ago
Jörn Friedrich Dreyer 73fb722a9e add timeouts 3/30/90 to phpunit tests 13 years ago
Florin Peter 4eddef1556 improved tests to check if database layer normalize folder names 13 years ago
Florin Peter 5076c0d392 changed tests for using new normalizer 13 years ago
Florin Peter d4b700ef4e revert previous fix and added normalizer to cache class 13 years ago
Roland Hager 5c112657b2 New tests to assure that a move will not affect another users cache entries 13 years ago
Robin Appelman cea56df59e Have the filecache updater testcase clean the filesystem properly 13 years ago
Robin Appelman 15dae6198f Cache: add a backgroundjob to check for external changes to the filesystem 14 years ago
Robin Appelman 10be42f5b7 Cache: only look for child entires when doing a move operation when moving a folder 14 years ago
Robin Appelman 1d3beffacf Cache: better rename hook for cache updater 14 years ago
Robin Appelman 0c1ec758e8 Cache: hash long storage ids to ensure they fit in the database 14 years ago
Robin Appelman 299649b40e Cache: reuse known folder sizes when doing a shallow scan 14 years ago
Robin Appelman ad360296b9 Update tests and apps to the new \OC\Files\Filesystem::init signature 14 years ago
Robin Appelman 3e70d563a6 Cache: bookkeeping of storage_mtime 14 years ago
Robin Appelman 5d0c5c854b Cache: use greaterEquals in tests cases to prevent failures due to race conditions 14 years ago
Robin Appelman 9e2a066c7b Cache: add function to get storage id and internal path of a file by id 14 years ago
Robin Appelman 177537dbcc Cache: port test cases to PHPUnit 14 years ago
Robin Appelman db2b485b96 Cache: fix test case Updater::testRename 14 years ago
Michael Gapczynski 465c100d8f Add tests for mtime changes in folders - testRename is failing right now 14 years ago
Robin Appelman b41189de44 Cache: allow storage backends to overwrite Watcher 14 years ago
Michael Gapczynski d0a50fae83 Fix eTagUpdate and add tests 14 years ago
Robin Appelman 4be039e6cb Filecache Watcher: use scan or scanFile based on the current item, not the cached item 14 years ago
Robin Appelman cc0a0df88b one additional test case for the cache updater 14 years ago
Robin Appelman 8635699db9 fix cache behaviour for non existing files 14 years ago
Robin Appelman 8ce5e0d30d don't throw fatal error in updater cache if setup failed for some reason 14 years ago
Robin Appelman 8687e0d346 add Scanner->backgroundScan 14 years ago