90289[TASK] Add functional test for ViewFactory
Commit message
Review
-
Code review CR +2 Done
- Christian Kuhn +2
- Garvin Hicking +1
- Stefan Bürk +1
-
Verified V +2 Done
- Christian Kuhn +2
- Oliver Klee +1
- Garvin Hicking +1
- Stefan Bürk +1
- core-ci +1 CI
Issues 1
Files 11
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_viewfactory_customview/Classes/View/CustomView.phpnew+42 −0
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_viewfactory_customview/Classes/View/CustomViewFactory.phpnew+30 −0
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_viewfactory_customview/Configuration/Services.yamlnew+13 −0
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_viewfactory_customview/composer.jsonnew+20 −0
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_viewfactory_customview/ext_emconf.php4new+22 −0
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_viewfactory_target/Classes/Service/TestService.phpnew+43 −0
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_viewfactory_target/Configuration/Services.yamlnew+8 −0
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_viewfactory_target/composer.jsonnew+19 −0
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_viewfactory_target/ext_emconf.phpnew+21 −0
- typo3/sysext/core/Tests/Functional/View/ViewFactoryInjectionTest.phpnew+42 −0
- composer.json+2 −0
Review log 2533
Show 78 earlier messages
-
Simon Praetorius uploaded patch set 1 08/08/25, 07:50
-
core-ci voted on patch set 1 V +1 08/08/25, 07:57 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/82991
-
Oliver Klee voted on patch set 1 V +1 08/08/25, 08:09
-
Simon Schaufelberger voted on patch set 1 CR +1 V +1 08/08/25, 20:47
-
Stefan Bürk commented on patch set 1 CR -1 08/10/25, 23:47
Going to add some comments to the fixture extension code, just in case people may use that as example but replaceing "default" ViewFactory implentation in a broader scope which should use then the `service decorator pattern). Don't get me wrong, the fixture extension demostrated implementing a custom viewfactory for a dedicated use in that extension. I just want to make that clear for people not understanding DI and the code correctly and simply copy&pasting code. On it (tomorrow) ... -
Simon Praetorius commented on patch set 1 08/11/25, 06:51
Reply
Great idea, thanks! -
Simon Praetorius commented on patch set 1 08/11/25, 06:52
Reply
Done -
Stefan Bürk uploaded patch set 2
CR +1V +108/11/25, 14:21
-
Oliver Klee voted on patch set 2 V +1 08/11/25, 14:23
-
core-ci voted on patch set 2 V +1 08/11/25, 14:29 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/83149
-
Stefan Bürk voted on patch set 2 CR +1 V +1 08/11/25, 14:33
-
Simon Praetorius uploaded patch set 3
CR +1V +108/11/25, 15:34 -
core-ci voted on patch set 3 V -1 08/11/25, 15:42 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/83150
-
Stefan Bürk commented on patch set 4
V -108/11/25, 18:33Published edit on patch set 3. -
core-ci voted on patch set 4 V -1 08/11/25, 18:41 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/83152
-
Simon Praetorius commented on patch set 4 08/11/25, 18:42
ext_emconf.php:17maybe also set to `*` here? -
Stefan Bürk commented on patch set 4 08/12/25, 00:03
ext_emconf.php:17ReplyNope and my change not needed at all. It's a hickup in the `checkComposer` integrity check. Test fixture extensins are not in root composer.json require/require-dev section when found in a `composer.json` (systemextension or test-fixture extension in tests subfolder) as require or require dev. System extensions are already ignored for checking if root composer.json has all 3rd party components listed. As we have now two test-fixture extensions where one requires the other one, that fails now. I'd say we need to skip test-fixture extensions composer package names (`typo3tests/*`) to not require them in the root composer.json. Will recheck that tomorrow and pushing a pre-change, so stay tuned. -
Stefan Bürk rebased onto patch set 5
V -108/12/25, 08:37 -
Stefan Bürk updated the commit message in patch set 6 08/12/25, 08:37
-
Stefan Bürk uploaded patch set 7 08/12/25, 08:38
-
core-ci voted on patch set 6 V +1 08/12/25, 08:51 Copied votes on follow-up patch sets have been updated: * Verified+1 has been copied to patch set 7 (copy condition: "changekind:NO_CHANGE"). Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/83185
-
core-ci voted on patch set 5 V +1 08/12/25, 08:53 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/83183
-
core-ci voted on patch set 7 V +1 08/12/25, 08:55 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/83187
-
Stefan Bürk commented on patch set 7 08/12/25, 09:04
ext_emconf.php:17ReplySet to wip for the timebeeing, needs https://review.typo3.org/c/Packages/TYPO3.CMS/+/90336 to be merged first. -
Oliver Klee voted on patch set 7 V +1 08/12/25, 09:24
-
Stefan Bürk uploaded patch set 8
V +108/12/25, 12:29 -
Stefan Bürk commented on patch set 8 08/12/25, 12:30
ext_emconf.php:17ReplyDone -
core-ci voted on patch set 8 V +1 08/12/25, 12:37 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/83201
-
Oliver Klee voted on patch set 8 V +1 08/12/25, 13:04
-
Stefan Bürk voted on patch set 8 CR +1 V +1 08/12/25, 15:31
-
Garvin Hicking commented on patch set 8 CR +1 V +1 08/12/25, 16:30
Shiny! -
Christian Kuhn voted on patch set 8 CR +2 V +2 08/12/25, 18:38
-
Christian Kuhn merged patch set 9 08/12/25, 18:44