Kirill Subbotin wrote:
> + public static function suite()
> + {
> + return new PHPUnit_Framework_TestSuite(
> "ezcDocumentDocumentBasicTest" );
> + }
Since all tests have the same name as the class name (usually), I find
it easy to write:
<code>
public static function suite()
{
return new PHPUnit_Framework_TestSuite( __CLASS__ );
}
</code>
It makes copy-pasting much easier. :)
Maybe we can do this for all existing and new tests in the components?
--
Alexandru Stanoi
eZ Components System Developer
eZ Systems | http://ez.no
--
svn-components mailing list
[EMAIL PROTECTED]
http://lists.ez.no/mailman/listinfo/svn-components