cvs: pear(ZEND_ENGINE_2) /PHPUnit/TestRunner CLI.php

From: Date: Sun, 23 Mar 2003 16:58:24 +0000
Subject: cvs: pear(ZEND_ENGINE_2) /PHPUnit/TestRunner CLI.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-9585@lists.php.net to get a copy of this message
sebastian Sun Mar 23 11:58:24 2003 EDT Modified files: (Branch: ZEND_ENGINE_2) /pear/PHPUnit/TestRunner CLI.php Log: Preliminary implementations of TestRunner callbacks. Index: pear/PHPUnit/TestRunner/CLI.php diff -u pear/PHPUnit/TestRunner/CLI.php:1.1.2.11 pear/PHPUnit/TestRunner/CLI.php:1.1.2.12 --- pear/PHPUnit/TestRunner/CLI.php:1.1.2.11 Sun Mar 23 11:08:27 2003 +++ pear/PHPUnit/TestRunner/CLI.php Sun Mar 23 11:58:24 2003 @@ -12,7 +12,7 @@ // | license@php.net so we can mail you a copy immediately. | // +------------------------------------------------------------------------+ // -// $Id: CLI.php,v 1.1.2.11 2003/03/23 16:08:27 sebastian Exp $ +// $Id: CLI.php,v 1.1.2.12 2003/03/23 16:58:24 sebastian Exp $ // require_once 'PHPUnit/AssertionFailedError.php'; @@ -39,19 +39,21 @@ * @param string $testName */ public function testEnded($testName) { + echo "passed\n"; } // }}} - // {{{ public function testFailed($status, Test $test, AssertionFailedError $t) + // {{{ public function testFailed($status, Test $test, AssertionFailedError $e) /** * A test failed. * * @param integer $status * @param Test $test - * @param AssertionFailedError $t + * @param AssertionFailedError $e */ - public function testFailed($status, Test $test, AssertionFailedError $t) { + public function testFailed($status, Test $test, AssertionFailedError $e) { + echo "failed\n"; } // }}} @@ -63,6 +65,7 @@ * @param string $testName */ public function testStarted($testName) { + echo $testName . ': '; } // }}}

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