cvs: pear(ZEND_ENGINE_2) /PHPUnit/Framework AssertionFailedError.php

From: Date: Sun, 08 Jun 2003 10:16:35 +0000
Subject: cvs: pear(ZEND_ENGINE_2) /PHPUnit/Framework AssertionFailedError.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-10766@lists.php.net to get a copy of this message
sebastian Sun Jun 8 06:16:35 2003 EDT Modified files: (Branch: ZEND_ENGINE_2) /pear/PHPUnit/Framework AssertionFailedError.php Log: XXX: FIX ME: Built-In Exception's constructor call Index: pear/PHPUnit/Framework/AssertionFailedError.php diff -u pear/PHPUnit/Framework/AssertionFailedError.php:1.1.2.2 pear/PHPUnit/Framework/AssertionFailedError.php:1.1.2.3 --- pear/PHPUnit/Framework/AssertionFailedError.php:1.1.2.2 Sat Jun 7 02:25:59 2003 +++ pear/PHPUnit/Framework/AssertionFailedError.php Sun Jun 8 06:16:35 2003 @@ -12,7 +12,7 @@ // | license@php.net so we can mail you a copy immediately. | // +------------------------------------------------------------------------+ // -// $Id: AssertionFailedError.php,v 1.1.2.2 2003/06/07 06:25:59 sebastian Exp $ +// $Id: AssertionFailedError.php,v 1.1.2.3 2003/06/08 10:16:35 sebastian Exp $ // /** @@ -22,7 +22,22 @@ * @author Sebastian Bergmann <sb@sebastian-bergmann.de> * Based upon JUnit, see http://www.junit.org/ for details. */ -class PHPUnit_Framework_AssertionFailedError extends Exception {} +class PHPUnit_Framework_AssertionFailedError extends Exception { + // {{{ public function __construct($message, $expected, $actual) + + /** + * Constructs an assertion failure. + * + * @param string $message + * @access public + */ + public function __construct($message) { + // XXX: FIX ME: Built-In Exception's constructor call + //parent::__construct($message); + } + + // }}} +} /* * vim600: et sw=2 ts=2 fdm=marker

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