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
The ExceptionTestCase has been included in the PHPUnit_Framework_TestCase starting from PHPUnit 3.2.0
Comments
Posted by Lars Strojny (lars) on 2007-12-07T09:42:08.000+0000
Use PHPUnit_Framework_TestCase instead of the exception test case extension.
Posted by Simone Carletti (weppos) on 2007-12-25T17:49:12.000+0000
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/…
Posted by Martin Hujer (mhujer) on 2008-01-31T04:07:17.000+0000
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
Posted by Ryan Boyd (rboyd) on 2008-02-03T11:36:57.000+0000
Thanks everyone
This change has been fixed in rev 7775.