aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Command
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #43387 from nextcloud/fix/migrate-away-from-ilogger-in-jobsCôme Chilliet2024-02-081-1/+1
|
* Revert "Merge branch 'master' of github.com:nextcloud/server"Louis Chemineau2024-02-081-1/+1
| | | | | This reverts commit d9d60238c7aaab9c61bf2d50c15aa59bc88c8975, reversing changes made to ba3fdb0cdcfbb84f0080a2146a4ba2f01569915d.
* chore: Remove last uses of IJob::execute methodCôme Chilliet2024-02-081-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore(3rdparty): remove opis/closureDaniel Kesselberg2023-09-221-7/+0
| | | | | | | - We are using laravel/serializable-closure for a while now. - The package was there for compatibility reasons but does not play nice with PHP 8.1. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #32868 from ↵blizzz2022-06-211-0/+7
|\ | | | | | | | | nextcloud/fix/replace-opis-closure-by-laravel-fork Replace opis/closure by laravel/serializable-closure
| * Add a test about unserializing data from opis/closure serializationCôme Chilliet2022-06-201-0/+7
| | | | | | | | | | | | We need to be able to unserialize data from before upgrade. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Remove at matcher uses in tests/libCôme Chilliet2022-06-162-240/+248
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-122-5/+5
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix unit testsJoas Schilling2020-06-262-9/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add visibility to all methods and position of static keywordChristoph Wurst2020-04-101-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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>
* Fix multiline commentsChristoph Wurst2020-04-081-22/+22
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-252-42/+42
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Mode to modern phpunitRoeland Jago Douma2019-11-274-4/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix signCoretestsRoeland Jago Douma2019-11-271-5/+5
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* SignApp fixesRoeland Jago Douma2019-11-271-4/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-274-4/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some php-cs fixesRoeland Jago Douma2019-11-223-5/+7
| | | | | | | | | | | * 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 AsyncBusTestsRoeland Jago Douma2019-02-141-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add proper EOLMorris Jobke2017-09-041-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* split async test bus for easier subclassingRobin Appelman2017-08-242-27/+79
|
* Add proper testsLukas Reschke2016-12-192-17/+105
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix getMock Command/IntergrityRoeland Jago Douma2016-09-072-32/+31
|
* Move tests/ to PSR-4 (#24731)Joas Schilling2016-05-204-0/+699
* 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