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

From: Date: Sat, 07 Jun 2003 17:37:07 +0000
Subject: cvs: pear(ZEND_ENGINE_2) /PHPUnit/TextUI TestRunner.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-10753@lists.php.net to get a copy of this message
sebastian Sat Jun 7 13:37:07 2003 EDT Modified files: (Branch: ZEND_ENGINE_2) /pear/PHPUnit/TextUI TestRunner.php Log: Move version information output to doRun() method. Index: pear/PHPUnit/TextUI/TestRunner.php diff -u pear/PHPUnit/TextUI/TestRunner.php:1.1.2.2 pear/PHPUnit/TextUI/TestRunner.php:1.1.2.3 --- pear/PHPUnit/TextUI/TestRunner.php:1.1.2.2 Sat Jun 7 10:06:57 2003 +++ pear/PHPUnit/TextUI/TestRunner.php Sat Jun 7 13:37:07 2003 @@ -12,7 +12,7 @@ // | license@php.net so we can mail you a copy immediately. | // +------------------------------------------------------------------------+ // -// $Id: TestRunner.php,v 1.1.2.2 2003/06/07 14:06:57 sebastian Exp $ +// $Id: TestRunner.php,v 1.1.2.3 2003/06/07 17:37:07 sebastian Exp $ // require_once 'Benchmark/Timer.php'; @@ -52,6 +52,12 @@ * @access public */ public function doRun(PHPUnit_Framework_Test $suite, $wait = false) { + printf( + "PHPUnit %s by Sebastian Bergmann.\n\n", + + PHPUnit_Framework_Version + ); + $result = new PHPUnit_Framework_TestResult; $result->addListener(new PHPUnit_TextUI_TestRunner); @@ -68,12 +74,6 @@ // {{{ public static function main() public static function main() { - printf( - "PHPUnit %s by Sebastian Bergmann.\n\n", - - PHPUnit_Framework_Version - ); - $options = Console_Getopt::getopt( $_SERVER['argv'], '',

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