Re: PHPUnit and assertSame()

From: Date: Tue, 21 Dec 2004 17:28:25 +0000
Subject: Re: PHPUnit and assertSame()
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-35201@lists.php.net to get a copy of this message
Sebastian Bergmann wrote: > In PHPUnit-1.1.0 I removed the assertSame() [1] assertion method from > the PHP 4 port of PHPUnit. To make the PEAR QA people happy I re-added assertSame() and assertNotSame() to the PHP 4 version of PHPUnit and it will be part of PHPUnit-1.2.0. These new versions of the methods will, however, now behave like their PHPUnit2 counterparts and only work on objects or NULL (which they were documented to do, btw.) and no longer work on strings, for instance. Additionally, they only work with PHP 5, since (as I stated before) their functionality cannot be implemented in PHP 4. I hope that everyone (except myself) is happy now. A very frustrated Sebastian -- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69

« previous php.pear.dev (#35201) next »