[TASK] Replace @expectedException with code wise test in ext:core
The patch replaces the @expectedException annotation with the phpUnit code wise methods. On every expectedException test we are especially take care to take the exception code in account. Also refactoring array syntax and line formats. Resolves: #76497 Releases: master Change-Id: Idee1c94cb5940e6d11d62abdb0c6132e4d02e9bb Reviewed-on: https://review.typo3.org/48506 Reviewed-by:Susanne Moog <typo3@susannemoog.de> Tested-by:
Susanne Moog <typo3@susannemoog.de> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
Showing
- typo3/sysext/core/Tests/Functional/Database/DatabaseConnectionTest.php 7 additions, 3 deletions...core/Tests/Functional/Database/DatabaseConnectionTest.php
- typo3/sysext/core/Tests/Unit/Cache/Backend/ApcBackendTest.php 3 additions, 1 deletion...3/sysext/core/Tests/Unit/Cache/Backend/ApcBackendTest.php
- typo3/sysext/core/Tests/Unit/Cache/Backend/FileBackendTest.php 23 additions, 8 deletions.../sysext/core/Tests/Unit/Cache/Backend/FileBackendTest.php
- typo3/sysext/core/Tests/Unit/Cache/Backend/MemcachedBackendTest.php 6 additions, 2 deletions...xt/core/Tests/Unit/Cache/Backend/MemcachedBackendTest.php
- typo3/sysext/core/Tests/Unit/Cache/Backend/PdoBackendTest.php 3 additions, 1 deletion...3/sysext/core/Tests/Unit/Cache/Backend/PdoBackendTest.php
- typo3/sysext/core/Tests/Unit/Cache/Backend/RedisBackendTest.php 45 additions, 14 deletions...sysext/core/Tests/Unit/Cache/Backend/RedisBackendTest.php
- typo3/sysext/core/Tests/Unit/Cache/Backend/TransientMemoryBackendTest.php 3 additions, 1 deletion...e/Tests/Unit/Cache/Backend/TransientMemoryBackendTest.php
- typo3/sysext/core/Tests/Unit/Cache/Backend/Typo3DatabaseBackendTest.php 28 additions, 9 deletions...ore/Tests/Unit/Cache/Backend/Typo3DatabaseBackendTest.php
- typo3/sysext/core/Tests/Unit/Cache/Backend/WincacheBackendTest.php 3 additions, 1 deletion...ext/core/Tests/Unit/Cache/Backend/WincacheBackendTest.php
- typo3/sysext/core/Tests/Unit/Cache/Backend/XcacheBackendTest.php 3 additions, 1 deletion...ysext/core/Tests/Unit/Cache/Backend/XcacheBackendTest.php
- typo3/sysext/core/Tests/Unit/Cache/CacheManagerTest.php 13 additions, 4 deletionstypo3/sysext/core/Tests/Unit/Cache/CacheManagerTest.php
- typo3/sysext/core/Tests/Unit/Cache/Frontend/AbstractFrontendTest.php 3 additions, 1 deletion...t/core/Tests/Unit/Cache/Frontend/AbstractFrontendTest.php
- typo3/sysext/core/Tests/Unit/Cache/Frontend/PhpFrontendTest.php 7 additions, 2 deletions...sysext/core/Tests/Unit/Cache/Frontend/PhpFrontendTest.php
- typo3/sysext/core/Tests/Unit/Cache/Frontend/StringFrontendTest.php 10 additions, 3 deletions...ext/core/Tests/Unit/Cache/Frontend/StringFrontendTest.php
- typo3/sysext/core/Tests/Unit/Cache/Frontend/VariableFrontendTest.php 6 additions, 2 deletions...t/core/Tests/Unit/Cache/Frontend/VariableFrontendTest.php
- typo3/sysext/core/Tests/Unit/Category/CategoryRegistryTest.php 12 additions, 8 deletions.../sysext/core/Tests/Unit/Category/CategoryRegistryTest.php
- typo3/sysext/core/Tests/Unit/Category/Collection/CategoryCollectionTest.php 5 additions, 2 deletions...Tests/Unit/Category/Collection/CategoryCollectionTest.php
- typo3/sysext/core/Tests/Unit/Collection/RecordCollectionRepositoryTest.php 3 additions, 1 deletion.../Tests/Unit/Collection/RecordCollectionRepositoryTest.php
- typo3/sysext/core/Tests/Unit/Configuration/ConfigurationManagerTest.php 7 additions, 3 deletions...ore/Tests/Unit/Configuration/ConfigurationManagerTest.php
- typo3/sysext/core/Tests/Unit/Core/ApplicationContextTest.php 3 additions, 1 deletiontypo3/sysext/core/Tests/Unit/Core/ApplicationContextTest.php
Please register or sign in to comment