nextcloud/tests/lib
Christoph Wurst 9010937535 Fix app fetcher php comparison to allow wider ranges
When app app specifies php 7.4 as upper limit we have to allow the
installation on php>7.4.0. The previous version check didn't do that.
This adjusts the regexes to discard any irrelevant suffix after the
three version numbers so that we can use more fine granular checks than
php's version_compare can do out of the box, like for php 7.4 we only
compare the major and minor version numbers and ignore the patch level.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-27 14:51:54 +00:00
..
Accounts Don't leave cursors open when tests fail 2020-11-10 14:18:02 +00:00
Activity Fix activity tests again 2020-08-18 18:21:03 +02:00
App Fix app fetcher php comparison to allow wider ranges 2021-01-27 14:51:54 +00:00
AppFramework Set frame-ancestors to none if none are filled 2020-12-01 22:23:13 +01:00
Archive Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Authentication Allow configuring the activity update interval of token 2020-10-06 08:04:12 +00:00
Avatar Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
BackgroundJob Remove getLastJob from IJobList 2020-08-13 21:50:06 +02:00
Cache Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
Calendar Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Collaboration Show unique displayname context in the sharing input 2021-01-05 10:05:52 +01:00
Command Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Comments Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Contacts/ContactsMenu Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
DB DB: warn on parameter number constraints 2021-01-14 13:03:54 +01:00
Diagnostics Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
DirectEditing Do not expose direct editing if no master key is available 2020-09-01 11:40:27 +02:00
Encryption New SSE key format 2020-08-20 15:42:43 +02:00
Federation set the display name of federated sharees from addressbook 2020-11-24 22:52:31 +01:00
Files Merge pull request #24592 from nextcloud/backport/23912/stable20 2021-01-07 13:28:10 +01:00
GlobalScale Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Group Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Hooks Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Http/Client Revert "Do not read certificate bundle from data dir by default" 2020-12-04 13:37:10 +01:00
IntegrityCheck Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
L10N Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Lock Don't leave cursors open when tests fail 2020-11-10 14:18:02 +00:00
Lockdown Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Log Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Mail Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Memcache Add visibility to all constants 2020-04-10 16:54:27 +02:00
Migration Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Notification Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
OCS Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Preview Fix existing test and add a specific one for the new case 2020-08-13 23:24:21 +02:00
PublicNamespace Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Remote Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Repair Fix repair mimetype step to not leave stray cursors 2020-11-10 10:27:09 +01:00
RichObjectStrings Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Route Only load routes of the app which is requested 2020-08-19 21:58:20 +02:00
Security Don't break when the IP is empty 2020-09-10 14:20:27 +02:00
Session Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Settings Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Share Update share type constant usage 2020-06-24 16:49:16 +02:00
Share20 use file name instead of path in 'not allowed to share' message 2020-11-19 21:44:42 +00:00
Support Add notification for user limit 2020-12-02 17:24:44 +00:00
SystemTag Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Template Clear cached app config while waiting for the SCSSCache to finish processing the file 2020-10-16 15:46:59 +02:00
Traits Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Updater Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
User Fix unit tests 2020-08-19 11:20:36 +02:00
Util Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
APITest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
AllConfigTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
AppConfigTest.php Add github action for oci8 2020-11-12 12:57:50 +01:00
AppTest.php Add visibility to all constants 2020-04-10 16:54:27 +02:00
AutoLoaderTest.php Remove trailing and in between spaces 2020-04-09 16:07:47 +02:00
CapabilitiesManagerTest.php Unify function spacing to PSR2 recommendation 2020-04-09 13:54:22 +02:00
ConfigTest.php Remove deprecated test of internal attributes via assertAttributeEquals 2020-07-23 17:11:29 +02:00
ContactsManagerTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
DateTimeFormatterTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
ErrorHandlerTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
FileChunkingTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
HelperStorageTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
HookHelper.php Use the short array syntax, everywhere 2020-03-26 16:34:56 +01:00
ImageTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
InfoXmlTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
InitialStateServiceTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
InstallerTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
LargeFileHelperGetFileSizeTest.php Don't use deprecated getIniWrapper() anymore 2020-08-20 16:35:38 +02:00
LargeFileHelperTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
LegacyHelperTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
LoggerTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
MemoryInfoTest.php Use a blank line after the opening tag 2020-04-09 11:50:14 +02:00
NaturalSortTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
NavigationManagerTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
RepairStepTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ServerTest.php Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
SetupTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
SubAdminTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
TagsTest.php Make sure getUsersFavoritingObject can be run without a user 2020-10-07 11:10:38 +00:00
TempManagerTest.php Remove unneeded import 2020-08-20 16:53:34 +02:00
TemplateFunctionsTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
TestCase.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
TestMoveableMountPoint.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
UpdaterTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
UrlGeneratorTest.php Properly inject IRouter into URLGenerator to properly encapsulate tests 2020-08-19 22:00:47 +02:00
UtilCheckServerTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
UtilTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00