cvs: pear(ZEND_ENGINE_2) /PHPUnit/PHPUnit Assert.php TestCase.php TestDecorator.php

From: Date: Sun, 24 Nov 2002 21:15:51 +0000
Subject: cvs: pear(ZEND_ENGINE_2) /PHPUnit/PHPUnit Assert.php TestCase.php TestDecorator.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-7566@lists.php.net to get a copy of this message
sebastian Sun Nov 24 16:15:51 2002 EDT Modified files: (Branch: ZEND_ENGINE_2) /pear/PHPUnit/PHPUnit Assert.php TestCase.php TestDecorator.php Log: Oops, those aren't abstract. Index: pear/PHPUnit/PHPUnit/Assert.php diff -u pear/PHPUnit/PHPUnit/Assert.php:1.1.2.5 pear/PHPUnit/PHPUnit/Assert.php:1.1.2.6 --- pear/PHPUnit/PHPUnit/Assert.php:1.1.2.5 Fri Nov 22 12:58:08 2002 +++ pear/PHPUnit/PHPUnit/Assert.php Sun Nov 24 16:15:50 2002 @@ -12,7 +12,7 @@ // | license@php.net so we can mail you a copy immediately. | // +----------------------------------------------------------------------+ // -// $Id: Assert.php,v 1.1.2.5 2002/11/22 17:58:08 sebastian Exp $ +// $Id: Assert.php,v 1.1.2.6 2002/11/24 21:15:50 sebastian Exp $ // /** @@ -266,9 +266,8 @@ * * @param string * @access protected - * @abstract */ - abstract function fail($message = ''); + function fail($message = '') {} // }}} // {{{ function pass() @@ -277,9 +276,8 @@ * Passes a test. * * @access protected - * @abstract */ - abstract function pass(); + abstract function pass() {} // }}} } Index: pear/PHPUnit/PHPUnit/TestCase.php diff -u pear/PHPUnit/PHPUnit/TestCase.php:1.2.2.7 pear/PHPUnit/PHPUnit/TestCase.php:1.2.2.8 --- pear/PHPUnit/PHPUnit/TestCase.php:1.2.2.7 Sat Nov 23 02:38:16 2002 +++ pear/PHPUnit/PHPUnit/TestCase.php Sun Nov 24 16:15:50 2002 @@ -12,7 +12,7 @@ // | license@php.net so we can mail you a copy immediately. | // +----------------------------------------------------------------------+ // -// $Id: TestCase.php,v 1.2.2.7 2002/11/23 07:38:16 sebastian Exp $ +// $Id: TestCase.php,v 1.2.2.8 2002/11/24 21:15:50 sebastian Exp $ // require_once 'PHPUnit/Assert.php'; @@ -241,9 +241,8 @@ * This method is called before a test is executed. * * @access protected - * @abstract */ - abstract function setUp(); + function setUp() {} // }}} // {{{ function tearDown() @@ -253,9 +252,8 @@ * This method is called after a test is executed. * * @access protected - * @abstract */ - abstract function tearDown(); + function tearDown() {} // }}} } Index: pear/PHPUnit/PHPUnit/TestDecorator.php diff -u pear/PHPUnit/PHPUnit/TestDecorator.php:1.1.2.6 pear/PHPUnit/PHPUnit/TestDecorator.php:1.1.2.7 --- pear/PHPUnit/PHPUnit/TestDecorator.php:1.1.2.6 Fri Nov 22 12:58:08 2002 +++ pear/PHPUnit/PHPUnit/TestDecorator.php Sun Nov 24 16:15:50 2002 @@ -12,7 +12,7 @@ // | license@php.net so we can mail you a copy immediately. | // +----------------------------------------------------------------------+ // -// $Id: TestDecorator.php,v 1.1.2.6 2002/11/22 17:58:08 sebastian Exp $ +// $Id: TestDecorator.php,v 1.1.2.7 2002/11/24 21:15:50 sebastian Exp $ // require_once 'PHPUnit/TestCase.php'; @@ -108,9 +108,8 @@ * * @param object * @access public - * @abstract */ - abstract function run($result); + function run($result) {} // }}} // {{{ function toString()

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