cvs: pear /PHPUnit package.xml /PHPUnit/PHPUnit Skeleton.php

From: Date: Fri, 05 Nov 2004 20:45:49 +0000
Subject: cvs: pear /PHPUnit package.xml /PHPUnit/PHPUnit Skeleton.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-25711@lists.php.net to get a copy of this message
sebastian Fri Nov 5 15:45:49 2004 EDT Modified files: /pear/PHPUnit package.xml /pear/PHPUnit/PHPUnit Skeleton.php Log: Fix bug #2701. Patch vy Scott Mattocks <scott@crisscott.com>. http://cvs.php.net/diff.php/pear/PHPUnit/package.xml?r1=1.78&r2=1.79&ty=u Index: pear/PHPUnit/package.xml diff -u pear/PHPUnit/package.xml:1.78 pear/PHPUnit/package.xml:1.79 --- pear/PHPUnit/package.xml:1.78 Tue Oct 19 11:02:39 2004 +++ pear/PHPUnit/package.xml Fri Nov 5 15:45:47 2004 @@ -13,18 +13,12 @@ </maintainers> <license>PHP License</license> <release> - <version>1.1.0</version> + <version>1.1.1</version> <state>stable</state> - <date>2004-09-29</date> + <date>2004-11-05</date> <notes> <![CDATA[ -+ Added PHPUnit_Skeleton class for creating a PHPUnit_TestCase skeleton file. (Patch by Scott Mattocks <scott@crisscott.com>) - -+ Added PHPUnit_Assert::assertContains() and PHPUnit_Assert::assertNotContains() methods to assert that an array contains (or not contains) a given value or that a string contains (or not contains) a given substring. - -+ Added PHPUnit_Assert::assertNotRegexp() to assert that a string does not match a given regular expression. - -- Removed PHPUnit_Assert::assertSame() and PHPUnit_Assert::assertNotSame() since these assertion methods do not work with PHP 4. +Fixed bug #2701. ]]> </notes> <filelist> @@ -51,6 +45,22 @@ </release> <changelog> <release> + <version>1.1.0</version> + <state>stable</state> + <date>2004-09-29</date> + <notes> +<![CDATA[ ++ Added PHPUnit_Skeleton class for creating a PHPUnit_TestCase skeleton file. (Patch by Scott Mattocks <scott@crisscott.com>) + ++ Added PHPUnit_Assert::assertContains() and PHPUnit_Assert::assertNotContains() methods to assert that an array contains (or not contains) a given value or that a string contains (or not contains) a given substring. + ++ Added PHPUnit_Assert::assertNotRegexp() to assert that a string does not match a given regular expression. + +- Removed PHPUnit_Assert::assertSame() and PHPUnit_Assert::assertNotSame() since these assertion methods do not work with PHP 4. +]]> + </notes> + </release> + <release> <version>1.0.2</version> <state>stable</state> <date>2004-09-21</date> http://cvs.php.net/diff.php/pear/PHPUnit/PHPUnit/Skeleton.php?r1=1.3&r2=1.4&ty=u Index: pear/PHPUnit/PHPUnit/Skeleton.php diff -u pear/PHPUnit/PHPUnit/Skeleton.php:1.3 pear/PHPUnit/PHPUnit/Skeleton.php:1.4 --- pear/PHPUnit/PHPUnit/Skeleton.php:1.3 Fri Oct 1 02:11:39 2004 +++ pear/PHPUnit/PHPUnit/Skeleton.php Fri Nov 5 15:45:49 2004 @@ -12,7 +12,7 @@ // | license@php.net so we can mail you a copy immediately. | // +------------------------------------------------------------------------+ // -// $Id: Skeleton.php,v 1.3 2004/10/01 06:11:39 sebastian Exp $ +// $Id: Skeleton.php,v 1.4 2004/11/05 20:45:49 sebastian Exp $ // /** @@ -300,7 +300,7 @@ " {\n" . " \$result = \$this->" . $this->className . "->" . $methodName . "(PARAM);\n" . " \$expected = EXPECTED_VAL;\n" . - " \$this->assertEquals(\$result, \$expected);\n" . + " \$this->assertEquals(\$expected, \$result);\n" . " }\n\n"; }

« previous php.pear.cvs (#25711) next »