cvs: pear /PHPUnit PHPUnit_RepeatedTest.php PHPUnit_TestDecorator.php
| From: | Sebastian Bergmann | Date: | Fri, 12 Jul 2002 05:03:07 +0000 |
| Subject: | cvs: pear /PHPUnit PHPUnit_RepeatedTest.php PHPUnit_TestDecorator.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-5061@lists.php.net to get a copy of this message | ||
sebastian Fri Jul 12 01:03:07 2002 EDT
Modified files:
/pear/PHPUnit PHPUnit_RepeatedTest.php PHPUnit_TestDecorator.php
Log:
Fix parse errors.
Index: pear/PHPUnit/PHPUnit_RepeatedTest.php
diff -u pear/PHPUnit/PHPUnit_RepeatedTest.php:1.1 pear/PHPUnit/PHPUnit_RepeatedTest.php:1.2
--- pear/PHPUnit/PHPUnit_RepeatedTest.php:1.1 Thu Jul 11 13:48:52 2002
+++ pear/PHPUnit/PHPUnit_RepeatedTest.php Fri Jul 12 01:03:07 2002
@@ -16,7 +16,7 @@
// | Author: Sebastian Bergmann <sb@sebastian-bergmann.de> |
// +----------------------------------------------------------------------+
//
-// $Id: PHPUnit_RepeatedTest.php,v 1.1 2002/07/11 17:48:52 sebastian Exp $
+// $Id: PHPUnit_RepeatedTest.php,v 1.2 2002/07/12 05:03:07 sebastian Exp $
//
require_once 'PHPUnit/PHPUnit_TestDecorator.php';
@@ -56,7 +56,6 @@
*/
function countTestCases() {
return $this->_timesRepeat * $this->_test->countTestCases();
- }
}
/**
Index: pear/PHPUnit/PHPUnit_TestDecorator.php
diff -u pear/PHPUnit/PHPUnit_TestDecorator.php:1.2 pear/PHPUnit/PHPUnit_TestDecorator.php:1.3
--- pear/PHPUnit/PHPUnit_TestDecorator.php:1.2 Thu Jul 11 13:10:14 2002
+++ pear/PHPUnit/PHPUnit_TestDecorator.php Fri Jul 12 01:03:07 2002
@@ -16,12 +16,9 @@
// | Author: Sebastian Bergmann <sb@sebastian-bergmann.de> |
// +----------------------------------------------------------------------+
//
-// $Id: PHPUnit_TestDecorator.php,v 1.2 2002/07/11 17:10:14 sebastian Exp $
+// $Id: PHPUnit_TestDecorator.php,v 1.3 2002/07/12 05:03:07 sebastian Exp $
//
-require_once 'PHPUnit/PHPUnit_Assert.php';
-require_once 'PHPUnit/PHPUnit_TestResult.php';
-
/**
* A Decorator for Tests.
* Use TestDecorator as the base class for defining new
@@ -32,7 +29,7 @@
* @author Sebastian Bergmann <sb@sebastian-bergmann.de>
* Based upon JUnit, see http://www.junit.org/ for
details.
*/
-class PHPUnit_TestDecorator extends PHPUnit_Assert {
+class PHPUnit_TestDecorator {
/**
* The Test to be decorated.
*
@@ -76,7 +73,6 @@
*/
function countTestCases() {
return $this->_test->countTestCases();
- }
}
/**