aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests/Service
Commit message (Collapse)AuthorAgeFilesLines
* better cleanup of filecache when deleting an external storageRobin Appelman2021-05-193-10/+36
| | | | | | this way it can delete the cache entries even with per-user credentials Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-164-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Don't leave cursors open when tests failJoas Schilling2020-11-091-1/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-243-0/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-124-12/+12
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Move OC_Mount_Config to proper classname and remove OC::$CLASSPATH usage in ↵Morris Jobke2020-07-103-46/+46
| | | | | | files_external Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all constantsChristoph Wurst2020-04-101-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all methods and position of static keywordChristoph Wurst2020-04-101-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-103-8/+6
| | | | | | | | | | | | | | | 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 trailing and in between spacesChristoph 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>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-314-0/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-6/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-254-25/+25
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-056-6/+9
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix external storagestestsRoeland Jago Douma2019-11-272-12/+18
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Mode to modern phpunitRoeland Jago Douma2019-11-276-33/+34
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-276-9/+9
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some php-cs fixesRoeland Jago Douma2019-11-225-7/+10
| | | | | | | | | | | * 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>
* Fix files_external testsJoas Schilling2019-03-011-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add dispatcher events to User and Group objectsJoas Schilling2019-03-011-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* typos in doc, no code changesArthur Schiwon2019-02-151-0/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* files_external: allow to register config handlers for flexible placeholdersArthur Schiwon2019-02-141-15/+60
| | | | | | | | * BackendService (directly accessable via \OC_Server) offers registerConfigHandler * SimpleSubstitutionTrait brings reusable logic for simple string replacments * internal $user replacement mechanism was migrated Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* use DAV instead of SMB for deletion testsRobin Appelman2018-06-211-5/+4
| | | | | | SMB storages can't be constructed on drone because of missing dependencies Signed-off-by: Robin Appelman <robin@icewind.nl>
* update icewind/smb to 3.0.0Robin Appelman2018-06-211-1/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix risky tests without assertionsJoas Schilling2018-01-251-13/+13
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headersMorris Jobke2017-11-064-0/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ::class in test mocksMorris Jobke2017-10-242-7/+11
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* adjust tests to new failed storage handlingRobin Appelman2017-09-061-8/+7
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix getMock files_externalRoeland Jago Douma2016-09-064-11/+20
|
* Update with robinJoas Schilling2016-07-215-5/+5
|
* Fix apps/Joas Schilling2016-07-216-10/+16
|
* Add option to `occ files_external:list` to show all configured mountsRobin Appelman2016-06-231-0/+10
|
* Update license headersLukas Reschke2016-05-264-0/+4
|
* Fix missing use statements in ext. str. testsJoas Schilling2016-05-251-0/+1
|
* Move remaining classes to PSR-4Joas Schilling2016-05-243-8/+8
|
* Move stuff from outside lib/ to PSR-4Joas Schilling2016-05-246-0/+2198