ZF-2282: PHPUnit_Extensions_ExceptionTestCase deprecated in PHPUnit 3.2.0

Description

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

Comments

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: http://phpunit.de/wiki/ChangeLog32/… and http://phpunit.de/pocket_guide/3.2/…

Hi,

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.