ZF-2282: PHPUnit_Extensions_ExceptionTestCase deprecated in PHPUnit 3.2.0


The ExceptionTestCase has been included in the PHPUnit_Framework_TestCase starting from PHPUnit 3.2.0


Use PHPUnit_Framework_TestCase instead of the exception test case extension.

Added component and assigned to Ryan that actually maintains Zend_Gdata package.

@ Ryan I confirm the report, more details at:… and…


this bug cause error when running all tests:

This is shown: Notice: Class PHPUnit_Extensions_ExceptionTestCase is deprecated. It will be removed in PHPUnit 3.3. The functionality has been merged into PHPUnit_Framework_TestCase. in I:\xampp\php\PEAR\PHPUnit\Extensions\ExceptionTestCase.php on line 56

And because of it, no tests are run and it ends like this: Fatal error: Uncaught exception 'Zend_Session_Exception' with message 'Session must be started before any output has been sent to the browser; output started in I:\xampp\php\PEAR\PHPUnit\Extensions\ExceptionTestCase.php/56' in I:\xampp\php\PEAR\Zend15\library\Zend\Session.php:362

Thanks everyone

This change has been fixed in rev 7775.