36 Commits (a99efca55116387acb2458461054ca2615279b8b)

Author SHA1 Message Date
Julius Härtl 9161f6ca4a Remove tests that just prove mocked calls and don't actually validate anything useful 5 years ago
Julius Härtl cab44b6311 Run oci tests against phpunit9/php8 5 years ago
Joas Schilling cd35a5c71d
Make Testcase class compatible with phpunit-9.5 5 years ago
dependabot-preview[bot] eb502c02ff
Bump nextcloud/coding-standard from 0.3.0 to 0.5.0 5 years ago
Christoph Wurst f0c6cfde3a
Rollback failed transactions in TestCase.php to not break followup tests 5 years ago
Roeland Jago Douma b668850aa1
Fix filesystem tests 5 years ago
Morris Jobke f5a52e941c
Overwrite also the new command bus name to execute them in sync in the tests 5 years ago
Morris Jobke 234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 5 years ago
Joas Schilling bab4fb98eb
Fix overwriteService() for apps 5 years ago
Robin Appelman 37c334a2a6
ensure mounts are scanned during tests 5 years ago
Christoph Wurst 1584c9ae9c
Add visibility to all methods and position of static keyword 6 years ago
Christoph Wurst a7c8d26d31
Add visibility to all properties and move static keyword 6 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst 44577e4345
Remove trailing and in between spaces 6 years ago
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation 6 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 6 years ago
Christoph Wurst 2ee65f177e
Use the shorter phpunit syntax for mocked return values 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Arthur Schiwon eded07f28f
whitelist audit.log 7 years ago
Joas Schilling c3424df1f0
Require PHPUnit 6.5 or higher 8 years ago
Morris Jobke 55532f19d9
Cleanup OC_User and OCP\User 8 years ago
Morris Jobke 43e498844e
Use ::class in test mocks 8 years ago
Robin Appelman 9731350ace split async test bus for easier subclassing 8 years ago
Morris Jobke 5b4adf66e5
Move OC_Defaults to OCP\Defaults 9 years ago
Roeland Jago Douma 0fb5776133
Fix NODB tests etc 9 years ago
Roeland Jago Douma 1565177fb5
Revert "Add a magic wrapper to allow phpunit4 to run the code again " 9 years ago
Thomas Müller b62b82c2de
Fix reporting of risky tests 9 years ago
Joas Schilling e76ef9aaa8
Add a magic wrapper from hell to allow phpunit4 to run the code again 9 years ago
Thomas Müller 506ccdbd8d
Introduce an event for first time login based on the last login time stamp 9 years ago
Joas Schilling 4393e8003b
Make sure the database is not replaced while we make a backup of the service 9 years ago
Lukas Reschke 6920e609c0
Adjust tests and DI for Share.php 9 years ago
Vincent Petry f737426eca
Add using casing check/fix for initMountPoints 9 years ago
Joas Schilling 9f2d9895a5
Restore all services when a tests failed/finished for better testcase isolation 9 years ago
Lukas Reschke a1f5364d7f
Generate coverage for quick DB tests 9 years ago
Joas Schilling db710e0b03
Make tests work with 4.8 at least 9 years ago
Robin Appelman e8e950a4d2
more efficient querying of numeric storage ids 9 years ago
Robin Appelman 2693ae870e cache user folders 9 years ago
Thomas Pulzer 90b7f74da7 Changed name of default logfile from owncloud.log to nextcloud.log. 10 years ago
Vincent Petry 5b1eb416d8
Fix TestCase::invokePrivate to work with static classes 10 years ago
Joas Schilling f8180391fd
Create a Fallback in the old autoloader for PSR-4 Test\TestCase 10 years ago
Roeland Jago Douma eb79b83831
Move functions.php to legacy 10 years ago
Thomas Müller fdee771aca Add unit testing capabilities for templates (#23708) 10 years ago
Stefan Weil 02e226a6b3 tests: Fix typos (found by codespell) 10 years ago
Joas Schilling 70396581eb Add tests for findLanguage() 10 years ago
Roeland Jago Douma 98c4951f45 getLowStrengthGenerator does not do anything anymore 10 years ago
Vincent Petry d7169ffdec Restore DB connection after failure 10 years ago
Thomas Müller 2709244acd Only perform tearDown operations on the database if we have a connection to it ..... 10 years ago
Thomas Müller 26f416b9f5 Assert that there are no xml error left 10 years ago
Thomas Müller dddfa6de78 Don't break app on travis 10 years ago
Thomas Müller 03ee3b9aec A TestCase which is not annotated to be in group DB will not allow access to the database connection. 10 years ago