Commit Graph

23 Commits (bbba7bc45acdbfb7d69edf7998db2cd8871682bd)

Author SHA1 Message Date
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 8 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
Joas Schilling 42b29e39c1 Clear the shares after the test like storages and files 10 years ago
Martin 491250320a Replaces if ($file === '.' || $file === '..') by if(\OC\Files\Filesystem::isIgnoredDir($file)). Eases to find where this operation is used. 10 years ago
Robin Appelman 3dbfbdaf54 allow moving common test logic into traits 11 years ago
Thomas Müller f55aa856ad Remove file mapper - was only use in Windows and never worked properly 11 years ago
Vincent Petry eae08d0adc Release locks after class in tests 11 years ago
Vincent Petry 538e466c30 Keep shared locks in post hooks 11 years ago
Vincent Petry 4497aa4c68 Webdav PUT small file lock must be shared during hooks 11 years ago
Joas Schilling d3e3a84cae Move the helpful method to the TestCase class 11 years ago
Robin Appelman b98dd3ceb8 release all locks after test 11 years ago
Robin Appelman a5d652a6b8 fix tests 11 years ago
Robin Appelman 415f16eb24 fix tests 11 years ago
Vincent Petry eab55aa959 Properly log out test users in unit tests 11 years ago
Vincent Petry f8cfc03f36 Replace originalStorage in tests with a proper teardown 11 years ago
Thomas Müller 1b42b492dc kill OC_FileProxy 💥 11 years ago
Robin Appelman ddd6a67d2a Handle exceptions thrown during hooks when running unit tests 11 years ago