[TASK] Replace @expectedException annotation in sysext:frontend
Use expectException() instead of @expectedException in unit tests and add expectedExceptionCode() where possible. This patch handles occurences in sysext:frontend. Releases: master Resolves: #76498 Change-Id: I7ad3759918267cf9c368c593d3fe4c4a6c3af258 Reviewed-on: https://review.typo3.org/48500 Reviewed-by:Jan Helke <typo3@helke.de> Tested-by:
Jan Helke <typo3@helke.de> Reviewed-by:
Joerg Boesche <typo3@joergboesche.de> Tested-by:
Joerg Boesche <typo3@joergboesche.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- typo3/sysext/frontend/Tests/Unit/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php 6 additions, 2 deletions...ion/TypoScript/ConditionMatching/ConditionMatcherTest.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/ContentDataProcessorTest.php 4 additions, 4 deletions...end/Tests/Unit/ContentObject/ContentDataProcessorTest.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php 6 additions, 8 deletions...nd/Tests/Unit/ContentObject/ContentObjectRendererTest.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/FluidTemplateContentObjectTest.php 4 additions, 2 deletions...sts/Unit/ContentObject/FluidTemplateContentObjectTest.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/Menu/AbstractMenuContentObjectTest.php 2 additions, 1 deletion...Unit/ContentObject/Menu/AbstractMenuContentObjectTest.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/Menu/MenuContentObjectFactoryTest.php 7 additions, 3 deletions.../Unit/ContentObject/Menu/MenuContentObjectFactoryTest.php
- typo3/sysext/frontend/Tests/Unit/Processor/GalleryProcessorTest.php 3 additions, 1 deletion...xt/frontend/Tests/Unit/Processor/GalleryProcessorTest.php
- typo3/sysext/frontend/Tests/Unit/View/AdminPanelViewTest.php 2 additions, 1 deletiontypo3/sysext/frontend/Tests/Unit/View/AdminPanelViewTest.php
Please register or sign in to comment