summaryrefslogtreecommitdiffstats
path: root/tests/lib/Files/FilesystemTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Add visibility to all constantsChristoph Wurst2020-04-101-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-5/+9
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use elseif instead of else ifChristoph Wurst2020-04-101-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-38/+38
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Mode to modern phpunitRoeland Jago Douma2019-11-271-4/+5
| | | | 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>
* Move normalizePath to regexes instead of loopingRoeland Jago Douma2018-10-101-61/+68
| | | | | | | | | | | | | This is IMO a bit more readable and it seems to make the code faster. Tested it on the company instance where there are over 3k calls to this function. It shaves off around 10ms. The advantage here is that the pattern gets optimized by php itsel and cached. Also looking for all patterns at the same time and especially no longer looping for /./ patterns should save time. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* removes invalid tests, adapts another oneArthur Schiwon2018-01-031-33/+0
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* adjust testRobin Appelman2017-01-021-4/+2
| | | | 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>
* Adjust tests and DI for Share.phpLukas Reschke2016-11-021-2/+0
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix mock warning in some FS tests (#26464)Vincent Petry2016-11-021-1/+1
|
* Add using casing check/fix for initMountPointsVincent Petry2016-11-021-0/+35
|
* Remove unneeded checks if it runs on a Windows machineMorris Jobke2016-07-081-22/+0
| | | | * the setup check is still there
* Add keepUnicode value in the cache key of normalizedPathCacheVincent Petry2016-06-011-0/+27
|
* Move tests/ to PSR-4 (#24731)Joas Schilling2016-05-201-0/+490
* 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