aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/AppFramework/Db
Commit message (Collapse)AuthorAgeFilesLines
* chore: Add SPDX headerAndy Scherzinger2024-05-133-56/+8
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* composer run cs:fixCôme Chilliet2023-01-202-2/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Remove long depreated AppFramework/Db/MapperRoeland Jago Douma2022-10-102-506/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix reading blob data as resourceThomas Citharel2022-07-251-0/+17
| | | | | | | | | | | | | | | | PostgreSQL returns data as resource when using IQueryBuilder::PARAM_LOB (which is used for QBMapper). Previously we just converted this resource using settype, which produced things like "Resource id #14" instead of the actual resource data. Now we read the stream correctly if the returned data is a resource See context at #22472 Fixes #22439 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Add a metadata service to store file metadataCarl Schwan2022-04-131-7/+14
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Add Transactional trait for atomic DB operationsChristoph Wurst2022-02-171-0/+98
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Check style updateCarl Schwan2022-01-131-2/+2
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Bump doctrine/dbal from 2.12.0 to 3.0.0Christoph Wurst2021-01-081-11/+15
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Make sure we just check for the keysRoeland Jago Douma2020-12-071-5/+5
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-051-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-104-21/+26
| | | | | | | | | | | | | | | 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-093-43/+43
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-092-2/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix multiline commentsChristoph Wurst2020-04-081-19/+19
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-263-51/+51
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-252-6/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Mode to modern phpunitRoeland Jago Douma2019-11-272-21/+15
| | | | 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>
* Merge pull request #17948 from nextcloud/enh/check-if-property-is-boolRoeland Jago Douma2019-11-261-8/+35
|\ | | | | Make isXXX available for bool properties only
| * Make isXXX available for bool properties onlyDaniel Kesselberg2019-11-161-8/+35
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Some php-cs fixesRoeland Jago Douma2019-11-224-8/+4
|/ | | | | | | | | | | * 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>
* [#11236] Set parameter type in QBMapperMarius David Wieschollek2019-03-241-0/+241
| | | | Signed-off-by: Marius David Wieschollek <git.public@mdns.eu>
* Fix "Undefined method setExpectedException()"Joas Schilling2018-01-242-16/+17
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix getMock MapperTestUtilityRoeland Jago Douma2016-09-071-1/+1
|
* Move tests/ to PSR-4 (#24731)Joas Schilling2016-05-203-0/+727
* 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