Commit Graph

30 Commits (master)

Author SHA1 Message Date
Andy Scherzinger 1f7e2ba599
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
1 week ago
Christoph Wurst 0e64ec6550
chore: Install phpunit via vendor bin
This means we can all run the same version. And when switching to
stableX it can pull the corresponding version too. Also local dev envs
and CI run the same phpunit.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
8 months ago
Christoph Wurst 2a529e453a
Use a blank line after the opening tag
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
Joas Schilling c3424df1f0
Require PHPUnit 6.5 or higher
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Roger Szabo 5fa218051b unit test adjustment
Signed-off-by: Roger Szabo <roger.szabo@web.de>
7 years ago
Joas Schilling 94ad54ec9b Move tests/ to PSR-4 (#24731)
* 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
8 years ago
Joas Schilling 54250ed065
Add PSR-4 loading for Test\ and Tests\ 8 years ago
Robin McCorkell 08d2202abb Load all enabled apps in test bootstrap 9 years ago
Robin Appelman e9b91b1798 verify the path in the autoloader 9 years ago
Thomas Müller 403deb2a33 Fixing unit test execution 9 years ago
Thomas Müller d3ac73c0c9 Remove OC_Log 9 years ago
Lukas Reschke e6b0a7a55a Remove check for RAW_POPULATE_POST_DATA for unit tests
We do have a work around meanwhile and for CLI this is not relevant at all. Can be removedWe do have a work around meanwhile and for CLI this is not relevant at all. Can be removed.
9 years ago
Thomas Müller 1b42b492dc kill OC_FileProxy 💥 9 years ago
Lukas Reschke d0c6af2cb5 Disable bootstrap.php checks when HHVM is used 9 years ago
Thomas Müller 9aeeb2605b Check for PHP configuration before executing unit tests 9 years ago
Robin McCorkell b754a8261a Load apps in test situations 10 years ago
Vincent Petry ef2c176eef Merge pull request #7678 from owncloud/test-bootstrap-fileproxy-cleanup
Cleanup the fileproxy proxies on test bootstrap
10 years ago
Robin Appelman a8eb7a5092 Allow setting the config dir to use as enviroment variable for phpunit 10 years ago
Bart Visscher d798169037 Cleanup the fileproxy proxies on test bootstrap 10 years ago
Thomas Müller f8933eaf92 Remove $RUNTIME_NOAPPS - setting to false was not enough 11 years ago
Thomas Müller d1b5d65622 run unit tests for apps as well 11 years ago
Thomas Mueller 77369d8164 disable error handler while running phpunit 11 years ago
Thomas Mueller ef88ceba8c drop SimpleTest compatibility 11 years ago
Bart Visscher 04aa029cd3 Disable loading apps before starting tests
The tests it self should load the app if needed
12 years ago
Felix Moeller f8d1d7787e Checkstyle fixes for SpaceBeforeOpenBrace 12 years ago
Robin Appelman 6695b29053 fix running app tests 12 years ago
Bart Visscher 730d7c4e7d Disable loading apps before starting tests 12 years ago
Robin Appelman d589869a34 disable log when running tests 12 years ago
Robin Appelman 6f3e039e78 clear all hooks when running tests 12 years ago
Robin Appelman 22f8f50e05 initual phpunit support 12 years ago