summaryrefslogtreecommitdiffstats
path: root/tests/lib/Files/Mount
Commit message (Collapse)AuthorAgeFilesLines
* test: add test for cache mount providerDaniel Kesselberg2023-09-201-0/+108
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* composer run cs:fixCôme Chilliet2023-01-202-2/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Remove some more at matchers in tests/libCôme Chilliet2022-06-201-10/+10
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Migrate from ILogger to LoggerInterface where needed in the testsCôme Chilliet2022-03-241-3/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* type fixesRobin Appelman2022-03-041-4/+0
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* simplify setup of circular SetupManager<->ManagerRobin Appelman2022-03-041-6/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* move logic to decide what to setup to setupmanagerRobin Appelman2022-03-041-2/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* adjust tests to new fs setupRobin Appelman2022-03-041-3/+10
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* move root mount setup to mountprovidersRobin Appelman2022-02-241-0/+141
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Implement multibucket shift for ObjectStoreJohn Molakvoæ2021-11-111-6/+6
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-121-4/+4
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add config option to enable multibucket preview distributionMorris Jobke2020-08-061-14/+21
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Mount the old previews in a separate folder for the multi bucket setup and ↵Morris Jobke2020-08-061-0/+106
| | | | | | check in them before using the actual locations Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-2/+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>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-1/+1
| | | | 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-262-11/+11
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-251-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Mode to modern phpunitRoeland Jago Douma2019-11-271-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* More fixesRoeland Jago Douma2019-11-271-2/+6
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-272-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some php-cs fixesRoeland Jago Douma2019-11-221-1/+1
| | | | | | | | | | | * 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>
* Allow setting a maximun number of buckets for multibucketRobin Appelman2016-11-021-4/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* File getMock Files testsRoeland Jago Douma2016-09-072-7/+10
|
* prevent infinite recursion while getting storage from mountRobin Appelman2016-08-231-4/+4
|
* Store user bucket in preferencesRoeland Jago Douma2016-05-231-8/+82
|
* Fix NameRoeland Jago Douma2016-05-231-3/+3
|
* Add unit tests for ObjectHomeMountProviderRoeland Jago Douma2016-05-231-0/+170
|
* Move tests/ to PSR-4 (#24731)Joas Schilling2016-05-203-0/+187
* 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