[BUGFIX] Fix the unit tests to work with PHPUnit 3.6
authorOliver Klee <typo3-coding@oliverklee.de>
Fri, 6 Apr 2012 23:54:46 +0000 (01:54 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 12 Apr 2012 16:26:48 +0000 (18:26 +0200)
commite2ddce00e6b74b37117d92829608866b5d613b7f
tree95de1cf6b63194ecbaedbb7742e4355baba29c3d
parent9957430557114397cdd052a4e2beab2fbb12a289
[BUGFIX] Fix the unit tests to work with PHPUnit 3.6

Phpunit 3.6 is no longer able to test for a generic Exception
class. The main part of this patch changes generic Exceptions to
better detailed subclasses to give more information on the error.

Change-Id: I2197b88fae4e90d8c5ceaa0f983f43ef1388ed02
Fixes: #35202
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10187
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
21 files changed:
t3lib/class.t3lib_compressor.php
t3lib/class.t3lib_lock.php
t3lib/config_default.php
t3lib/file/FileReference.php
t3lib/file/ProcessedFile.php
t3lib/file/Service/BackwardsCompatibility/TslibContentAdapterService.php
t3lib/file/Storage.php
t3lib/mail/class.t3lib_mail_mboxtransport.php
t3lib/mail/class.t3lib_mail_rfc822addressesparser.php
t3lib/tree/pagetree/class.t3lib_tree_pagetree_commands.php
tests/t3lib/class.t3lib_extmgmTest.php
tests/t3lib/file/Driver/LocalDriverTest.php
tests/t3lib/file/FactoryTest.php
tests/t3lib/file/FileTest.php
tests/t3lib/file/FolderTest.php
tests/t3lib/utility/class.t3lib_utility_mailTest.php
typo3/sysext/em/classes/connection/class.tx_em_connection_soap.php
typo3/sysext/form/Classes/Domain/Factory/Typoscript.php
typo3/sysext/scheduler/class.tx_scheduler_croncmd_normalize.php
typo3/sysext/scheduler/tasks/class.tx_scheduler_recyclergarbagecollection.php
typo3/sysext/scheduler/tasks/class.tx_scheduler_tablegarbagecollection.php