ZF-2282: PHPUnit_Extensions_ExceptionTestCase deprecated in PHPUnit 3.2.0

Issue Type: Unit Tests: Improvement Created: 2007-12-07T09:41:24.000+0000 Last Updated: 2008-02-26T14:52:15.000+0000 Status: Resolved Fix version(s): - 1.0.4 (26/Feb/08)

Reporter: Lars Strojny (lars) Assignee: Ryan Boyd (rboyd) Tags: - Zend_Gdata

Related issues: Attachments: - exception-testcase.diff


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


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:… and…

Posted by Martin Hujer (mhujer) on 2008-01-31T04:07:17.000+0000


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.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.