[TASK] Replace @expectedException annotation in ext:fluid 65/48465/5
authorNadir Sunar <dernadir@gmail.com>
Mon, 6 Jun 2016 16:46:42 +0000 (18:46 +0200)
committerJan Helke <typo3@helke.de>
Tue, 7 Jun 2016 08:54:04 +0000 (10:54 +0200)
commit3cba8f2d465f21922af91030b84fc8540ad16599
treec8fb00039d5a8c5554fadd52e4b348c1f18e5c3f
parent26da329807e88b255694a1b0dc9b818c0bfe6d71
[TASK] Replace @expectedException annotation in ext:fluid

Use expectException() instead of @expectedException in unit
tests and add expectedExceptionCode() where possible.
This patch handles occurences in ext:fluid.

Releases: master
Resolves: #76474
Change-Id: Ie4a9a2c644f34e2b2bd9a1c48dcff60ac56d8194
Reviewed-on: https://review.typo3.org/48465
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
typo3/sysext/fluid/Tests/Unit/Core/ViewHelper/AbstractViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/Core/Widget/AbstractWidgetViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/Core/Widget/AjaxWidgetContextHolderTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/SelectViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/CaseViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/DateViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/ImageViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/TranslateViewHelperTest.php