aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Files/ViewTest.php
Commit message (Collapse)AuthorAgeFilesLines
* fix testsRobin Appelman2020-04-011-6/+26
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-251-28/+28
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Mode to modern phpunitRoeland Jago Douma2019-11-271-13/+19
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-271-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Files first to use own GenericEventArthur Schiwon2019-11-261-1/+0
| | | | | | * those are added to 18 only anyway :) Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Some php-cs fixesRoeland Jago Douma2019-11-221-2/+2
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* expose filecache extension data in FileInfoRobin Appelman2019-11-131-213/+236
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix testsRobin Appelman2019-06-211-0/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* cleanup shared lock if changing to exclusive lock failedRobin Appelman2019-01-221-0/+31
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Moves the logo files to logoMichael Weimann2018-10-021-2/+2
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Fix ViewTestRoeland Jago Douma2018-05-231-1/+11
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove IAppConfig::getValueRoeland Jago Douma2018-01-171-7/+7
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use ::class in test mocks of dav appMorris Jobke2017-10-261-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Cleanup unused methodsMorris Jobke2017-08-151-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Cleanup usage of shareItem in internal code baseMorris Jobke2017-08-151-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Replace wrong PHPDocsLukas Reschke2017-08-011-2/+3
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* round the mtime in touchRobin Appelman2017-03-271-0/+17
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Move error message to log entryLukas Reschke2017-03-201-0/+2
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Cleanup testJoas Schilling2017-03-171-254/+266
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix unit testJoas Schilling2017-03-171-2/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Redirect unlink to rmdir (#27101)Vincent Petry2017-03-161-0/+24
| | | | | | | Many API callers will call unlink even for directories and it can mess up with some wrappers like the encryption wrapper Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add testsLukas Reschke2016-12-011-0/+71
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* only query substorages to calculate the final mtime/size/etag lazilyRobin Appelman2016-11-101-1/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix getMock ViewTestRoeland Jago Douma2016-09-131-6/+7
|
* Remove unneeded checks if it runs on a Windows machineMorris Jobke2016-07-081-6/+2
| | | | * the setup check is still there
* Fix unit testsRoeland Jago Douma2016-06-141-0/+7
|
* allow deleting "ghost files" trough the View and Node apiRobin Appelman2016-06-031-1/+50
|
* Move tests/ to PSR-4 (#24731)Joas Schilling2016-05-201-0/+2447
* Move a-b to PSR-4 * Move c-d to PSR-4 * Move e+g to PSR-4 * Move h-l to PSR-4 * Move m-r to PSR-4 * Move s-u to PSR-4 * Move files/ to PSR-4 * Move remaining tests to PSR-4 * Remove Test\ from old autoloader