nextcloud/tests/lib
Christoph Wurst 20fcfb5739
feat(app framework)!: Inject services into controller methods
Usually Nextcloud DI goes through constructor injection. This has the
implication that each instance of a class builds the full DI tree. That
is the injected services, their services, etc. Occasionally there is a
service that is only needed for one controller method. Then the DI tree
is build regardless if used or not.

If services are injected into the method, we only build the DI tree if
that method gets executed.

This is also how Laravel allows injection.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-18 14:00:38 +01:00
..
Accounts Fix tests 2022-11-22 10:06:19 +01:00
Activity
App set theming app to alwaysEnabled 2022-10-17 17:51:39 +02:00
AppFramework feat(app framework)!: Inject services into controller methods 2023-01-18 14:00:38 +01:00
Archive Avoid Deprecation warning from Zip tests on PHP 8.1 2021-12-16 09:58:40 +01:00
Authentication PublickKeyTokenProvider: Fix password update routine with password hash 2023-01-04 08:30:53 +01:00
Avatar Update avatars on update 2022-09-09 14:23:41 +02:00
BackgroundJob Fix API breakage by using a new method instead 2023-01-12 17:18:59 +01:00
Cache Move CappedMemoryCache to OCP 2022-07-14 15:54:31 +02:00
Calendar Fix errors in calendar tests saying function handleIMipMessage does not exists on ICreateFromString 2022-12-06 13:52:13 +01:00
Collaboration adjusts tests for CloudIdManager 2022-08-31 15:47:00 +02:00
Command Merge pull request #32868 from nextcloud/fix/replace-opis-closure-by-laravel-fork 2022-06-21 12:21:32 +02:00
Comments Delete comments that expired now 2022-07-25 11:30:20 -03:00
Contacts/ContactsMenu Fix unit tests of the ActionProviderStore 2023-01-04 16:17:43 +01:00
DB Fix dynamic properties and other problems in tests for PHP 8.2 2022-11-14 16:14:35 +01:00
Diagnostics Fix tests 2022-02-28 11:24:41 +01:00
DirectEditing Fix dynamic property creations in test files 2022-08-01 15:07:53 +02:00
Encryption Fix codestyle in modified files 2022-12-05 16:08:40 +01:00
EventDispatcher Migrate from ILogger to LoggerInterface where needed in the tests 2022-03-24 16:21:26 +01:00
Federation adjusts tests for CloudIdManager 2022-08-31 15:47:00 +02:00
Files Also update the unencrypted size of files when creating them with empty content 2022-12-07 19:12:06 +01:00
GlobalScale
Group Add group display name cache 2022-11-28 11:52:55 +00:00
Hooks
Http Add remote host validation API 2022-10-31 16:13:28 +01:00
IntegrityCheck Remove some more at matchers in tests/lib 2022-06-20 10:53:06 +02:00
L10N Cache available languages locally 2022-12-07 22:32:06 +01:00
Lock Cleanup lock related code 2022-05-12 15:09:58 +02:00
Lockdown Fix last tests 2021-12-02 10:39:49 +01:00
Log add unit test for ExceptionSerializer 2022-07-29 12:07:41 +02:00
Mail refactor AutoSubmittedValue to Headers\AutoSubmitted and adding 2023-01-03 15:15:35 +01:00
Memcache Add a built-in profiler inside Nextcloud 2022-04-04 10:28:26 +02:00
Metadata Fix dynamic property creations in test files 2022-08-01 15:07:53 +02:00
Migration Fix BackgroundRepairTest 2022-08-25 16:15:48 +02:00
Net Add remote host validation API 2022-10-31 16:13:28 +01:00
Notification Increase the fair-use push limit to 1.000 users 2022-11-18 15:39:23 +01:00
OCS Remove deprecated at matcher from tests/lib 2022-08-29 16:36:40 +02:00
Preview Adapt tests to new job constructors 2022-12-05 10:41:13 +01:00
PublicNamespace
Remote
Repair Move avatar clearing in the background 2022-09-26 15:26:31 +00:00
RichObjectStrings
Route Remove unused legacy ajax/list.php in files app 2023-01-09 15:18:37 +01:00
Security Fix syntax in VerificationTokenTest.php 2022-11-15 09:25:56 +01:00
Session
Settings Fix dynamic properties and other problems in tests for PHP 8.2 2022-11-14 16:14:35 +01:00
Share Cleanup tags and Share component 2022-09-29 15:15:28 +00:00
Share20 Merge pull request #34477 from nextcloud/bugfix/noid/sharee-recommendations-show-group-id 2022-12-09 22:39:28 +01:00
Support
SystemTag
Talk Add a Talk API for OCP 2022-02-04 08:53:18 +01:00
Template Drop 3rdparty root since it is unused and adjust tests 2022-12-07 23:55:32 +01:00
Traits Migrate from ILogger to LoggerInterface where needed in the tests 2022-03-24 16:21:26 +01:00
Updater Remove deprecated at matcher in Updater/VersionCheckTest.php 2022-08-29 15:11:18 +02:00
User spaces are allowed in userids 2023-01-10 13:25:27 +01:00
Util
AllConfigTest.php Cleanup AllConfig 2022-04-22 16:03:29 +02:00
APITest.php
AppConfigTest.php
AppScriptSortTest.php Sort app scripts topologically by its dependencies 2021-12-29 16:40:05 +01:00
AppTest.php set theming app to alwaysEnabled 2022-10-17 17:51:39 +02:00
AutoLoaderTest.php
CapabilitiesManagerTest.php
ConfigTest.php
ContactsManagerTest.php Fix ContactsManagerTest test 2022-09-30 13:20:04 +00:00
DateTimeFormatterTest.php Check style update 2022-01-13 00:19:07 +01:00
EmojiHelperTest.php Include more emoji chars to test and fixes after include it 2022-04-29 14:00:57 -03:00
ErrorHandlerTest.php Refactor the ErrorHandler into a dynamic class 2022-11-02 09:49:37 +01:00
FileChunkingTest.php
HelperStorageTest.php store unencrypted size in the unencrypted_size column 2022-08-16 13:54:26 +02:00
HookHelper.php
ImageTest.php increase preview_max_memory and make it easier to debug 2022-12-22 09:52:46 +01:00
InfoXmlTest.php
InitialStateServiceTest.php Fix ArrayAccess and JsonSerializable return types 2021-11-23 09:28:56 +01:00
InstallerTest.php Remove some more at matchers in tests/lib 2022-06-20 10:53:06 +02:00
LargeFileHelperGetFileSizeTest.php Move findBinaryFinder and isFunctionEnabled away from OC_Helper 2022-08-23 19:44:04 +02:00
LargeFileHelperTest.php
LegacyHelperTest.php
LoggerTest.php Fix logging data context to file 2022-05-02 19:29:35 +02:00
MemoryInfoTest.php
NaturalSortTest.php
NavigationManagerTest.php Add accessibility entry in user menu 2022-09-14 15:05:35 +02:00
RepairTest.php Fix RepairTest 2022-08-25 16:15:48 +02:00
ServerTest.php Inform ServerTest that TagMapper now uses QBMapper 2022-09-19 10:01:49 +00:00
SetupTest.php
SubAdminTest.php adjust tests to new fs setup 2022-03-04 16:29:59 +01:00
TagsTest.php Cleanup tags and Share component 2022-09-29 15:15:28 +00:00
TemplateFunctionsTest.php
TempManagerTest.php Migrate from ILogger to LoggerInterface where needed in the tests 2022-03-24 16:21:26 +01:00
TestCase.php adjust tests to new fs setup 2022-03-04 16:29:59 +01:00
TestMoveableMountPoint.php
UpdaterTest.php
UrlGeneratorTest.php Remove unused legacy ajax/list.php in files app 2023-01-09 15:18:37 +01:00
UtilCheckServerTest.php
UtilTest.php Make sure common and main core scripts are loaded first 2022-03-04 10:22:56 +01:00