cvs: pear(ZEND_ENGINE_2) /PHPUnit/PHPUnit Assert.php TestCase.php
| From: | Sebastian Bergmann | Date: | Fri, 17 Jan 2003 07:14:04 +0000 |
| Subject: | cvs: pear(ZEND_ENGINE_2) /PHPUnit/PHPUnit Assert.php TestCase.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-8327@lists.php.net to get a copy of this message | ||
sebastian Fri Jan 17 02:14:04 2003 EDT
Modified files: (Branch: ZEND_ENGINE_2)
/pear/PHPUnit/PHPUnit Assert.php TestCase.php
Log:
Workaround for PPP bug.
Index: pear/PHPUnit/PHPUnit/Assert.php
diff -u pear/PHPUnit/PHPUnit/Assert.php:1.1.2.10 pear/PHPUnit/PHPUnit/Assert.php:1.1.2.11
--- pear/PHPUnit/PHPUnit/Assert.php:1.1.2.10 Wed Jan 15 12:00:04 2003
+++ pear/PHPUnit/PHPUnit/Assert.php Fri Jan 17 02:14:03 2003
@@ -12,7 +12,7 @@
// | license@php.net so we can mail you a copy immediately. |
// +------------------------------------------------------------------------+
//
-// $Id: Assert.php,v 1.1.2.10 2003/01/15 17:00:04 sebastian Exp $
+// $Id: Assert.php,v 1.1.2.11 2003/01/17 07:14:03 sebastian Exp $
//
/**
@@ -278,7 +278,10 @@
* @param string
* @access public
*/
- protected function fail($message = '') {}
+ // XXX: FIX ME: This method should be 'protected'
+ // once a certain bug in the PPP system
+ // is resolved.
+ public function fail($message = '') {}
// }}}
// {{{ public function pass()
@@ -288,7 +291,10 @@
*
* @access public
*/
- protected function pass() {}
+ // XXX: FIX ME: This method should be 'protected'
+ // once a certain bug in the PPP system
+ // is resolved.
+ public function pass() {}
// }}}
}
Index: pear/PHPUnit/PHPUnit/TestCase.php
diff -u pear/PHPUnit/PHPUnit/TestCase.php:1.2.2.11 pear/PHPUnit/PHPUnit/TestCase.php:1.2.2.12
--- pear/PHPUnit/PHPUnit/TestCase.php:1.2.2.11 Wed Jan 15 12:04:30 2003
+++ pear/PHPUnit/PHPUnit/TestCase.php Fri Jan 17 02:14:03 2003
@@ -12,7 +12,7 @@
// | license@php.net so we can mail you a copy immediately. |
// +------------------------------------------------------------------------+
//
-// $Id: TestCase.php,v 1.2.2.11 2003/01/15 17:04:30 sebastian Exp $
+// $Id: TestCase.php,v 1.2.2.12 2003/01/17 07:14:03 sebastian Exp $
//
require_once 'PHPUnit/Assert.php';
@@ -220,7 +220,10 @@
* @param string
* @access protected
*/
- protected function fail($message = '') {
+ // XXX: FIX ME: This method should be 'protected'
+ // once a certain bug in the PPP system
+ // is resolved.
+ public function fail($message = '') {
$this->result->addFailure($this, $message);
}
@@ -232,7 +235,10 @@
*
* @access protected
*/
- protected function pass() {
+ // XXX: FIX ME: This method should be 'protected'
+ // once a certain bug in the PPP system
+ // is resolved.
+ public function pass() {
$this->result->addPassedTest($this);
}