[TASK] Modernize cache framework unit tests
* Less mocking * Don't test AbstractFrontend but implementations * Turn test-internal loops into data providers * General cleanup * Avoid phpunit 11 deprecations Resolves: #103214 Releases: main Change-Id: I87851d7ba6332161dc387bc6a5aea9661703428b Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83147 Tested-by:Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de>
Showing
- typo3/sysext/core/Tests/Unit/Cache/Backend/MockBackend.php 0 additions, 52 deletionstypo3/sysext/core/Tests/Unit/Cache/Backend/MockBackend.php
- typo3/sysext/core/Tests/Unit/Cache/Backend/TransientMemoryBackendTest.php 0 additions, 4 deletions...e/Tests/Unit/Cache/Backend/TransientMemoryBackendTest.php
- typo3/sysext/core/Tests/Unit/Cache/Backend/Typo3DatabaseBackendTest.php 10 additions, 13 deletions...ore/Tests/Unit/Cache/Backend/Typo3DatabaseBackendTest.php
- typo3/sysext/core/Tests/Unit/Cache/Fixtures/BackendConfigurationOptionFixture.php 0 additions, 3 deletions...Unit/Cache/Fixtures/BackendConfigurationOptionFixture.php
- typo3/sysext/core/Tests/Unit/Cache/Fixtures/BackendDefaultFixture.php 0 additions, 3 deletions.../core/Tests/Unit/Cache/Fixtures/BackendDefaultFixture.php
- typo3/sysext/core/Tests/Unit/Cache/Fixtures/BackendFixture.php 0 additions, 3 deletions.../sysext/core/Tests/Unit/Cache/Fixtures/BackendFixture.php
- typo3/sysext/core/Tests/Unit/Cache/Fixtures/BackendInitializeObjectFixture.php 0 additions, 3 deletions...ts/Unit/Cache/Fixtures/BackendInitializeObjectFixture.php
- typo3/sysext/core/Tests/Unit/Cache/Fixtures/FrontendBackendInstanceFixture.php 0 additions, 3 deletions...ts/Unit/Cache/Fixtures/FrontendBackendInstanceFixture.php
- typo3/sysext/core/Tests/Unit/Cache/Fixtures/FrontendDefaultFixture.php 0 additions, 3 deletions...core/Tests/Unit/Cache/Fixtures/FrontendDefaultFixture.php
- typo3/sysext/core/Tests/Unit/Cache/Fixtures/FrontendFixture.php 0 additions, 3 deletions...sysext/core/Tests/Unit/Cache/Fixtures/FrontendFixture.php
- typo3/sysext/core/Tests/Unit/Cache/Fixtures/FrontendIdentifierFixture.php 0 additions, 3 deletions...e/Tests/Unit/Cache/Fixtures/FrontendIdentifierFixture.php
- typo3/sysext/core/Tests/Unit/Cache/Fixtures/FrontendInitializeObjectFixture.php 0 additions, 3 deletions...s/Unit/Cache/Fixtures/FrontendInitializeObjectFixture.php
- typo3/sysext/core/Tests/Unit/Cache/Frontend/AbstractFrontendTest.php 0 additions, 206 deletions...t/core/Tests/Unit/Cache/Frontend/AbstractFrontendTest.php
- typo3/sysext/core/Tests/Unit/Cache/Frontend/PhpFrontendTest.php 206 additions, 19 deletions...sysext/core/Tests/Unit/Cache/Frontend/PhpFrontendTest.php
- typo3/sysext/core/Tests/Unit/Cache/Frontend/VariableFrontendTest.php 219 additions, 65 deletions...t/core/Tests/Unit/Cache/Frontend/VariableFrontendTest.php
Please register or sign in to comment