aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Files
Commit message (Collapse)AuthorAgeFilesLines
...
* add ci support for s3 object storeRobin Appelman2017-01-021-0/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Remove legacy home testsVincent Petry2016-12-231-31/+0
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Nuke the legacy storage fallback from orbitVincent Petry2016-12-231-8/+0
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Merge pull request #2411 from nextcloud/fix-encryption-home-storageMorris Jobke2016-12-051-0/+94
|\ | | | | check if the file should really be encrypted before we update the file cache
| * check if the file should really be encrypted before we update the file cacheBjoern Schiessle2016-11-291-0/+94
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | update testRobin Appelman2016-12-021-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Add testsLukas Reschke2016-12-011-0/+71
|/ | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Move the validation into one place onlyJoas Schilling2016-11-211-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make sure we don't scan files that can not be accessedJoas Schilling2016-11-211-0/+26
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* add tests for FileInfo::isMountedRobin Appelman2016-11-161-0/+46
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add amazon s3 objectstore backendRobin Appelman2016-11-161-0/+38
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* split testing of objectstoragestorage and objectstore implementationsRobin Appelman2016-11-164-177/+319
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* only query substorages to calculate the final mtime/size/etag lazilyRobin Appelman2016-11-102-10/+17
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Adjust tests and DI for Share.phpLukas Reschke2016-11-021-2/+0
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* DI for root.phpLukas Reschke2016-11-026-131/+307
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix mock warning in some FS tests (#26464)Vincent Petry2016-11-022-2/+2
|
* Add using casing check/fix for initMountPointsVincent Petry2016-11-022-0/+92
|
* Allow setting a maximun number of buckets for multibucketRobin Appelman2016-11-022-9/+13
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Proper DI of configRoeland Jago Douma2016-10-283-5/+6
| | | | | | * Fixed comments Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Added method to DB and fix testRoeland Jago Douma2016-10-241-2/+8
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Do not skip when mysql uses utf8mb4Joas Schilling2016-10-191-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* optimize Folder::getById to use less queriesRobin Appelman2016-10-127-117/+226
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add TestsRoeland Jago Douma2016-10-054-0/+418
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix mimetype detection inside hidden folders (#26138)Vincent Petry2016-09-261-0/+2
| | | | | | Downstreaming of https://github.com/owncloud/core/pull/26138 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix getMock ViewTestRoeland Jago Douma2016-09-131-6/+7
|
* Fix getMock scannertestRoeland Jago Douma2016-09-131-1/+2
|
* Fix getMock QuotaTestRoeland Jago Douma2016-09-131-9/+9
|
* Fix getMock FolderTestsRoeland Jago Douma2016-09-131-96/+104
|
* Fix getMock UserMountcacheTestRoeland Jago Douma2016-09-131-1/+1
|
* Fix getMock CacheRoeland Jago Douma2016-09-131-1/+5
|
* Merge pull request #1243 from nextcloud/fix-detection-of-file-types-a-bitJoas Schilling2016-09-081-1/+1
|\ | | | | Fix detection of file types a bit
| * Correctly remove the charset from finfo mimetypeJoas Schilling2016-09-051-1/+1
| |
* | File getMock Files testsRoeland Jago Douma2016-09-075-23/+30
|/
* prevent infinite recursion while getting storage from mountRobin Appelman2016-08-231-4/+4
|
* Merge pull request #746 from nextcloud/jail-rootLukas Reschke2016-08-091-2/+11
|\ | | | | getJailedPath expects $path to have a trailing /
| * Adding test case for getPathById including a jailed cache where root is just ↵Thomas Müller2016-08-051-2/+11
| | | | | | | | empty
* | Move Share backends to PSR-4 instead of using class path (#24941)Joas Schilling2016-08-051-2/+2
|/
* use limit instead of since when listing recent filesRobin Appelman2016-07-221-7/+6
|
* fix testRobin Appelman2016-07-221-1/+4
|
* add recent files to node apiRobin Appelman2016-07-221-4/+167
|
* Merge pull request #471 from nextcloud/storage-fopenspecialcharsMorris Jobke2016-07-201-6/+20
|\ | | | | Added storage tests for fopen with special chars
| * Added storage tests for fopen with special charsVincent Petry2016-07-201-6/+20
| | | | | | | | | | | | This makes it possible to test special chars with unit tests. There is already a test for directories but there was none for file names.
* | Merge pull request #402 from nextcloud/smb-notificationsMorris Jobke2016-07-201-1/+26
|\ \ | |/ |/| smb update notifications
| * Save the files external mount id in the mount cache tableRobin Appelman2016-07-131-1/+26
| |
* | RootTest does not require DBRoeland Jago Douma2016-07-131-20/+39
|/ | | | | | * Removed from DB group * Also mock the manager * Fixed deprecated getMock warnings
* Improve NodeTestRoeland Jago Douma2016-07-111-123/+76
| | | | | | * Do not use DB * Fix phpunit-5.4 warnigns * Moved commong stuff to setup
* Merge pull request #347 from nextcloud/drop-windows-fooLukas Reschke2016-07-115-136/+3
|\ | | | | Remove unneeded checks if it runs on a Windows machine
| * Fix some more testsJoas Schilling2016-07-111-96/+1
| |
| * Remove unneeded checks if it runs on a Windows machineMorris Jobke2016-07-084-40/+2
| | | | | | | | * the setup check is still there
* | Improve FileTestRoeland Jago Douma2016-07-081-237/+153
|/ | | | | | * No longer requires DB * Fixed phpunit 5.4 warnings * Moved common stuff to Setup phase