[TASK] Replace @expectedException annotation in sysext:frontend 00/48500/2
authorNadir Sunar <dernadir@gmail.com>
Wed, 8 Jun 2016 10:50:32 +0000 (12:50 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 8 Jun 2016 17:37:27 +0000 (19:37 +0200)
commit94be86abe2c1534798105757d43f21358ab190a5
tree46507b4f9f52e61354c12c5ca976eb1db1c9b73d
parent56ae8e7d3f64cafe98be881656288ca1b4e43cbf
[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>
typo3/sysext/frontend/Tests/Unit/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php
typo3/sysext/frontend/Tests/Unit/ContentObject/ContentDataProcessorTest.php
typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php
typo3/sysext/frontend/Tests/Unit/ContentObject/FluidTemplateContentObjectTest.php
typo3/sysext/frontend/Tests/Unit/ContentObject/Menu/AbstractMenuContentObjectTest.php
typo3/sysext/frontend/Tests/Unit/ContentObject/Menu/MenuContentObjectFactoryTest.php
typo3/sysext/frontend/Tests/Unit/Processor/GalleryProcessorTest.php
typo3/sysext/frontend/Tests/Unit/View/AdminPanelViewTest.php