[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:47:39 +0000 (18:47 +0200)
commit89232cdbe21fdf813702a5a22fa14fa7fe68029e
tree3eaa99645ae34e14d0c40020a9dba8088f9795df
parent573c4803316892179b73b20dd9d45ce968263fcf
[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: I286ae33bfaffec3e347fbb1a67910aeb3afa623e
Fixes: #35202
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10352
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
t3lib/config_default.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/utility/t3lib_utility_mailTest.php
typo3/sysext/em/classes/connection/class.tx_em_connection_soap.php
typo3/sysext/scheduler/class.tx_scheduler_croncmd_normalize.php