Commit Graph

104 Commits (a7ae2e874a28aed2c190840634db50a19ab1d2e7)

Author SHA1 Message Date
Robin Appelman bb8a7a2230 Remove assert since the root size of the home storage is no longer calculated 12 years ago
Jörn Friedrich Dreyer 2ba6cd4e2b initialize etags of temporary storage 12 years ago
Jörn Friedrich Dreyer 131c12ad8d use assertInternalType for typechecking 12 years ago
Jörn Friedrich Dreyer 39f2f564a9 use assertSame and assertNotSame for etag checks 12 years ago
Robin Appelman bc49c6be04 Manually triger the filecache update hooks before any other hook 12 years ago
Robin Appelman eea1abae20 add unit tests for watcher policies 12 years ago
Scrutinizer Auto-Fixer adaee6a5a1 Scrutinizer Auto-Fixes 12 years ago
Robin Appelman 642d8e370e Dont use php5.4 only features 12 years ago
Vincent Petry 23e6578601 Fix array access syntax for older PHP 12 years ago
Robin Appelman 16b898ddb8 update another test 12 years ago
Robin Appelman 7e4c80fd60 use different value for mtime and storage_mtime in test 12 years ago
Robin Appelman 203d5d01ca Use storage_mtime when determining if we can reuse cached data while scanning 12 years ago
Vincent Petry 4faba49f0a Fix calculated folder size to use unencrypted size 12 years ago
Vincent Petry 5be4af9f51 Now also preventing to override "files" dir size with -1 12 years ago
Vincent Petry 43b1cf7988 Redetect mime type whenever extension is renamed 12 years ago
Vincent Petry 3e2fd9942b Root size for home storage is now size of "files" subdir 12 years ago
Robin Appelman 32a703ab36 Do not use -1 as the size for the root folder of the home storage 12 years ago
Vincent Petry 7ff6a642b4 Fixed filesize issue in watchr test 12 years ago
Bjoern Schiessle fcfac51aa1 backport of https://github.com/owncloud/core/pull/5513 12 years ago
Robin Appelman 654b0daf01 update touch tests for updated behaviour 12 years ago
Robin Appelman b3626f34cd Update the parent folders storage_mtime on write and delete to prevent rescans 12 years ago
Robin Appelman 235517f111 clear permissions cache when scanning a file 12 years ago
Andreas Fischer d9a36ee82e Move setUp() and tearDown() up in tests/lib/files/cache/scanner.php. 12 years ago
Andreas Fischer de2e6e137b Do not convert boolean to integer in tests. put() already does this. 12 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 12 years ago
Thomas Müller c8f9efeb94 etag changes are now propagated up the file tree 12 years ago
Thomas Müller 3c026b7cf6 recreate an etag within the scanner if the cache contains an empty etag 12 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 13 years ago
Robin Appelman 10be42f5b7 Cache: only look for child entires when doing a move operation when moving a folder 13 years ago
Robin Appelman 1d3beffacf Cache: better rename hook for cache updater 13 years ago
Robin Appelman 0c1ec758e8 Cache: hash long storage ids to ensure they fit in the database 13 years ago