summaryrefslogtreecommitdiffstats
path: root/tests/lib/Support
Commit message (Collapse)AuthorAgeFilesLines
* 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 DummySubscription for testsDaniel Kesselberg2020-07-092-0/+68
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Make the subscription registry lazyRoeland Jago Douma2020-07-091-2/+7
| | | | | | | This will allow to do lazy registration here which should allow for loading less (or at least only when needed!). Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Allow crash reporters registration during app bootstrapChristoph Wurst2020-06-191-5/+43
| | | | 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>
* Add system config flag to manually set that a subscription is availableJulius Härtl2020-03-101-1/+17
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Mode to modern phpunitRoeland Jago Douma2019-11-271-3/+3
| | | | 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>
* Fix subscription testsJulius Härtl2019-06-171-0/+12
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add interfaces to interact with subscription from support appMorris Jobke2019-05-131-0/+87
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow crash reporters to catpture any messageChristoph Wurst2019-05-091-0/+14
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add breadcrumb support to crash reportersChristoph Wurst2018-09-051-0/+15
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix risky tests without assertionsJoas Schilling2018-01-251-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add a mechanism to register crach reportersChristoph Wurst2017-11-141-0/+68
This adds a crash reporter registry, which is meant for third party apps to hook into the error logging/reporting chain. This way, external tools like Sentry can be used to track and aggregate system crashes. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>