aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Preview/BackgroundCleanupJobTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Fix BackgroundCleanupJobTestCôme Chilliet2023-03-201-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Adapt tests to new job constructorsCôme Chilliet2022-12-051-3/+7
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Move to subfolders for preview filesRoeland Jago Douma2020-04-191-26/+70
| | | | | | | | | | | Else the number of files can grow very large very quickly in the preview folder. Esp on large systems. This generates the md5 of the fileid. And then creates folders of the first 7 charts. In that folder is then a folder with the fileid. And inside there are the previews. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+0
| | | | | | | | | | | | | | | 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>
* Remove unused importsChristoph Wurst2020-03-251-1/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Mode to modern phpunitRoeland Jago Douma2019-11-271-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-271-3/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* use a fresh appdata factory in background job testRobin Appelman2018-12-061-1/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add testsRoeland Jago Douma2018-05-141-0/+159
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>