aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Files/Cache/CacheTest.php
Commit message (Collapse)AuthorAgeFilesLines
* test: Fix IStorage return typesprovokateurin2024-09-261-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* test: put parent items into cache in testsRobin Appelman2024-09-181-21/+18
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* refactor: Add void return type to PHPUnit test methodsChristoph Wurst2024-09-151-26/+26
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* chore: Apply php:cs recommendationsLouis Chemineau2024-08-281-7/+7
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* feat: implement distributing partitioned queries over multiple shardsRobin Appelman2024-08-281-0/+17
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-14/+14
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(db): Promote the use of `getDatabaseProvider` to reduce the impage of ↵Joas Schilling2024-07-191-2/+2
| | | | | | removed upstream platforms Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore: Add SPDX headerAndy Scherzinger2024-05-131-4/+3
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* tests: Add test for CacheEntry gettersFerdinand Thiessen2023-08-161-0/+25
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix!: Remove symfony EventDispatcherInterface from UserJoas Schilling2023-07-271-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Check style updateCarl Schwan2022-01-131-12/+6
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* rework search api to allow searching on multiple caches at onceRobin Appelman2021-06-141-2/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Bump doctrine/dbal from 2.12.0 to 3.0.0Christoph Wurst2021-01-081-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-121-1/+1
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add visibility to all methods and position of static keywordChristoph Wurst2020-04-101-12/+12
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-3/+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>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-091-1/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-79/+79
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-251-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-271-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* fix folder deleteRobin Appelman2019-11-131-0/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* dont create empty filecache extended rowsRobin Appelman2019-11-131-1/+8
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* store filecache extension fieldsRobin Appelman2019-11-131-0/+61
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Remove deprecated searchByTagRoeland Jago Douma2019-07-261-70/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add dispatcher events to User and Group objectsJoas Schilling2019-03-011-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* add test for non existing file by idRobin Appelman2018-11-191-0/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix CacheTestRoeland Jago Douma2017-08-091-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* add tests for renaming paths with multibyte utf8 charactersRobin Appelman2017-07-221-36/+38
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Allow searching for favoritesRobin Appelman2017-03-081-6/+64
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add tests for searchQueryRobin Appelman2017-03-011-15/+59
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Do not skip when mysql uses utf8mb4Joas Schilling2016-10-191-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix getMock CacheRoeland Jago Douma2016-09-131-1/+5
|
* mysql only works with 3 byte UTF-8Morris Jobke2016-06-291-0/+8
|
* Move tests/ to PSR-4 (#24731)Joas Schilling2016-05-201-0/+678
* 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