cvs: pear /PHPUnit2/Extensions ExceptionTestCase.php PerformanceTestCase.php RepeatedTest.php TestDecorator.php TestSetup.php
/PHPUnit2/Extensions/CodeCoverage Renderer.php /PHPUnit2/Extensions/CodeCoverage/Renderer HTML.php Text.php /PHPUnit2/Extensions/Log PEAR.php
XML.php /PHPUnit2/Extensions/TestDox NamePrettifier.php ResultPrinter.php /PHPUnit2/Extensions/TestDox/ResultPrinter HTML.php Text.php
/PHPUnit2/Framework Assert.php AssertionFailedError.php ComparisonFailure.php Error.php IncompleteTest.php IncompleteTestError.php Test.php
TestCase.php TestFailure.php TestListener.php TestResult.php TestSuite.php Warning.php /PHPUnit2/Runner BaseTestRunner.php
IncludePathTestCollector.php StandardTestSuiteLoader.php TestCollector.php TestRunListener.php TestSuiteLoader.php Version.php /PHPUnit2/Tests
AllTests.php DoubleTestCase.php Error.php Failure.php InheritedTestCase.php MockRunner.php NoArgTestCaseTest.php NoTestCaseClass.php NoTestCases.php
NonStatic.php NotPublicTestCase.php NotVoidTestCase.php OneTestCase.php OverrideTestCase.php SetupFailure.php Sleep.php Success.php
TearDownFailure.php TestIterator.php ThrowExceptionTestCase.php ThrowNoExceptionTestCase.php TornDown.php TornDown2.php TornDown3.php TornDown4.php
TornDown5.php WasRun.php /PHPUnit2/Tests/Extensions AllTests.php ExceptionTestCaseTest.php ExtensionTest.php PerformanceTestCaseTest.php
RepeatedTestTest.php /PHPUnit2/Tests/Extensions/TestDox AllTests.php NamePrettifierTest.php /PHPUnit2/Tests/Framework AllTests.php AssertTest.php
ComparisonFailureTest.php SuiteTest.php TestCaseTest.php TestImplementorTest.php TestListenerTest.php /PHPUnit2/Tests/Runner AllTests.php
BaseTestRunnerTest.php /PHPUnit2/TextUI ResultPrinter.php TestRunner.php /PHPUnit2/Util Filter.php Printer.php Skeleton.php

From: Date: Mon, 11 Apr 2005 05:48:11 +0000
Subject: cvs: pear /PHPUnit2/Extensions ExceptionTestCase.php PerformanceTestCase.php RepeatedTest.php TestDecorator.php TestSetup.php
/PHPUnit2/Extensions/CodeCoverage Renderer.php /PHPUnit2/Extensions/CodeCoverage/Renderer HTML.php Text.php /PHPUnit2/Extensions/Log PEAR.php
XML.php /PHPUnit2/Extensions/TestDox NamePrettifier.php ResultPrinter.php /PHPUnit2/Extensions/TestDox/ResultPrinter HTML.php Text.php
/PHPUnit2/Framework Assert.php AssertionFailedError.php ComparisonFailure.php Error.php IncompleteTest.php IncompleteTestError.php Test.php
TestCase.php TestFailure.php TestListener.php TestResult.php TestSuite.php Warning.php /PHPUnit2/Runner BaseTestRunner.php
IncludePathTestCollector.php StandardTestSuiteLoader.php TestCollector.php TestRunListener.php TestSuiteLoader.php Version.php /PHPUnit2/Tests
AllTests.php DoubleTestCase.php Error.php Failure.php InheritedTestCase.php MockRunner.php NoArgTestCaseTest.php NoTestCaseClass.php NoTestCases.php
NonStatic.php NotPublicTestCase.php NotVoidTestCase.php OneTestCase.php OverrideTestCase.php SetupFailure.php Sleep.php Success.php
TearDownFailure.php TestIterator.php ThrowExceptionTestCase.php ThrowNoExceptionTestCase.php TornDown.php TornDown2.php TornDown3.php TornDown4.php
TornDown5.php WasRun.php /PHPUnit2/Tests/Extensions AllTests.php ExceptionTestCaseTest.php ExtensionTest.php PerformanceTestCaseTest.php
RepeatedTestTest.php /PHPUnit2/Tests/Extensions/TestDox AllTests.php NamePrettifierTest.php /PHPUnit2/Tests/Framework AllTests.php AssertTest.php
ComparisonFailureTest.php SuiteTest.php TestCaseTest.php TestImplementorTest.php TestListenerTest.php /PHPUnit2/Tests/Runner AllTests.php
BaseTestRunnerTest.php /PHPUnit2/TextUI ResultPrinter.php TestRunner.php /PHPUnit2/Util Filter.php Printer.php Skeleton.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-31093@lists.php.net to get a copy of this message
sebastian Mon Apr 11 01:48:11 2005 EDT Modified files: /pear/PHPUnit2/Extensions ExceptionTestCase.php PerformanceTestCase.php RepeatedTest.php TestDecorator.php TestSetup.php /pear/PHPUnit2/Extensions/CodeCoverage Renderer.php /pear/PHPUnit2/Extensions/CodeCoverage/Renderer HTML.php Text.php /pear/PHPUnit2/Extensions/Log PEAR.php XML.php /pear/PHPUnit2/Extensions/TestDox NamePrettifier.php ResultPrinter.php /pear/PHPUnit2/Extensions/TestDox/ResultPrinter HTML.php Text.php /pear/PHPUnit2/Framework Assert.php AssertionFailedError.php ComparisonFailure.php Error.php IncompleteTest.php IncompleteTestError.php Test.php TestCase.php TestFailure.php TestListener.php TestResult.php TestSuite.php Warning.php /pear/PHPUnit2/Runner BaseTestRunner.php IncludePathTestCollector.php StandardTestSuiteLoader.php TestCollector.php TestRunListener.php TestSuiteLoader.php Version.php /pear/PHPUnit2/Tests AllTests.php DoubleTestCase.php Error.php Failure.php InheritedTestCase.php MockRunner.php NoArgTestCaseTest.php NoTestCaseClass.php NoTestCases.php NonStatic.php NotPublicTestCase.php NotVoidTestCase.php OneTestCase.php OverrideTestCase.php SetupFailure.php Sleep.php Success.php TearDownFailure.php TestIterator.php ThrowExceptionTestCase.php ThrowNoExceptionTestCase.php TornDown.php TornDown2.php TornDown3.php TornDown4.php TornDown5.php WasRun.php /pear/PHPUnit2/Tests/Extensions AllTests.php ExceptionTestCaseTest.php ExtensionTest.php PerformanceTestCaseTest.php RepeatedTestTest.php /pear/PHPUnit2/Tests/Extensions/TestDox AllTests.php NamePrettifierTest.php /pear/PHPUnit2/Tests/Framework AllTests.php AssertTest.php ComparisonFailureTest.php SuiteTest.php TestCaseTest.php TestImplementorTest.php TestListenerTest.php /pear/PHPUnit2/Tests/Runner AllTests.php BaseTestRunnerTest.php /pear/PHPUnit2/TextUI ResultPrinter.php TestRunner.php /pear/PHPUnit2/Util Filter.php Printer.php Skeleton.php Log: Adopt new code formatting standard.

http://cvs.php.net/diff.php/pear/PHPUnit2/Extensions/ExceptionTestCase.php?r1=1.9&r2=1.10&ty=u Index: pear/PHPUnit2/Extensions/ExceptionTestCase.php diff -u pear/PHPUnit2/Extensions/ExceptionTestCase.php:1.9 pear/PHPUnit2/Extensions/ExceptionTestCase.php:1.10 --- pear/PHPUnit2/Extensions/ExceptionTestCase.php:1.9 Wed Dec 22 03:05:51 2004 +++ pear/PHPUnit2/Extensions/ExceptionTestCase.php Mon Apr 11 01:48:06 2005 @@ -1,36 +1,40 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: ExceptionTestCase.php,v 1.9 2004/12/22 08:05:51 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: ExceptionTestCase.php,v 1.10 2005/04/11 05:48:06 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/TestCase.php'; /** - * A TestCase that expects an Exception of class - * fExpected to be thrown. + * A TestCase that expects a specified Exception to be thrown. * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Extensions + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class PHPUnit2_Extensions_ExceptionTestCase extends PHPUnit2_Framework_TestCase { - // {{{ Instance Variables - /** * The name of the expected Exception. * @@ -39,9 +43,6 @@ */ private $expectedException = ''; - // }}} - // {{{ public function __construct($name, $exceptionName = '') - /** * @param string $name * @param string $exceptionName @@ -55,25 +56,19 @@ } } - // }}} - // {{{ public function getExpectedException() - /** * @return string * @access public - * @since 2.2.0 + * @since Method available since Release 2.2.0 */ public function getExpectedException() { return $this->expectedException; } - // }}} - // {{{ public function setExpectedException($exceptionName) - /** * @param string $exceptionName * @access public - * @since 2.2.0 + * @since Method available since Release 2.2.0 */ public function setExpectedException($exceptionName) { if (is_string($exceptionName) && class_exists($exceptionName)) { @@ -88,9 +83,6 @@ } } - // }}} - // {{{ protected function runTest() - /** * @access protected */ @@ -109,12 +101,13 @@ $this->fail('Expected exception ' . $this->expectedException); } - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Extensions/PerformanceTestCase.php?r1=1.8&r2=1.9&ty=u Index: pear/PHPUnit2/Extensions/PerformanceTestCase.php diff -u pear/PHPUnit2/Extensions/PerformanceTestCase.php:1.8 pear/PHPUnit2/Extensions/PerformanceTestCase.php:1.9 --- pear/PHPUnit2/Extensions/PerformanceTestCase.php:1.8 Fri Feb 4 05:01:34 2005 +++ pear/PHPUnit2/Extensions/PerformanceTestCase.php Mon Apr 11 01:48:06 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: PerformanceTestCase.php,v 1.8 2005/02/04 10:01:34 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: PerformanceTestCase.php,v 1.9 2005/04/11 05:48:06 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.1.0 + */ require_once 'Benchmark/Timer.php'; require_once 'PHPUnit2/Framework/TestCase.php'; @@ -22,26 +27,22 @@ * A TestCase that expects a TestCase to be executed * meeting a given time limit. * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Extensions - * @since 2.1.0 + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.1.0 */ class PHPUnit2_Extensions_PerformanceTestCase extends PHPUnit2_Framework_TestCase { - // {{{ Instance Variables - /** * @var double * @access private */ private $maxRunningTime = 0; - // }}} - // {{{ public function __construct($name, $maxRunningTime = 0) - /** * @param string $name * @param double $maxRunningTime @@ -58,11 +59,8 @@ parent::__construct($name); } - // }}} - // {{{ protected function runTest() - /** - * @access public + * @access protected */ protected function runTest() { $timer = new Benchmark_Timer; @@ -83,12 +81,13 @@ ); } } - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Extensions/RepeatedTest.php?r1=1.10&r2=1.11&ty=u Index: pear/PHPUnit2/Extensions/RepeatedTest.php diff -u pear/PHPUnit2/Extensions/RepeatedTest.php:1.10 pear/PHPUnit2/Extensions/RepeatedTest.php:1.11 --- pear/PHPUnit2/Extensions/RepeatedTest.php:1.10 Wed Dec 22 03:05:51 2004 +++ pear/PHPUnit2/Extensions/RepeatedTest.php Mon Apr 11 01:48:06 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: RepeatedTest.php,v 1.10 2004/12/22 08:05:51 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: RepeatedTest.php,v 1.11 2005/04/11 05:48:06 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/Test.php'; require_once 'PHPUnit2/Framework/TestResult.php'; @@ -22,25 +27,22 @@ /** * A Decorator that runs a test repeatedly. * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Extensions + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class PHPUnit2_Extensions_RepeatedTest extends PHPUnit2_Extensions_TestDecorator { - // {{{ Instance Variables - /** * @var integer * @access private */ private $timesRepeat = 1; - // }}} - // {{{ public function __construct(PHPUnit2_Framework_Test $test, $timesRepeat = 1) - /** * Constructor. * @@ -59,9 +61,6 @@ } } - // }}} - // {{{ public function countTestCases() - /** * Counts the number of test cases that * will be run by this test. @@ -73,9 +72,6 @@ return $this->timesRepeat * $this->test->countTestCases(); } - // }}} - // {{{ public function run($result = NULL) - /** * Runs the decorated test and collects the * result in a TestResult. @@ -102,12 +98,13 @@ return $result; } - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Extensions/TestDecorator.php?r1=1.9&r2=1.10&ty=u Index: pear/PHPUnit2/Extensions/TestDecorator.php diff -u pear/PHPUnit2/Extensions/TestDecorator.php:1.9 pear/PHPUnit2/Extensions/TestDecorator.php:1.10 --- pear/PHPUnit2/Extensions/TestDecorator.php:1.9 Wed Dec 22 03:05:51 2004 +++ pear/PHPUnit2/Extensions/TestDecorator.php Mon Apr 11 01:48:06 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: TestDecorator.php,v 1.9 2004/12/22 08:05:51 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: TestDecorator.php,v 1.10 2005/04/11 05:48:06 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/Assert.php'; require_once 'PHPUnit2/Framework/Test.php'; @@ -26,16 +31,16 @@ * test decorators. Test decorator subclasses can be introduced * to add behaviour before or after a test is run. * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Extensions + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class PHPUnit2_Extensions_TestDecorator extends PHPUnit2_Framework_Assert implements PHPUnit2_Framework_Test { - // {{{ Instance Variables - /** * The Test to be decorated. * @@ -44,9 +49,6 @@ */ protected $test = NULL; - // }}} - // {{{ public function __construct(PHPUnit2_Framework_Test $test) - /** * Constructor. * @@ -57,9 +59,6 @@ $this->test = $test; } - // }}} - // {{{ public function toString() - /** * Returns a string representation of the test. * @@ -70,9 +69,6 @@ return $this->test->toString(); } - // }}} - // {{{ public function basicRun(PHPUnit2_Framework_TestResult $result) - /** * Runs the test and collects the * result in a TestResult. @@ -84,9 +80,6 @@ $this->test->run($result); } - // }}} - // {{{ public function countTestCases() - /** * Counts the number of test cases that * will be run by this test. @@ -98,9 +91,6 @@ return $this->test->countTestCases(); } - // }}} - // {{{ protected function createResult() - /** * Creates a default TestResult object. * @@ -111,9 +101,6 @@ return new PHPUnit2_Framework_TestResult; } - // }}} - // {{{ public function getTest() - /** * Returns the test to be run. * @@ -124,9 +111,6 @@ return $this->test; } - // }}} - // {{{ public function run($result = NULL) - /** * Runs the decorated test and collects the * result in a TestResult. @@ -151,12 +135,13 @@ return $result; } - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Extensions/TestSetup.php?r1=1.8&r2=1.9&ty=u Index: pear/PHPUnit2/Extensions/TestSetup.php diff -u pear/PHPUnit2/Extensions/TestSetup.php:1.8 pear/PHPUnit2/Extensions/TestSetup.php:1.9 --- pear/PHPUnit2/Extensions/TestSetup.php:1.8 Wed Dec 22 03:05:51 2004 +++ pear/PHPUnit2/Extensions/TestSetup.php Mon Apr 11 01:48:06 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: TestSetup.php,v 1.8 2004/12/22 08:05:51 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: TestSetup.php,v 1.9 2005/04/11 05:48:06 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/TestResult.php'; require_once 'PHPUnit2/Extensions/TestDecorator.php'; @@ -23,16 +28,16 @@ * Subclass TestSetup and insert it into your tests when you want * to set up additional state once before the tests are run. * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Extensions + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class PHPUnit2_Extensions_TestSetup extends PHPUnit2_Extensions_TestDecorator { - // {{{ public function run($result = NULL) - /** * Runs the decorated test and collects the * result in a TestResult. @@ -60,19 +65,14 @@ return $result; } - // }}} - // {{{ protected function setUp() - /** * Sets up the fixture. Override to set up additional fixture * state. * * @access protected */ - protected function setUp() {} - - // }}} - // {{{ protected function tearDown() + protected function setUp() { + } /** * Tears down the fixture. Override to tear down the additional @@ -80,13 +80,15 @@ * * @access protected */ - protected function tearDown() {} - - // }}} + protected function tearDown() { + } } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Extensions/CodeCoverage/Renderer.php?r1=1.13&r2=1.14&ty=u Index: pear/PHPUnit2/Extensions/CodeCoverage/Renderer.php diff -u pear/PHPUnit2/Extensions/CodeCoverage/Renderer.php:1.13 pear/PHPUnit2/Extensions/CodeCoverage/Renderer.php:1.14 --- pear/PHPUnit2/Extensions/CodeCoverage/Renderer.php:1.13 Wed Dec 22 03:05:53 2004 +++ pear/PHPUnit2/Extensions/CodeCoverage/Renderer.php Mon Apr 11 01:48:07 2005 @@ -1,35 +1,39 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: Renderer.php,v 1.13 2004/12/22 08:05:53 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: Renderer.php,v 1.14 2005/04/11 05:48:07 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.1.0 + */ /** * Abstract base class for Code Coverage renderers. * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Extensions - * @since 2.1.0 + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.1.0 * @abstract */ abstract class PHPUnit2_Extensions_CodeCoverage_Renderer { - // {{{ Instance Variables - /** * @var array * @access protected @@ -42,9 +46,6 @@ */ protected $useSummary = TRUE; - // }}} - // {{{ protected function __construct($codeCoverageInformation) - /** * Constructor. * @@ -55,9 +56,6 @@ $this->codeCoverageInformation = $codeCoverageInformation; } - // }}} - // {{{ public function factory($rendererName, $codeCoverageInformation) - /** * Abstract Factory. * @@ -82,9 +80,6 @@ } } - // }}} - // {{{ public final function render() - /** * Visualizes the result array of * PHPUnit2_Framework_TestResult::getCodeCoverageInformation(). @@ -108,9 +103,6 @@ return $buffer . $this->footer(); } - // }}} - // {{{ public function renderToFile($filename) - /** * Visualizes the result array of * PHPUnit2_Framework_TestResult::getCodeCoverageInformation() @@ -118,7 +110,7 @@ * * @param string $filename * @access public - * @since 2.2.0 + * @since Method available since Release 2.2.0 */ public function renderToFile($filename) { if ($fp = fopen($filename, 'w')) { @@ -131,9 +123,6 @@ } } - // }}} - // {{{ protected function getSummary() - /** * Returns summarized Code Coverage data. * @@ -152,7 +141,7 @@ * * @return array * @access protected - * @since 2.2.0 + * @since Method available since Release 2.2.0 */ protected function getSummary() { $summary = array(); @@ -174,31 +163,22 @@ return $summary; } - // }}} - // {{{ protected function header() - /** * @return string * @access protected - * @since 2.1.1 + * @since Method available since Release 2.1.1 */ protected function header() { } - // }}} - // {{{ protected function footer() - /** * @return string * @access protected - * @since 2.1.1 + * @since Method available since Release 2.1.1 */ protected function footer() { } - // }}} - // {{{ protected function startSourceFile($sourceFile) - /** * @param string $sourceFile * @return string @@ -207,9 +187,6 @@ protected function startSourceFile($sourceFile) { } - // }}} - // {{{ protected function endSourceFile($sourceFile) - /** * @param string $sourceFile * @return string @@ -218,9 +195,6 @@ protected function endSourceFile($sourceFile) { } - // }}} - // {{{ abstract protected function renderSourceFile($codeLines, $executedLines) - /** * @param array $codeLines * @param array $executedLines @@ -229,12 +203,13 @@ * @abstract */ abstract protected function renderSourceFile($codeLines, $executedLines); - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Extensions/CodeCoverage/Renderer/HTML.php?r1=1.13&r2=1.14&ty=u Index: pear/PHPUnit2/Extensions/CodeCoverage/Renderer/HTML.php diff -u pear/PHPUnit2/Extensions/CodeCoverage/Renderer/HTML.php:1.13 pear/PHPUnit2/Extensions/CodeCoverage/Renderer/HTML.php:1.14 --- pear/PHPUnit2/Extensions/CodeCoverage/Renderer/HTML.php:1.13 Wed Dec 22 03:05:53 2004 +++ pear/PHPUnit2/Extensions/CodeCoverage/Renderer/HTML.php Mon Apr 11 01:48:07 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: HTML.php,v 1.13 2004/12/22 08:05:53 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: HTML.php,v 1.14 2005/04/11 05:48:07 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.1.0 + */ require_once 'PHPUnit2/Extensions/CodeCoverage/Renderer.php'; @@ -40,17 +45,16 @@ * } * </code> * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Extensions - * @since 2.1.0 + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.1.0 */ class PHPUnit2_Extensions_CodeCoverage_Renderer_HTML extends PHPUnit2_Extensions_CodeCoverage_Renderer { - // {{{ Constants - const pageHeader = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> @@ -79,33 +83,24 @@ ' <tr><td class="ccLineNumber">%s</td><td class="%s">%s</td></tr> '; - // }}} - // {{{ protected function header() - /** * @return string * @access protected - * @since 2.1.1 + * @since Method available since Release 2.1.1 */ protected function header() { return self::pageHeader; } - // }}} - // {{{ protected function footer() - /** * @return string * @access protected - * @since 2.1.1 + * @since Method available since Release 2.1.1 */ protected function footer() { return self::pageFooter; } - // }}} - // {{{ protected function startSourceFile($sourceFile) - /** * @param string $sourceFile * @return string @@ -115,9 +110,6 @@ return self::sourceFileHeader; } - // }}} - // {{{ protected function endSourceFile($sourceFile) - /** * @param string $sourceFile * @return string @@ -127,9 +119,6 @@ return self::sourceFileFooter; } - // }}} - // {{{ protected function renderSourceFile($codeLines, $executedLines) - /** * @param array $codeLines * @param array $executedLines @@ -164,12 +153,13 @@ return $buffer; } - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Extensions/CodeCoverage/Renderer/Text.php?r1=1.9&r2=1.10&ty=u Index: pear/PHPUnit2/Extensions/CodeCoverage/Renderer/Text.php diff -u pear/PHPUnit2/Extensions/CodeCoverage/Renderer/Text.php:1.9 pear/PHPUnit2/Extensions/CodeCoverage/Renderer/Text.php:1.10 --- pear/PHPUnit2/Extensions/CodeCoverage/Renderer/Text.php:1.9 Wed Dec 22 03:05:53 2004 +++ pear/PHPUnit2/Extensions/CodeCoverage/Renderer/Text.php Mon Apr 11 01:48:07 2005 @@ -1,36 +1,40 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: Text.php,v 1.9 2004/12/22 08:05:53 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: Text.php,v 1.10 2005/04/11 05:48:07 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.1.0 + */ require_once 'PHPUnit2/Extensions/CodeCoverage/Renderer.php'; /** * Renders Code Coverage information in text format. * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Extensions - * @since 2.1.0 + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.1.0 */ class PHPUnit2_Extensions_CodeCoverage_Renderer_Text extends PHPUnit2_Extensions_CodeCoverage_Renderer { - // {{{ protected function startSourceFile($sourceFile) - /** * @param string $sourceFile * @return string @@ -40,9 +44,6 @@ return ' ' . $sourceFile . "\n\n"; } - // }}} - // {{{ protected function endSourceFile($sourceFile) - /** * @param string $sourceFile * @return string @@ -52,9 +53,6 @@ return "\n"; } - // }}} - // {{{ protected function renderSourceFile($codeLines, $executedLines) - /** * @param array $codeLines * @param array $executedLines @@ -89,12 +87,13 @@ return $buffer; } - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Extensions/Log/PEAR.php?r1=1.6&r2=1.7&ty=u Index: pear/PHPUnit2/Extensions/Log/PEAR.php diff -u pear/PHPUnit2/Extensions/Log/PEAR.php:1.6 pear/PHPUnit2/Extensions/Log/PEAR.php:1.7 --- pear/PHPUnit2/Extensions/Log/PEAR.php:1.6 Fri Feb 4 05:01:35 2005 +++ pear/PHPUnit2/Extensions/Log/PEAR.php Mon Apr 11 01:48:07 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: PEAR.php,v 1.6 2005/02/04 10:01:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: PEAR.php,v 1.7 2005/04/11 05:48:07 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.1.0 + */ require_once 'PHPUnit2/Framework/AssertionFailedError.php'; require_once 'PHPUnit2/Framework/Test.php'; @@ -25,17 +30,18 @@ @include_once 'Log.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Extensions - * @since 2.1.0 + * A TestListener that logs to a PEAR_Log sink. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.1.0 */ class PHPUnit2_Extensions_Log_PEAR implements PHPUnit2_Framework_TestListener { - // {{{ Instance Variables - /** * Log. * @@ -44,9 +50,6 @@ */ private $log; - // }}} - // {{{ public function __construct($type, $name = '', $ident = '', $conf = array(), $maxLevel = PEAR_LOG_DEBUG) - /** * @param string $type The type of concrete Log subclass to use. * Currently, valid values are 'console', @@ -65,9 +68,6 @@ $this->log = Log::factory($type, $name, $ident, $conf, $maxLevel); } - // }}} - // {{{ public function addError(PHPUnit2_Framework_Test $test, Exception $e) - /** * An error occurred. * @@ -86,9 +86,6 @@ ); } - // }}} - // {{{ public function addFailure(PHPUnit2_Framework_Test $test, PHPUnit2_Framework_AssertionFailedError $e) - /** * A failure occurred. * @@ -107,9 +104,6 @@ ); } - // }}} - // {{{ public function addIncompleteTest(PHPUnit2_Framework_Test $test, Exception $e) - /** * Incomplete test. * @@ -128,15 +122,12 @@ ); } - // }}} - // {{{ public function startTestSuite(PHPUnit2_Framework_TestSuite $suite) - /** * A testsuite started. * * @param PHPUnit2_Framework_TestSuite $suite * @access public - * @since 2.2.0 + * @since Method available since Release 2.2.0 */ public function startTestSuite(PHPUnit2_Framework_TestSuite $suite) { $this->log->info( @@ -148,15 +139,12 @@ ); } - // }}} - // {{{ public function endTestSuite(PHPUnit2_Framework_TestSuite $suite) - /** * A testsuite ended. * * @param PHPUnit2_Framework_TestSuite $suite * @access public - * @since 2.2.0 + * @since Method available since Release 2.2.0 */ public function endTestSuite(PHPUnit2_Framework_TestSuite $suite) { $this->log->info( @@ -168,9 +156,6 @@ ); } - // }}} - // {{{ public function startTest(PHPUnit2_Framework_Test $test) - /** * A test started. * @@ -187,9 +172,6 @@ ); } - // }}} - // {{{ public function endTest(PHPUnit2_Framework_Test $test) - /** * A test ended. * @@ -205,12 +187,13 @@ ) ); } - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Extensions/Log/XML.php?r1=1.12&r2=1.13&ty=u Index: pear/PHPUnit2/Extensions/Log/XML.php diff -u pear/PHPUnit2/Extensions/Log/XML.php:1.12 pear/PHPUnit2/Extensions/Log/XML.php:1.13 --- pear/PHPUnit2/Extensions/Log/XML.php:1.12 Thu Feb 17 10:40:53 2005 +++ pear/PHPUnit2/Extensions/Log/XML.php Mon Apr 11 01:48:07 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: XML.php,v 1.12 2005/02/17 15:40:53 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: XML.php,v 1.13 2005/04/11 05:48:07 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.1.0 + */ require_once 'Benchmark/Timer.php'; require_once 'PHPUnit2/Framework/AssertionFailedError.php'; @@ -29,17 +34,16 @@ * A TestListener that generates an XML-based logfile * of the test execution. * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Extensions - * @since 2.1.0 + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.1.0 */ class PHPUnit2_Extensions_Log_XML extends PHPUnit2_Util_Printer implements PHPUnit2_Framework_TestListener { - // {{{ Instance Variables - /** * @var DOMDocument * @access private @@ -106,9 +110,6 @@ */ private $timer; - // }}} - // {{{ public function __construct($out = NULL) - /** * Constructor. * @@ -127,9 +128,6 @@ parent::__construct($out); } - // }}} - // {{{ public function __destruct() - /** * Destructor. * @@ -143,9 +141,6 @@ parent::__destruct(); } - // }}} - // {{{ public function addError(PHPUnit2_Framework_Test $test, Exception $e) - /** * An error occurred. * @@ -163,9 +158,6 @@ $this->testSuiteErrors[$this->testSuiteLevel]++; } - // }}} - // {{{ public function addFailure(PHPUnit2_Framework_Test $test, PHPUnit2_Framework_AssertionFailedError $e) - /** * A failure occurred. * @@ -183,9 +175,6 @@ $this->testSuiteFailures[$this->testSuiteLevel]++; } - // }}} - // {{{ public function addIncompleteTest(PHPUnit2_Framework_Test $test, Exception $e) - /** * Incomplete test. * @@ -203,15 +192,12 @@ $this->testSuiteErrors[$this->testSuiteLevel]++; } - // }}} - // {{{ public function startTestSuite(PHPUnit2_Framework_TestSuite $suite) - /** * A testsuite started. * * @param PHPUnit2_Framework_TestSuite $suite * @access public - * @since 2.2.0 + * @since Method available since Release 2.2.0 */ public function startTestSuite(PHPUnit2_Framework_TestSuite $suite) { $testSuite = $this->document->createElement('testsuite'); @@ -251,15 +237,12 @@ $this->testSuiteTimes[$this->testSuiteLevel] = 0; } - // }}} - // {{{ public function endTestSuite(PHPUnit2_Framework_TestSuite $suite) - /** * A testsuite ended. * * @param PHPUnit2_Framework_TestSuite $suite * @access public - * @since 2.2.0 + * @since Method available since Release 2.2.0 */ public function endTestSuite(PHPUnit2_Framework_TestSuite $suite) { $this->testSuites[$this->testSuiteLevel]->setAttribute('tests', $this->testSuiteTests[$this->testSuiteLevel]); @@ -277,9 +260,6 @@ $this->testSuiteLevel--; } - // }}} - // {{{ public function startTest(PHPUnit2_Framework_Test $test) - /** * A test started. * @@ -299,9 +279,6 @@ $this->timer->start(); } - // }}} - // {{{ public function endTest(PHPUnit2_Framework_Test $test) - /** * A test ended. * @@ -318,23 +295,17 @@ $this->currentTestCase = NULL; } - // }}} - // {{{ public function getXML() - /** * Returns the XML as a string. * * @return string * @access public - * @since 2.2.0 + * @since Method available since Release 2.2.0 */ public function getXML() { return $this->document->saveXML(); } - // }}} - // {{{ public function setWriteDocument($flag) - /** * Enables or disables the writing of the document * in __destruct(). @@ -344,19 +315,20 @@ * * @return string * @access public - * @since 2.2.0 + * @since Method available since Release 2.2.0 */ public function setWriteDocument($flag) { if (is_bool($flag)) { $this->writeDocument = $flag; } } - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Extensions/TestDox/NamePrettifier.php?r1=1.4&r2=1.5&ty=u Index: pear/PHPUnit2/Extensions/TestDox/NamePrettifier.php diff -u pear/PHPUnit2/Extensions/TestDox/NamePrettifier.php:1.4 pear/PHPUnit2/Extensions/TestDox/NamePrettifier.php:1.5 --- pear/PHPUnit2/Extensions/TestDox/NamePrettifier.php:1.4 Wed Dec 22 03:05:53 2004 +++ pear/PHPUnit2/Extensions/TestDox/NamePrettifier.php Mon Apr 11 01:48:07 2005 @@ -1,34 +1,38 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 :: TestDox | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: NamePrettifier.php,v 1.4 2004/12/22 08:05:53 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * A prettifier for class names. + * PHP Version 5 * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Extensions - * @since 2.1.0 + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: NamePrettifier.php,v 1.5 2005/04/11 05:48:07 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.1.0 */ -class PHPUnit2_Extensions_TestDox_NamePrettifier { - // {{{ Instance Variables +/** + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.1.0 + */ +class PHPUnit2_Extensions_TestDox_NamePrettifier { /** * @var string * @access protected @@ -41,9 +45,6 @@ */ protected $suffix = 'Test'; - // }}} - // {{{ public function isATestMethod($testMethodName) - /** * Tests if a method is a test method. * @@ -59,9 +60,6 @@ return FALSE; } - // }}} - // {{{ public function prettifyTestClass($testClassName) - /** * Prettifies the name of a test class. * @@ -85,9 +83,6 @@ return $title; } - // }}} - // {{{ public function prettifyTestMethod($testMethodName) - /** * Prettifies the name of a test method. * @@ -111,9 +106,6 @@ return $buffer; } - // }}} - // {{{ public function setPrefix($prefix) - /** * Sets the prefix of test names. * @@ -124,9 +116,6 @@ $this->prefix = $prefix; } - // }}} - // {{{ public function setSuffix($suffix) - /** * Sets the suffix of test names. * @@ -136,12 +125,13 @@ public function setSuffix($suffix) { $this->suffix = $suffix; } - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Extensions/TestDox/ResultPrinter.php?r1=1.8&r2=1.9&ty=u Index: pear/PHPUnit2/Extensions/TestDox/ResultPrinter.php diff -u pear/PHPUnit2/Extensions/TestDox/ResultPrinter.php:1.8 pear/PHPUnit2/Extensions/TestDox/ResultPrinter.php:1.9 --- pear/PHPUnit2/Extensions/TestDox/ResultPrinter.php:1.8 Fri Feb 4 05:01:35 2005 +++ pear/PHPUnit2/Extensions/TestDox/ResultPrinter.php Mon Apr 11 01:48:07 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: ResultPrinter.php,v 1.8 2005/02/04 10:01:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: ResultPrinter.php,v 1.9 2005/04/11 05:48:07 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.1.0 + */ require_once 'PHPUnit2/Framework/AssertionFailedError.php'; require_once 'PHPUnit2/Framework/Test.php'; @@ -23,17 +28,19 @@ require_once 'PHPUnit2/Util/Printer.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Extensions - * @since 2.1.0 + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.1.0 + * @abstract */ abstract class PHPUnit2_Extensions_TestDox_ResultPrinter extends PHPUnit2_Util_Printer implements PHPUnit2_Framework_TestListener { - // {{{ Instance Variables - /** * @var PHPUnit2_Extensions_TestDox_NamePrettifier * @access protected @@ -52,9 +59,6 @@ */ protected $testFailed = FALSE; - // }}} - // {{{ public function __construct($out = NULL) - /** * Constructor. * @@ -68,9 +72,6 @@ $this->startRun(); } - // }}} - // {{{ public function __destruct() - /** * Destructor. * @@ -83,9 +84,6 @@ parent::__destruct(); } - // }}} - // {{{ public function factory($type, $out) - /** * Abstract Factory. * @@ -111,9 +109,6 @@ } } - // }}} - // {{{ public function addError(PHPUnit2_Framework_Test $test, Exception $e) - /** * An error occurred. * @@ -125,9 +120,6 @@ $this->testFailed = TRUE; } - // }}} - // {{{ public function addFailure(PHPUnit2_Framework_Test $test, PHPUnit2_Framework_AssertionFailedError $e) - /** * A failure occurred. * @@ -139,9 +131,6 @@ $this->testFailed = TRUE; } - // }}} - // {{{ public function addIncompleteTest(PHPUnit2_Framework_Test $test, Exception $e) - /** * Incomplete test. * @@ -153,35 +142,26 @@ $this->testFailed = TRUE; } - // }}} - // {{{ public function startTestSuite(PHPUnit2_Framework_TestSuite $suite) - /** * A testsuite started. * * @param PHPUnit2_Framework_TestSuite $suite * @access public - * @since 2.2.0 + * @since Method available since Release 2.2.0 */ public function startTestSuite(PHPUnit2_Framework_TestSuite $suite) { } - // }}} - // {{{ public function endTestSuite(PHPUnit2_Framework_TestSuite $suite) - /** * A testsuite ended. * * @param PHPUnit2_Framework_TestSuite $suite * @access public - * @since 2.2.0 + * @since Method available since Release 2.2.0 */ public function endTestSuite(PHPUnit2_Framework_TestSuite $suite) { } - // }}} - // {{{ public function startTest(PHPUnit2_Framework_Test $test) - /** * A test started. * @@ -203,9 +183,6 @@ $this->testFailed = FALSE; } - // }}} - // {{{ public function endTest(PHPUnit2_Framework_Test $test) - /** * A test ended. * @@ -218,69 +195,55 @@ } } - // }}} - // {{{ abstract protected function startClass($name) - /** * Handler for 'start class' event. * * @param string $name - * @access public + * @access protected * @abstract */ abstract protected function startClass($name); - // }}} - // {{{ abstract protected function onTest($name) - /** * Handler for 'on test' event. * * @param string $name - * @access public + * @access protected * @abstract */ abstract protected function onTest($name); - // }}} - // {{{ abstract protected function endClass($name) - /** * Handler for 'end class' event. * * @param string $name - * @access public + * @access protected * @abstract */ abstract protected function endClass($name); - // }}} - // {{{ abstract protected function startRun() - /** * Handler for 'start run' event. * - * @access public + * @access protected * @abstract */ abstract protected function startRun(); - // }}} - // {{{ abstract protected function endRun() - /** * Handler for 'end run' event. * - * @access public + * @access protected * @abstract */ abstract protected function endRun(); - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Extensions/TestDox/ResultPrinter/HTML.php?r1=1.4&r2=1.5&ty=u Index: pear/PHPUnit2/Extensions/TestDox/ResultPrinter/HTML.php diff -u pear/PHPUnit2/Extensions/TestDox/ResultPrinter/HTML.php:1.4 pear/PHPUnit2/Extensions/TestDox/ResultPrinter/HTML.php:1.5 --- pear/PHPUnit2/Extensions/TestDox/ResultPrinter/HTML.php:1.4 Wed Dec 22 03:05:53 2004 +++ pear/PHPUnit2/Extensions/TestDox/ResultPrinter/HTML.php Mon Apr 11 01:48:07 2005 @@ -1,34 +1,40 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: HTML.php,v 1.4 2004/12/22 08:05:53 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: HTML.php,v 1.5 2005/04/11 05:48:07 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.1.0 + */ require_once 'PHPUnit2/Extensions/TestDox/ResultPrinter.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Extensions - * @since 2.1.0 + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.1.0 */ class PHPUnit2_Extensions_TestDox_ResultPrinter_HTML extends PHPUnit2_Extensions_TestDox_ResultPrinter { - // {{{ protected function startClass($name) - /** * Handler for 'start class' event. * @@ -39,9 +45,6 @@ $this->write('<h2>' . $name . '</h2><ul>'); } - // }}} - // {{{ protected function onTest($name) - /** * Handler for 'on test' event. * @@ -52,9 +55,6 @@ $this->write('<li>' . $name . '</li>'); } - // }}} - // {{{ protected function endClass($name) - /** * Handler for 'end class' event. * @@ -65,9 +65,6 @@ $this->write('</ul>'); } - // }}} - // {{{ protected function startRun() - /** * Handler for 'start run' event. * @@ -76,9 +73,6 @@ protected function startRun() { } - // }}} - // {{{ protected function endRun() - /** * Handler for 'end run' event. * @@ -86,12 +80,13 @@ */ protected function endRun() { } - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Extensions/TestDox/ResultPrinter/Text.php?r1=1.5&r2=1.6&ty=u Index: pear/PHPUnit2/Extensions/TestDox/ResultPrinter/Text.php diff -u pear/PHPUnit2/Extensions/TestDox/ResultPrinter/Text.php:1.5 pear/PHPUnit2/Extensions/TestDox/ResultPrinter/Text.php:1.6 --- pear/PHPUnit2/Extensions/TestDox/ResultPrinter/Text.php:1.5 Wed Dec 22 03:05:53 2004 +++ pear/PHPUnit2/Extensions/TestDox/ResultPrinter/Text.php Mon Apr 11 01:48:07 2005 @@ -1,34 +1,40 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: Text.php,v 1.5 2004/12/22 08:05:53 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: Text.php,v 1.6 2005/04/11 05:48:07 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.1.0 + */ require_once 'PHPUnit2/Extensions/TestDox/ResultPrinter.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Extensions - * @since 2.1.0 + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.1.0 */ class PHPUnit2_Extensions_TestDox_ResultPrinter_Text extends PHPUnit2_Extensions_TestDox_ResultPrinter { - // {{{ protected function startClass($name) - /** * Handler for 'start class' event. * @@ -39,9 +45,6 @@ $this->write($name . "\n"); } - // }}} - // {{{ protected function onTest($name) - /** * Handler for 'on test' event. * @@ -52,9 +55,6 @@ $this->write(' - ' . $name . "\n"); } - // }}} - // {{{ protected function endClass($name) - /** * Handler for 'end class' event. * @@ -65,9 +65,6 @@ $this->write("\n"); } - // }}} - // {{{ protected function startRun() - /** * Handler for 'start run' event. * @@ -76,9 +73,6 @@ protected function startRun() { } - // }}} - // {{{ protected function endRun() - /** * Handler for 'end run' event. * @@ -86,12 +80,13 @@ */ protected function endRun() { } - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Framework/Assert.php?r1=1.32&r2=1.33&ty=u Index: pear/PHPUnit2/Framework/Assert.php diff -u pear/PHPUnit2/Framework/Assert.php:1.32 pear/PHPUnit2/Framework/Assert.php:1.33 --- pear/PHPUnit2/Framework/Assert.php:1.32 Thu Mar 31 02:11:12 2005 +++ pear/PHPUnit2/Framework/Assert.php Mon Apr 11 01:48:08 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: Assert.php,v 1.32 2005/03/31 07:11:12 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: Assert.php,v 1.33 2005/04/11 05:48:08 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/AssertionFailedError.php'; require_once 'PHPUnit2/Framework/ComparisonFailure.php'; @@ -21,17 +26,17 @@ /** * A set of assert methods. * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Framework + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 * @static */ class PHPUnit2_Framework_Assert { - // {{{ Static Members - /** * @var boolean * @access private @@ -39,18 +44,13 @@ */ private static $looselyTyped = FALSE; - // }}} - // {{{ protected function __construct() - /** * Protect constructor since it is a static only class. * * @access protected */ - protected function __construct() {} - - // }}} - // {{{ public static function assertContains($needle, $haystack, $message = '') + protected function __construct() { + } /** * Asserts that a haystack contains a needle. @@ -60,15 +60,12 @@ * @param string $message * @access public * @static - * @since 2.1.0 + * @since Method available since Release 2.1.0 */ public static function assertContains($needle, $haystack, $message = '') { self::doAssertContains($needle, $haystack, TRUE, $message); } - // }}} - // {{{ public static function assertNotContains($needle, $haystack, $message = '') - /** * Asserts that a haystack does not contain a needle. * @@ -77,15 +74,12 @@ * @param string $message * @access public * @static - * @since 2.1.0 + * @since Method available since Release 2.1.0 */ public static function assertNotContains($needle, $haystack, $message = '') { self::doAssertContains($needle, $haystack, FALSE, $message); } - // }}} - // {{{ public static function assertEquals($expected, $actual, $message = '', $delta = 0) - /** * Asserts that two variables are equal. * @@ -146,9 +140,6 @@ } } - // }}} - // {{{ public static function assertTrue($condition, $message = '') - /** * Asserts that a condition is true. * @@ -167,9 +158,6 @@ } } - // }}} - // {{{ public static function assertFalse($condition, $message = '') - /** * Asserts that a condition is false. * @@ -187,9 +175,6 @@ } - // }}} - // {{{ public static function assertNotNull($object, $message = '') - /** * Asserts that a variable is not NULL. * @@ -204,9 +189,6 @@ } } - // }}} - // {{{ public static function assertNull($actual, $message = '') - /** * Asserts that a variable is NULL. * @@ -221,9 +203,6 @@ } } - // }}} - // {{{ public static function assertSame($expected, $actual, $message = '') - /** * Asserts that two variables reference the same object. * @@ -244,9 +223,6 @@ } } - // }}} - // {{{ public static function assertNotSame($expected, $actual, $message = '') - /** * Asserts that two variables do not reference the same object. * @@ -267,9 +243,6 @@ } } - // }}} - // {{{ public static function assertType($expected, $actual, $message = '') - /** * Asserts that a variable is of a given type. * @@ -283,9 +256,6 @@ self::doAssertType($expected, $actual, TRUE, $message); } - // }}} - // {{{ public static function assertNotType($expected, $actual, $message = '') - /** * Asserts that a variable is not of a given type. * @@ -294,15 +264,12 @@ * @param string $message * @access public * @static - * @since 2.2.0 + * @since Method available since Release 2.2.0 */ public static function assertNotType($expected, $actual, $message = '') { self::doAssertType($expected, $actual, FALSE, $message); } - // }}} - // {{{ public static function assertRegExp($pattern, $string, $message = '') - /** * Asserts that a string matches a given regular expression. * @@ -316,9 +283,6 @@ self::doAssertRegExp($pattern, $string, TRUE, $message); } - // }}} - // {{{ public static function assertNotRegExp($pattern, $string, $message = '') - /** * Asserts that a string does not match a given regular expression. * @@ -327,15 +291,12 @@ * @param string $message * @access public * @static - * @since 2.1.0 + * @since Method available since Release 2.1.0 */ public static function assertNotRegExp($pattern, $string, $message = '') { self::doAssertRegExp($pattern, $string, FALSE, $message); } - // }}} - // {{{ public static function fail($message = '') - /** * Fails a test with the given message. * @@ -348,9 +309,6 @@ throw new PHPUnit2_Framework_AssertionFailedError($message); } - // }}} - // {{{ public static function format($expected, $actual, $message) - /** * @param mixed $expected * @param mixed $actual @@ -369,9 +327,6 @@ ); } - // }}} - // {{{ public static function setLooselyTyped($looselyTyped) - /** * @param boolean $looselyTyped * @access public @@ -383,9 +338,6 @@ } } - // }}} - // {{{ private static function convertToString($value) - /** * Converts a value to a string. * @@ -407,9 +359,6 @@ return $value; } - // }}} - // {{{ private static function doAssertContains($needle, $haystack, $condition, $message) - /** * @param mixed $needle * @param mixed $haystack @@ -417,7 +366,7 @@ * @param string $message * @access private * @static - * @since 2.2.0 + * @since Method available since Release 2.2.0 */ private static function doAssertContains($needle, $haystack, $condition, $message) { $found = FALSE; @@ -475,9 +424,6 @@ } } - // }}} - // {{{ private static function doAssertType($expected, $actual, $condition, $message) - /** * @param string $expected * @param mixed $actual @@ -485,7 +431,7 @@ * @param string $message * @access private * @static - * @since 2.2.0 + * @since Method available since Release 2.2.0 */ private static function doAssertType($expected, $actual, $condition, $message) { if (is_object($actual)) { @@ -511,9 +457,6 @@ } } - // }}} - // {{{ private static function doAssertRegExp($pattern, $string, $condition, $message) - /** * @param mixed $pattern * @param mixed $string @@ -521,7 +464,7 @@ * @param string $message * @access private * @static - * @since 2.2.0 + * @since Method available since Release 2.2.0 */ private static function doAssertRegExp($pattern, $string, $condition, $message) { $result = preg_match($pattern, $string); @@ -553,9 +496,6 @@ } } - // }}} - // {{{ private static function failSame($message) - /** * @param string $message * @throws PHPUnit2_Framework_AssertionFailedError @@ -573,9 +513,6 @@ ); } - // }}} - // {{{ private static function failNotSame($expected, $actual, $message) - /** * @param mixed $expected * @param mixed $actual @@ -601,9 +538,6 @@ ); } - // }}} - // {{{ private static function failNotEquals($expected, $actual, $message) - /** * @param mixed $expected * @param mixed $actual @@ -616,9 +550,6 @@ self::fail(self::format($expected, $actual, $message)); } - // }}} - // {{{ private static function objectToString($object) - /** * @param mixed $object * @return string @@ -633,9 +564,6 @@ return $object; } - // }}} - // {{{ private static function sortArrayRecursively(&$array) { - /** * Sorts an array recursively by its keys. * @@ -653,12 +581,13 @@ } } } - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Framework/AssertionFailedError.php?r1=1.4&r2=1.5&ty=u Index: pear/PHPUnit2/Framework/AssertionFailedError.php diff -u pear/PHPUnit2/Framework/AssertionFailedError.php:1.4 pear/PHPUnit2/Framework/AssertionFailedError.php:1.5 --- pear/PHPUnit2/Framework/AssertionFailedError.php:1.4 Wed Dec 22 03:05:53 2004 +++ pear/PHPUnit2/Framework/AssertionFailedError.php Mon Apr 11 01:48:08 2005 @@ -1,33 +1,38 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: AssertionFailedError.php,v 1.4 2004/12/22 08:05:53 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: AssertionFailedError.php,v 1.5 2005/04/11 05:48:08 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ /** * Thrown when an assertion failed. * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Framework + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class PHPUnit2_Framework_AssertionFailedError extends Exception { - // {{{ public function toString() - /** * Wrapper for getMessage() which is declared as final. * @@ -37,12 +42,13 @@ public function toString() { return $this->getMessage(); } - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Framework/ComparisonFailure.php?r1=1.10&r2=1.11&ty=u Index: pear/PHPUnit2/Framework/ComparisonFailure.php diff -u pear/PHPUnit2/Framework/ComparisonFailure.php:1.10 pear/PHPUnit2/Framework/ComparisonFailure.php:1.11 --- pear/PHPUnit2/Framework/ComparisonFailure.php:1.10 Fri Feb 4 05:01:35 2005 +++ pear/PHPUnit2/Framework/ComparisonFailure.php Mon Apr 11 01:48:08 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: ComparisonFailure.php,v 1.10 2005/02/04 10:01:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: ComparisonFailure.php,v 1.11 2005/04/11 05:48:08 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/Assert.php'; require_once 'PHPUnit2/Framework/AssertionFailedError.php'; @@ -21,16 +26,16 @@ /** * Thrown when an assertion for string equality failed. * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Framework + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class PHPUnit2_Framework_ComparisonFailure extends PHPUnit2_Framework_AssertionFailedError { - // {{{ Instance Variables - /** * @var string * @access private @@ -43,9 +48,6 @@ */ private $actual = ''; - // }}} - // {{{ public function __construct($expected, $actual, $message = '') - /** * Constructs a comparison failure. * @@ -61,9 +63,6 @@ $this->actual = ($actual === NULL) ? 'NULL' : $actual; } - // }}} - // {{{ public function toString() - /** * Returns "..." in place of common prefix and "..." in * place of common suffix between expected and actual. @@ -116,12 +115,13 @@ parent::getMessage() ); } - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Framework/Error.php?r1=1.2&r2=1.3&ty=u Index: pear/PHPUnit2/Framework/Error.php diff -u pear/PHPUnit2/Framework/Error.php:1.2 pear/PHPUnit2/Framework/Error.php:1.3 --- pear/PHPUnit2/Framework/Error.php:1.2 Wed Dec 22 03:05:53 2004 +++ pear/PHPUnit2/Framework/Error.php Mon Apr 11 01:48:08 2005 @@ -1,32 +1,48 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: Error.php,v 1.2 2004/12/22 08:05:53 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: Error.php,v 1.3 2005/04/11 05:48:08 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.2.0 + */ /** * Wrapper for PHP errors. * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Framework - * @since 2.2.0 + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.2.0 */ class PHPUnit2_Framework_Error extends Exception { + /** + * + * + * @param string $message + * @param integer $code + * @param string $file + * @param integer $line + * @param array $trace + * @access public + */ public function __construct($message, $code, $file, $line, $trace) { parent::__construct($message, $code); @@ -37,7 +53,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Framework/IncompleteTest.php?r1=1.3&r2=1.4&ty=u Index: pear/PHPUnit2/Framework/IncompleteTest.php diff -u pear/PHPUnit2/Framework/IncompleteTest.php:1.3 pear/PHPUnit2/Framework/IncompleteTest.php:1.4 --- pear/PHPUnit2/Framework/IncompleteTest.php:1.3 Wed Dec 22 03:05:53 2004 +++ pear/PHPUnit2/Framework/IncompleteTest.php Mon Apr 11 01:48:08 2005 @@ -1,36 +1,46 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: IncompleteTest.php,v 1.3 2004/12/22 08:05:53 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: IncompleteTest.php,v 1.4 2005/04/11 05:48:08 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ /** * A marker interface for marking any exception/error as result of an unit * test as incomplete implementation or currently not implemnented. * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Framework + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ interface PHPUnit2_Framework_IncompleteTest { } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Framework/IncompleteTestError.php?r1=1.3&r2=1.4&ty=u Index: pear/PHPUnit2/Framework/IncompleteTestError.php diff -u pear/PHPUnit2/Framework/IncompleteTestError.php:1.3 pear/PHPUnit2/Framework/IncompleteTestError.php:1.4 --- pear/PHPUnit2/Framework/IncompleteTestError.php:1.3 Wed Dec 22 03:05:53 2004 +++ pear/PHPUnit2/Framework/IncompleteTestError.php Mon Apr 11 01:48:08 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: IncompleteTestError.php,v 1.3 2004/12/22 08:05:53 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: IncompleteTestError.php,v 1.4 2005/04/11 05:48:08 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/AssertionFailedError.php'; require_once 'PHPUnit2/Framework/IncompleteTest.php'; @@ -22,18 +27,23 @@ * Extension to PHPUnit2_Framework_AssertionFailedError to mark the special * case of an incomplete test. * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Framework + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class PHPUnit2_Framework_IncompleteTestError extends PHPUnit2_Framework_AssertionFailedError implements PHPUnit2_Framework_IncompleteTest { } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Framework/Test.php?r1=1.8&r2=1.9&ty=u Index: pear/PHPUnit2/Framework/Test.php diff -u pear/PHPUnit2/Framework/Test.php:1.8 pear/PHPUnit2/Framework/Test.php:1.9 --- pear/PHPUnit2/Framework/Test.php:1.8 Fri Feb 4 05:01:35 2005 +++ pear/PHPUnit2/Framework/Test.php Mon Apr 11 01:48:08 2005 @@ -1,35 +1,40 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: Test.php,v 1.8 2005/02/04 10:01:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: Test.php,v 1.9 2005/04/11 05:48:08 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/TestResult.php'; /** * A Test can be run and collect its results. * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Framework + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ interface PHPUnit2_Framework_Test { - // {{{ public function countTestCases() - /** * Counts the number of test cases that will be run by this test. * @@ -38,9 +43,6 @@ */ public function countTestCases(); - // }}} - // {{{ public function run($result = NULL) - /** * Runs a test and collects its result in a TestResult instance. * @@ -49,12 +51,13 @@ * @access public */ public function run($result = NULL); - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Framework/TestCase.php?r1=1.24&r2=1.25&ty=u Index: pear/PHPUnit2/Framework/TestCase.php diff -u pear/PHPUnit2/Framework/TestCase.php:1.24 pear/PHPUnit2/Framework/TestCase.php:1.25 --- pear/PHPUnit2/Framework/TestCase.php:1.24 Sun Apr 10 11:13:24 2005 +++ pear/PHPUnit2/Framework/TestCase.php Mon Apr 11 01:48:08 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: TestCase.php,v 1.24 2005/04/10 15:13:24 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: TestCase.php,v 1.25 2005/04/11 05:48:08 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/Assert.php'; require_once 'PHPUnit2/Framework/Error.php'; @@ -68,17 +73,17 @@ * ?> * </code> * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Framework + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 * @abstract */ abstract class PHPUnit2_Framework_TestCase extends PHPUnit2_Framework_Assert implements PHPUnit2_Framework_Test { - // {{{ Class Variables - /** * @var boolean * @access public @@ -86,9 +91,6 @@ */ public static $collectCodeCoverageInformation = FALSE; - // }}} - // {{{ Instance Variables - /** * Code Coverage information provided by Xdebug. * @@ -105,9 +107,6 @@ */ private $name = NULL; - // }}} - // {{{ public function __construct($name = NULL) - /** * Constructs a test case with the given name. * @@ -120,9 +119,6 @@ } } - // }}} - // {{{ public function toString() - /** * Returns a string representation of the test case. * @@ -140,9 +136,6 @@ ); } - // }}} - // {{{ public function countTestCases() - /** * Counts the number of test cases executed by run(TestResult result). * @@ -153,9 +146,6 @@ return 1; } - // }}} - // {{{ public function getCodeCoverageInformation() - /** * Returns the Code Coverage information provided by Xdebug. * @@ -166,9 +156,6 @@ return $this->codeCoverageInformation; } - // }}} - // {{{ public function getName() - /** * Gets the name of a TestCase. * @@ -179,9 +166,6 @@ return $this->name; } - // }}} - // {{{ public function run($result = NULL) - /** * Runs the test case and collects the results in a TestResult object. * If no TestResult object is passed a new one will be created. @@ -207,9 +191,6 @@ return $result; } - // }}} - // {{{ public function runBare() - /** * Runs the bare test sequence. * @@ -236,9 +217,6 @@ } } - // }}} - // {{{ protected function runTest() - /** * Override to run the test and assert its state. * @@ -279,9 +257,6 @@ } } - // }}} - // {{{ public function setName($name) - /** * Sets the name of a TestCase. * @@ -292,9 +267,6 @@ $this->name = $name; } - // }}} - // {{{ protected function createResult() - /** * Creates a default TestResult object. * @@ -305,19 +277,14 @@ return new PHPUnit2_Framework_TestResult; } - // }}} - // {{{ protected function setUp() - /** * Sets up the fixture, for example, open a network connection. * This method is called before a test is executed. * * @access protected */ - protected function setUp() {} - - // }}} - // {{{ protected function tearDown() + protected function setUp() { + } /** * Tears down the fixture, for example, close a network connection. @@ -325,13 +292,15 @@ * * @access protected */ - protected function tearDown() {} - - // }}} + protected function tearDown() { + } } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Framework/TestFailure.php?r1=1.7&r2=1.8&ty=u Index: pear/PHPUnit2/Framework/TestFailure.php diff -u pear/PHPUnit2/Framework/TestFailure.php:1.7 pear/PHPUnit2/Framework/TestFailure.php:1.8 --- pear/PHPUnit2/Framework/TestFailure.php:1.7 Fri Feb 4 05:01:35 2005 +++ pear/PHPUnit2/Framework/TestFailure.php Mon Apr 11 01:48:08 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: TestFailure.php,v 1.7 2005/02/04 10:01:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: TestFailure.php,v 1.8 2005/04/11 05:48:08 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/AssertionFailedError.php'; require_once 'PHPUnit2/Framework/Test.php'; @@ -21,16 +26,16 @@ /** * A TestFailure collects a failed test together with the caught exception. * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Framework + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class PHPUnit2_Framework_TestFailure { - // {{{ Instance Variables - /** * @var PHPUnit2_Framework_Test * @access protected @@ -43,9 +48,6 @@ */ protected $thrownException; - // }}} - // {{{ public function __construct(PHPUnit2_Framework_Test $failedTest, Exception $thrownException) - /** * Constructs a TestFailure with the given test and exception. * @@ -58,9 +60,6 @@ $this->thrownException = $thrownException; } - // }}} - // {{{ public function toString() - /** * Returns a short description of the failure. * @@ -76,9 +75,6 @@ ); } - // }}} - // {{{ public function failedTest() - /** * Gets the failed test. * @@ -89,9 +85,6 @@ return $this->failedTest; } - // }}} - // {{{ public function thrownException() - /** * Gets the thrown exception. * @@ -102,9 +95,6 @@ return $this->thrownException; } - // }}} - // {{{ public function exceptionMessage() - /** * Returns the exception's message. * @@ -115,9 +105,6 @@ return $this->thrownException()->getMessage(); } - // }}} - // {{{ public function isFailure() - /** * Returns TRUE if the thrown exception * is of type AssertionFailedError. @@ -128,12 +115,14 @@ public function isFailure() { return ($this->thrownException() instanceof PHPUnit2_Framework_AssertionFailedError); } - - // }}} } + /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Framework/TestListener.php?r1=1.7&r2=1.8&ty=u Index: pear/PHPUnit2/Framework/TestListener.php diff -u pear/PHPUnit2/Framework/TestListener.php:1.7 pear/PHPUnit2/Framework/TestListener.php:1.8 --- pear/PHPUnit2/Framework/TestListener.php:1.7 Wed Dec 22 03:05:54 2004 +++ pear/PHPUnit2/Framework/TestListener.php Mon Apr 11 01:48:08 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: TestListener.php,v 1.7 2004/12/22 08:05:54 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: TestListener.php,v 1.8 2005/04/11 05:48:08 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/AssertionFailedError.php'; require_once 'PHPUnit2/Framework/Test.php'; @@ -22,16 +27,16 @@ /** * A Listener for test progress. * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Framework + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ interface PHPUnit2_Framework_TestListener { - // {{{ public function addError(PHPUnit2_Framework_Test $test, Exception $e) - /** * An error occurred. * @@ -41,9 +46,6 @@ */ public function addError(PHPUnit2_Framework_Test $test, Exception $e); - // }}} - // {{{ public function addFailure(PHPUnit2_Framework_Test $test, PHPUnit2_Framework_AssertionFailedError $e) - /** * A failure occurred. * @@ -53,9 +55,6 @@ */ public function addFailure(PHPUnit2_Framework_Test $test, PHPUnit2_Framework_AssertionFailedError $e); - // }}} - // {{{ public function addIncompleteTest(PHPUnit2_Framework_Test $test, Exception $e) - /** * Incomplete test. * @@ -65,33 +64,24 @@ */ public function addIncompleteTest(PHPUnit2_Framework_Test $test, Exception $e); - // }}} - // {{{ public function startTestSuite(PHPUnit2_Framework_TestSuite $suite) - /** * A testsuite started. * * @param PHPUnit2_Framework_TestSuite $suite * @access public - * @since 2.2.0 + * @since Method available since Release 2.2.0 */ public function startTestSuite(PHPUnit2_Framework_TestSuite $suite); - // }}} - // {{{ public function endTestSuite(PHPUnit2_Framework_TestSuite $suite) - /** * A testsuite ended. * * @param PHPUnit2_Framework_TestSuite $suite * @access public - * @since 2.2.0 + * @since Method available since Release 2.2.0 */ public function endTestSuite(PHPUnit2_Framework_TestSuite $suite); - // }}} - // {{{ public function startTest(PHPUnit2_Framework_Test $test) - /** * A test started. * @@ -100,9 +90,6 @@ */ public function startTest(PHPUnit2_Framework_Test $test); - // }}} - // {{{ public function endTest(PHPUnit2_Framework_Test $test) - /** * A test ended. * @@ -110,12 +97,14 @@ * @access public */ public function endTest(PHPUnit2_Framework_Test $test); - - // }}} } + /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Framework/TestResult.php?r1=1.20&r2=1.21&ty=u Index: pear/PHPUnit2/Framework/TestResult.php diff -u pear/PHPUnit2/Framework/TestResult.php:1.20 pear/PHPUnit2/Framework/TestResult.php:1.21 --- pear/PHPUnit2/Framework/TestResult.php:1.20 Thu Mar 3 01:32:47 2005 +++ pear/PHPUnit2/Framework/TestResult.php Mon Apr 11 01:48:08 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: TestResult.php,v 1.20 2005/03/03 06:32:47 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: TestResult.php,v 1.21 2005/04/11 05:48:08 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/AssertionFailedError.php'; require_once 'PHPUnit2/Framework/Error.php'; @@ -26,16 +31,16 @@ /** * A TestResult collects the results of executing a test case. * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Framework + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class PHPUnit2_Framework_TestResult { - // {{{ Instance Variables - /** * @var array * @access protected @@ -88,9 +93,6 @@ */ private $stop = FALSE; - // }}} - // {{{ public function addListener(PHPUnit2_Framework_TestListener $listener) - /** * Registers a TestListener. * @@ -101,9 +103,6 @@ $this->listeners[] = $listener; } - // }}} - // {{{ public function removeListener(PHPUnit2_Framework_TestListener $listener) - /** * Unregisters a TestListener. * @@ -118,9 +117,6 @@ } } - // }}} - // {{{ public function addError(PHPUnit2_Framework_Test $test, Exception $e) - /** * Adds an error to the list of errors. * The passed in exception caused the error. @@ -145,9 +141,6 @@ } } - // }}} - // {{{ public function addFailure(PHPUnit2_Framework_Test $test, PHPUnit2_Framework_AssertionFailedError $e) - /** * Adds a failure to the list of failures. * The passed in exception caused the failure. @@ -172,15 +165,12 @@ } } - // }}} - // {{{ public function startTestSuite(PHPUnit2_Framework_TestSuite $suite) - /** * Informs the result that a testsuite will be started. * * @param PHPUnit2_Framework_TestSuite $suite * @access public - * @since 2.2.0 + * @since Method available since Release 2.2.0 */ public function startTestSuite(PHPUnit2_Framework_TestSuite $suite) { foreach ($this->listeners as $listener) { @@ -188,15 +178,12 @@ } } - // }}} - // {{{ public function endTestSuite(PHPUnit2_Framework_TestSuite $suite) - /** * Informs the result that a testsuite was completed. * * @param PHPUnit2_Framework_TestSuite $suite * @access public - * @since 2.2.0 + * @since Method available since Release 2.2.0 */ public function endTestSuite(PHPUnit2_Framework_TestSuite $suite) { foreach ($this->listeners as $listener) { @@ -204,9 +191,6 @@ } } - // }}} - // {{{ public function startTest(PHPUnit2_Framework_Test $test) - /** * Informs the result that a test will be started. * @@ -221,9 +205,6 @@ } } - // }}} - // {{{ public function endTest(PHPUnit2_Framework_Test $test) - /** * Informs the result that a test was completed. * @@ -240,9 +221,6 @@ } } - // }}} - // {{{ public function allCompletlyImplemented() - /** * Returns TRUE if no incomplete test occured. * @@ -253,9 +231,6 @@ return $this->notImplementedCount() == 0; } - // }}} - // {{{ public function notImplementedCount() - /** * Gets the number of incomplete tests. * @@ -266,9 +241,6 @@ return sizeof($this->notImplemented); } - // }}} - // {{{ public function notImplemented) - /** * Returns an Enumeration for the incomplete tests. * @@ -279,9 +251,6 @@ return $this->notImplemented; } - // }}} - // {{{ public function errorCount() - /** * Gets the number of detected errors. * @@ -292,9 +261,6 @@ return sizeof($this->errors); } - // }}} - // {{{ public function errors() - /** * Returns an Enumeration for the errors. * @@ -305,9 +271,6 @@ return $this->errors; } - // }}} - // {{{ public function failureCount() - /** * Gets the number of detected failures. * @@ -318,9 +281,6 @@ return sizeof($this->failures); } - // }}} - // {{{ public function failures() - /** * Returns an Enumeration for the failures. * @@ -331,9 +291,6 @@ return $this->failures; } - // }}} - // {{{ public function getCodeCoverageInformation() - /** * Returns Code Coverage data per test case. * @@ -356,9 +313,6 @@ return $this->codeCoverageInformation; } - // }}} - // {{{ public function run(PHPUnit2_Framework_Test $test) - /** * Runs a TestCase. * @@ -389,9 +343,6 @@ $this->currentTest = NULL; } - // }}} - // {{{ public function runCount() - /** * Gets the number of run tests. * @@ -402,9 +353,6 @@ return $this->runTests; } - // }}} - // {{{ public function shouldStop() - /** * Checks whether the test run should stop. * @@ -415,9 +363,6 @@ return $this->stop; } - // }}} - // {{{ public function stop() - /** * Marks that the test run should stop. * @@ -427,9 +372,6 @@ $this->stop = TRUE; } - // }}} - // {{{ public function wasSuccessful() - /** * Returns whether the entire test was successful or not. * @@ -444,16 +386,13 @@ } } - // }}} - // {{{ public function errorHandler($errno, $errstr, $errfile, $errline) - /** * @param integer $errno * @param string $errstr * @param string $errfile * @param integer $errline * @access public - * @since 2.2.0 + * @since Method available since Release 2.2.0 */ public function errorHandler($errno, $errstr, $errfile, $errline) { if ($errno == E_ERROR || $errno == E_USER_ERROR) { @@ -469,12 +408,14 @@ ); } } - - // }}} } + /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Framework/TestSuite.php?r1=1.18&r2=1.19&ty=u Index: pear/PHPUnit2/Framework/TestSuite.php diff -u pear/PHPUnit2/Framework/TestSuite.php:1.18 pear/PHPUnit2/Framework/TestSuite.php:1.19 --- pear/PHPUnit2/Framework/TestSuite.php:1.18 Wed Feb 9 11:34:35 2005 +++ pear/PHPUnit2/Framework/TestSuite.php Mon Apr 11 01:48:08 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: TestSuite.php,v 1.18 2005/02/09 16:34:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: TestSuite.php,v 1.19 2005/04/11 05:48:08 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/Test.php'; require_once 'PHPUnit2/Framework/TestCase.php'; @@ -47,16 +52,16 @@ * This constructor creates a suite with all the methods starting with * "test" that take no arguments. * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Framework + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class PHPUnit2_Framework_TestSuite implements PHPUnit2_Framework_Test { - // {{{ Instance Variables - /** * The name of the test suite. * @@ -73,9 +78,6 @@ */ private $tests = array(); - // }}} - // {{{ public function __construct($theClass = '', $name = '') - /** * Constructs a new TestSuite: * @@ -155,9 +157,6 @@ } } - // }}} - // {{{ public function toString() - /** * Returns a string representation of the test suite. * @@ -168,9 +167,6 @@ return $this->getName(); } - // }}} - // {{{ public function addTest(PHPUnit2_Framework_Test $test) - /** * Adds a test to the suite. * @@ -181,9 +177,6 @@ $this->tests[] = $test; } - // }}} - // {{{ public function addTestSuite($testClass) - /** * Adds the tests from the given class to the suite. * @@ -202,9 +195,6 @@ } } - // }}} - // {{{ public function countTestCases() - /** * Counts the number of test cases that will be run by this test. * @@ -221,9 +211,6 @@ return $count; } - // }}} - // {{{ public static function createTest(ReflectionClass $theClass, $name) - /** * @param ReflectionClass $theClass * @param string $name @@ -272,9 +259,6 @@ return $test; } - // }}} - // {{{ protected function createResult() - /** * Creates a default TestResult object. * @@ -285,9 +269,6 @@ return new PHPUnit2_Framework_TestResult; } - // }}} - // {{{ public function getName() - /** * Returns the name of the suite. * @@ -298,9 +279,6 @@ return $this->name; } - // }}} - // {{{ public function run($result = NULL) - /** * Runs the tests and collects their result in a TestResult. * @@ -335,9 +313,6 @@ return $result; } - // }}} - // {{{ public function runTest(PHPUnit2_Framework_Test $test, PHPUnit2_Framework_TestResult $result) - /** * Runs a test. * @@ -349,9 +324,6 @@ $test->run($result); } - // }}} - // {{{ public function setName($name) - /** * Sets the name of the suite. * @@ -362,9 +334,6 @@ $this->name = $name; } - // }}} - // {{{ public function testAt($index) - /** * Returns the test at the given index. * @@ -380,9 +349,6 @@ } } - // }}} - // {{{ public function testCount() - /** * Returns the number of tests in this suite. * @@ -393,9 +359,6 @@ return sizeof($this->tests); } - // }}} - // {{{ public function tests() - /** * Returns the tests as an enumeration. * @@ -406,9 +369,6 @@ return $this->tests; } - // }}} - // {{{ public function addTestMethod(ReflectionMethod $method, &$names, ReflectionClass $theClass) - /** * @param ReflectionMethod $method * @param array $names @@ -446,9 +406,6 @@ } } - // }}} - // {{{ private function isPublicTestMethod(ReflectionMethod $method) - /** * @param ReflectionMethod $method * @return boolean @@ -459,9 +416,6 @@ $method->isPublic()); } - // }}} - // {{{ private function isTestMethod(ReflectionMethod $method) - /** * @param ReflectionMethod $method * @return boolean @@ -471,9 +425,6 @@ return (substr($method->name, 0, 4) == 'test'); } - // }}} - // {{{ private static function warning($message) - /** * @param string $message * @return PHPUnit2_Framework_Warning @@ -483,12 +434,13 @@ require_once 'PHPUnit2/Framework/Warning.php'; return new PHPUnit2_Framework_Warning($message); } - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Framework/Warning.php?r1=1.7&r2=1.8&ty=u Index: pear/PHPUnit2/Framework/Warning.php diff -u pear/PHPUnit2/Framework/Warning.php:1.7 pear/PHPUnit2/Framework/Warning.php:1.8 --- pear/PHPUnit2/Framework/Warning.php:1.7 Fri Feb 4 04:03:13 2005 +++ pear/PHPUnit2/Framework/Warning.php Mon Apr 11 01:48:08 2005 @@ -1,66 +1,68 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: Warning.php,v 1.7 2005/02/04 09:03:13 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: Warning.php,v 1.8 2005/04/11 05:48:08 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/TestCase.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Framework + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class PHPUnit2_Framework_Warning extends PHPUnit2_Framework_TestCase { - // {{{ Instance Variables - /** * @var string * @access private */ private $message = ''; - // }}} - // {{{ public function __construct($message = '') - /** * @param string $message - * @access protected + * @access public */ public function __construct($message = '') { $this->message = $message; parent::__construct('Warning'); } - // }}} - // {{{ protected function runTest() - /** * @access protected */ protected function runTest() { $this->fail($this->message); } - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Runner/BaseTestRunner.php?r1=1.14&r2=1.15&ty=u Index: pear/PHPUnit2/Runner/BaseTestRunner.php diff -u pear/PHPUnit2/Runner/BaseTestRunner.php:1.14 pear/PHPUnit2/Runner/BaseTestRunner.php:1.15 --- pear/PHPUnit2/Runner/BaseTestRunner.php:1.14 Sun Mar 6 02:50:45 2005 +++ pear/PHPUnit2/Runner/BaseTestRunner.php Mon Apr 11 01:48:08 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: BaseTestRunner.php,v 1.14 2005/03/06 07:50:45 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: BaseTestRunner.php,v 1.15 2005/04/11 05:48:08 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/AssertionFailedError.php'; require_once 'PHPUnit2/Framework/Test.php'; @@ -25,22 +30,19 @@ /** * Base class for all test runners. * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Runner + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 * @abstract */ abstract class PHPUnit2_Runner_BaseTestRunner implements PHPUnit2_Framework_TestListener { - // {{{ Constants - const SUITE_METHODNAME = 'suite'; - // }}} - // {{{ public function addError(PHPUnit2_Framework_Test $test, Exception $e) - /** * An error occurred. * @@ -52,9 +54,6 @@ $this->testFailed(PHPUnit2_Runner_TestRunListener::STATUS_ERROR, $test, $e); } - // }}} - // {{{ public function addFailure(PHPUnit2_Framework_Test $test, PHPUnit2_Framework_AssertionFailedError $e) - /** * A failure occurred. * @@ -66,9 +65,6 @@ $this->testFailed(PHPUnit2_Runner_TestRunListener::STATUS_FAILURE, $test, $e); } - // }}} - // {{{ public function addIncompleteTest(PHPUnit2_Framework_Test $test, Exception $e) - /** * Incomplete test. * @@ -80,35 +76,26 @@ $this->testFailed(PHPUnit2_Runner_TestRunListener::STATUS_INCOMPLETE, $test, $e); } - // }}} - // {{{ public function startTestSuite(PHPUnit2_Framework_TestSuite $suite) - /** * A testsuite started. * * @param PHPUnit2_Framework_TestSuite $suite * @access public - * @since 2.2.0 + * @since Method available since Release 2.2.0 */ public function startTestSuite(PHPUnit2_Framework_TestSuite $suite) { } - // }}} - // {{{ public function endTestSuite(PHPUnit2_Framework_TestSuite $suite) - /** * A testsuite ended. * * @param PHPUnit2_Framework_TestSuite $suite * @access public - * @since 2.2.0 + * @since Method available since Release 2.2.0 */ public function endTestSuite(PHPUnit2_Framework_TestSuite $suite) { } - // }}} - // {{{ public function startTest(PHPUnit2_Framework_Test $test) - /** * A test started. * @@ -119,9 +106,6 @@ $this->testStarted($test->getName()); } - // }}} - // {{{ public function endTest(PHPUnit2_Framework_Test $test) - /** * A test ended. * @@ -132,22 +116,16 @@ $this->testEnded($test->getName()); } - // }}} - // {{{ public function getLoader() - /** * Returns the loader to be used. * * @return PHPUnit2_Runner_TestSuiteLoader - * @access protected + * @access public */ public function getLoader() { return new PHPUnit2_Runner_StandardTestSuiteLoader; } - // }}} - // {{{ public function getTest($suiteClassName, $suiteClassFile = '') - /** * Returns the Test corresponding to the given suite. * This is a template method, subclasses override @@ -209,9 +187,6 @@ return $test; } - // }}} - // {{{ protected abstract function runFailed($message) - /** * Override to define how to handle a failed loading of * a test suite. @@ -222,9 +197,6 @@ */ protected abstract function runFailed($message); - // }}} - // {{{ protected function loadSuiteClass($suiteClassName, $suiteClassFile = '') - /** * Returns the loaded ReflectionClass for a suite name. * @@ -237,9 +209,6 @@ return $this->getLoader()->load($suiteClassName, $suiteClassFile); } - // }}} - // {{{ protected function clearStatus() - /** * Clears the status message. * @@ -248,9 +217,6 @@ protected function clearStatus() { } - // }}} - // {{{ public abstract function testStarted($testName) - /** * A test started. * @@ -260,9 +226,6 @@ */ public abstract function testStarted($testName); - // }}} - // {{{ public abstract function testEnded($testName) - /** * A test ended. * @@ -272,9 +235,6 @@ */ public abstract function testEnded($testName); - // }}} - // {{{ public abstract function testFailed($status, PHPUnit2_Framework_Test $test, PHPUnit2_Framework_AssertionFailedError $e) - /** * A test failed. * @@ -285,12 +245,13 @@ * @abstract */ public abstract function testFailed($status, PHPUnit2_Framework_Test $test, PHPUnit2_Framework_AssertionFailedError $e); - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Runner/IncludePathTestCollector.php?r1=1.10&r2=1.11&ty=u Index: pear/PHPUnit2/Runner/IncludePathTestCollector.php diff -u pear/PHPUnit2/Runner/IncludePathTestCollector.php:1.10 pear/PHPUnit2/Runner/IncludePathTestCollector.php:1.11 --- pear/PHPUnit2/Runner/IncludePathTestCollector.php:1.10 Fri Mar 18 04:25:00 2005 +++ pear/PHPUnit2/Runner/IncludePathTestCollector.php Mon Apr 11 01:48:08 2005 @@ -1,18 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: IncludePathTestCollector.php,v 1.10 2005/03/18 09:25:00 sebastian Exp $ +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: IncludePathTestCollector.php,v 1.11 2005/04/11 05:48:08 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.1.0 + */ // require_once 'PHPUnit2/Runner/TestCollector.php'; @@ -21,17 +27,17 @@ * An implementation of a TestCollector that consults the * include path set in the php.ini. * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Runner - * @since 2.1.0 + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.1.0 */ -class PHPUnit2_Runner_IncludePathTestCollector implements PHPUnit2_Runner_TestCollector { - // {{{ public function collectTests() +class PHPUnit2_Runner_IncludePathTestCollector implements PHPUnit2_Runner_TestCollector { /** * @return array * @access public @@ -69,26 +75,24 @@ return $result; } - // }}} - // {{{ protected function isTestClass($classFileName) - /** * Considers a file to contain a test class when it contains the * pattern "Test" in its name and its name ends with ".php". * * @param string $classFileName * @return boolean - * @access public + * @access protected */ protected function isTestClass($classFileName) { return (strpos($classFileName, 'Test') !== FALSE && substr($classFileName, -4) == '.php') ? TRUE : FALSE; } - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Runner/StandardTestSuiteLoader.php?r1=1.12&r2=1.13&ty=u Index: pear/PHPUnit2/Runner/StandardTestSuiteLoader.php diff -u pear/PHPUnit2/Runner/StandardTestSuiteLoader.php:1.12 pear/PHPUnit2/Runner/StandardTestSuiteLoader.php:1.13 --- pear/PHPUnit2/Runner/StandardTestSuiteLoader.php:1.12 Sun Mar 6 16:08:23 2005 +++ pear/PHPUnit2/Runner/StandardTestSuiteLoader.php Mon Apr 11 01:48:08 2005 @@ -1,35 +1,40 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: StandardTestSuiteLoader.php,v 1.12 2005/03/06 21:08:23 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: StandardTestSuiteLoader.php,v 1.13 2005/04/11 05:48:08 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Runner/TestSuiteLoader.php'; /** * The standard test suite loader. * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Runner + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class PHPUnit2_Runner_StandardTestSuiteLoader implements PHPUnit2_Runner_TestSuiteLoader { - // {{{ public function load($suiteClassName, $suiteClassFile = '') - /** * @param string $suiteClassName * @param string $suiteClassFile @@ -75,9 +80,6 @@ } } - // }}} - // {{{ public function reload(ReflectionClass $aClass) - /** * @param ReflectionClass $aClass * @return ReflectionClass @@ -86,12 +88,13 @@ public function reload(ReflectionClass $aClass) { return $aClass; } - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Runner/TestCollector.php?r1=1.4&r2=1.5&ty=u Index: pear/PHPUnit2/Runner/TestCollector.php diff -u pear/PHPUnit2/Runner/TestCollector.php:1.4 pear/PHPUnit2/Runner/TestCollector.php:1.5 --- pear/PHPUnit2/Runner/TestCollector.php:1.4 Wed Dec 22 03:05:54 2004 +++ pear/PHPUnit2/Runner/TestCollector.php Mon Apr 11 01:48:08 2005 @@ -1,45 +1,51 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: TestCollector.php,v 1.4 2004/12/22 08:05:54 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: TestCollector.php,v 1.5 2005/04/11 05:48:08 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ /** * Collects Test class names to be presented * by the TestSelector. * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Runner + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ interface PHPUnit2_Runner_TestCollector { - // {{{ public function collectTests() - /** * @return array * @access public */ public function collectTests(); - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Runner/TestRunListener.php?r1=1.5&r2=1.6&ty=u Index: pear/PHPUnit2/Runner/TestRunListener.php diff -u pear/PHPUnit2/Runner/TestRunListener.php:1.5 pear/PHPUnit2/Runner/TestRunListener.php:1.6 --- pear/PHPUnit2/Runner/TestRunListener.php:1.5 Wed Dec 22 03:05:54 2004 +++ pear/PHPUnit2/Runner/TestRunListener.php Mon Apr 11 01:48:08 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: TestRunListener.php,v 1.5 2004/12/22 08:05:54 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: TestRunListener.php,v 1.6 2005/04/11 05:48:08 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ /** * A listener interface for observing the @@ -21,23 +26,20 @@ * this interface using only primitive objects, * making it suitable for remote test execution. * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Runner + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ interface PHPUnit2_Runner_TestRunListener { - // {{{ Constants - const STATUS_ERROR = 1; const STATUS_FAILURE = 2; const STATUS_INCOMPLETE = 3; - // }}} - // {{{ public function testRunStarted($testSuiteName, $testCount) - /** * @param string $testSuiteName * @param integer $testCount @@ -45,44 +47,29 @@ */ public function testRunStarted($testSuiteName, $testCount); - // }}} - // {{{ public function testRunEnded($elapsedTime) - /** * @param integer $elapsedTime */ public function testRunEnded($elapsedTime); - // }}} - // {{{ public function testRunStopped($elapsedTime) - /** * @param integer $elapsedTime * @access public */ public function testRunStopped($elapsedTime); - // }}} - // {{{ public function testStarted($testName) - /** * @param string $testName * @access public */ public function testStarted($testName); - // }}} - // {{{ public function testEnded($testName) - /** * @param string $testName * @access public */ public function testEnded($testName); - // }}} - // {{{ public function testFailed($status, $testName, $trace) - /** * @param integer $status * @param string $testName @@ -90,12 +77,13 @@ * @access public */ public function testFailed($status, $testName, $trace); - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Runner/TestSuiteLoader.php?r1=1.6&r2=1.7&ty=u Index: pear/PHPUnit2/Runner/TestSuiteLoader.php diff -u pear/PHPUnit2/Runner/TestSuiteLoader.php:1.6 pear/PHPUnit2/Runner/TestSuiteLoader.php:1.7 --- pear/PHPUnit2/Runner/TestSuiteLoader.php:1.6 Thu Feb 3 03:06:06 2005 +++ pear/PHPUnit2/Runner/TestSuiteLoader.php Mon Apr 11 01:48:08 2005 @@ -1,33 +1,38 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: TestSuiteLoader.php,v 1.6 2005/02/03 08:06:06 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: TestSuiteLoader.php,v 1.7 2005/04/11 05:48:08 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ /** * An interface to define how a test suite should be loaded. * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Runner + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ interface PHPUnit2_Runner_TestSuiteLoader { - // {{{ public function load($suiteClassName, $suiteClassFile = '') - /** * @param string $suiteClassName * @param string $suiteClassFile @@ -36,21 +41,19 @@ */ public function load($suiteClassName, $suiteClassFile = ''); - // }}} - // {{{ public function reload(ReflectionClass $aClass) - /** * @param ReflectionClass $aClass * @return ReflectionClass * @access public */ public function reload(ReflectionClass $aClass); - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Runner/Version.php?r1=1.4&r2=1.5&ty=u Index: pear/PHPUnit2/Runner/Version.php diff -u pear/PHPUnit2/Runner/Version.php:1.4 pear/PHPUnit2/Runner/Version.php:1.5 --- pear/PHPUnit2/Runner/Version.php:1.4 Wed Dec 22 03:05:54 2004 +++ pear/PHPUnit2/Runner/Version.php Mon Apr 11 01:48:08 2005 @@ -1,33 +1,38 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: Version.php,v 1.4 2004/12/22 08:05:54 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: Version.php,v 1.5 2005/04/11 05:48:08 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ /** * This class defines the current version of PHPUnit. * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Runner + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class PHPUnit2_Runner_Version { - // {{{ public static function id() - /** * Returns the current version of PHPUnit. * @@ -39,23 +44,21 @@ return '@version@'; } - // }}} - // {{{ public function getVersionString() - /** * @return string * @access public * @static */ public static function getVersionString() { - return "PHPUnit @version@ by Sebastian Bergmann."; + return 'PHPUnit @version@ by Sebastian Bergmann.'; } - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/AllTests.php?r1=1.9&r2=1.10&ty=u Index: pear/PHPUnit2/Tests/AllTests.php diff -u pear/PHPUnit2/Tests/AllTests.php:1.9 pear/PHPUnit2/Tests/AllTests.php:1.10 --- pear/PHPUnit2/Tests/AllTests.php:1.9 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/AllTests.php Mon Apr 11 01:48:09 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: AllTests.php,v 1.9 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: AllTests.php,v 1.10 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ if (!defined('PHPUnit2_MAIN_METHOD')) { define('PHPUnit2_MAIN_METHOD', 'AllTests::main'); @@ -27,12 +32,16 @@ require_once 'Runner/AllTests.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class AllTests { public static function main() { @@ -55,7 +64,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/DoubleTestCase.php?r1=1.6&r2=1.7&ty=u Index: pear/PHPUnit2/Tests/DoubleTestCase.php diff -u pear/PHPUnit2/Tests/DoubleTestCase.php:1.6 pear/PHPUnit2/Tests/DoubleTestCase.php:1.7 --- pear/PHPUnit2/Tests/DoubleTestCase.php:1.6 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/DoubleTestCase.php Mon Apr 11 01:48:09 2005 @@ -1,31 +1,40 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: DoubleTestCase.php,v 1.6 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: DoubleTestCase.php,v 1.7 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/Test.php'; require_once 'PHPUnit2/Framework/TestCase.php'; require_once 'PHPUnit2/Framework/TestResult.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class DoubleTestCase implements PHPUnit2_Framework_Test { private $testCase; @@ -49,7 +58,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/Error.php?r1=1.4&r2=1.5&ty=u Index: pear/PHPUnit2/Tests/Error.php diff -u pear/PHPUnit2/Tests/Error.php:1.4 pear/PHPUnit2/Tests/Error.php:1.5 --- pear/PHPUnit2/Tests/Error.php:1.4 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/Error.php Mon Apr 11 01:48:09 2005 @@ -1,29 +1,38 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: Error.php,v 1.4 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: Error.php,v 1.5 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/TestCase.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class Error extends PHPUnit2_Framework_TestCase { public function runTest() { @@ -32,7 +41,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/Failure.php?r1=1.4&r2=1.5&ty=u Index: pear/PHPUnit2/Tests/Failure.php diff -u pear/PHPUnit2/Tests/Failure.php:1.4 pear/PHPUnit2/Tests/Failure.php:1.5 --- pear/PHPUnit2/Tests/Failure.php:1.4 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/Failure.php Mon Apr 11 01:48:09 2005 @@ -1,29 +1,38 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: Failure.php,v 1.4 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: Failure.php,v 1.5 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/TestCase.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class Failure extends PHPUnit2_Framework_TestCase { public function runTest() { @@ -32,7 +41,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/InheritedTestCase.php?r1=1.4&r2=1.5&ty=u Index: pear/PHPUnit2/Tests/InheritedTestCase.php diff -u pear/PHPUnit2/Tests/InheritedTestCase.php:1.4 pear/PHPUnit2/Tests/InheritedTestCase.php:1.5 --- pear/PHPUnit2/Tests/InheritedTestCase.php:1.4 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/InheritedTestCase.php Mon Apr 11 01:48:09 2005 @@ -1,30 +1,39 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: InheritedTestCase.php,v 1.4 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: InheritedTestCase.php,v 1.5 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/TestCase.php'; require_once 'OneTestCase.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class InheritedTestCase extends OneTestCase { public function test2() { @@ -32,7 +41,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/MockRunner.php?r1=1.4&r2=1.5&ty=u Index: pear/PHPUnit2/Tests/MockRunner.php diff -u pear/PHPUnit2/Tests/MockRunner.php:1.4 pear/PHPUnit2/Tests/MockRunner.php:1.5 --- pear/PHPUnit2/Tests/MockRunner.php:1.4 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/MockRunner.php Mon Apr 11 01:48:09 2005 @@ -1,31 +1,40 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: MockRunner.php,v 1.4 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: MockRunner.php,v 1.5 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/AssertionFailedError.php'; require_once 'PHPUnit2/Framework/Test.php'; require_once 'PHPUnit2/Runner/BaseTestRunner.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class MockRunner extends PHPUnit2_Runner_BaseTestRunner { public function testEnded($testName) { @@ -42,7 +51,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/NoArgTestCaseTest.php?r1=1.4&r2=1.5&ty=u Index: pear/PHPUnit2/Tests/NoArgTestCaseTest.php diff -u pear/PHPUnit2/Tests/NoArgTestCaseTest.php:1.4 pear/PHPUnit2/Tests/NoArgTestCaseTest.php:1.5 --- pear/PHPUnit2/Tests/NoArgTestCaseTest.php:1.4 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/NoArgTestCaseTest.php Mon Apr 11 01:48:09 2005 @@ -1,29 +1,38 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: NoArgTestCaseTest.php,v 1.4 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: NoArgTestCaseTest.php,v 1.5 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/TestCase.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class NoArgTestCaseTest extends PHPUnit2_Framework_TestCase { public function testNothing() { @@ -31,7 +40,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/NoTestCaseClass.php?r1=1.4&r2=1.5&ty=u Index: pear/PHPUnit2/Tests/NoTestCaseClass.php diff -u pear/PHPUnit2/Tests/NoTestCaseClass.php:1.4 pear/PHPUnit2/Tests/NoTestCaseClass.php:1.5 --- pear/PHPUnit2/Tests/NoTestCaseClass.php:1.4 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/NoTestCaseClass.php Mon Apr 11 01:48:09 2005 @@ -1,35 +1,47 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: NoTestCaseClass.php,v 1.4 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: NoTestCaseClass.php,v 1.5 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/TestCase.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class NoTestCaseClass { } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/NoTestCases.php?r1=1.5&r2=1.6&ty=u Index: pear/PHPUnit2/Tests/NoTestCases.php diff -u pear/PHPUnit2/Tests/NoTestCases.php:1.5 pear/PHPUnit2/Tests/NoTestCases.php:1.6 --- pear/PHPUnit2/Tests/NoTestCases.php:1.5 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/NoTestCases.php Mon Apr 11 01:48:09 2005 @@ -1,29 +1,38 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: NoTestCases.php,v 1.5 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: NoTestCases.php,v 1.6 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/TestCase.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class NoTestCases extends PHPUnit2_Framework_TestCase { public function noTestCase() { @@ -31,7 +40,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/NonStatic.php?r1=1.5&r2=1.6&ty=u Index: pear/PHPUnit2/Tests/NonStatic.php diff -u pear/PHPUnit2/Tests/NonStatic.php:1.5 pear/PHPUnit2/Tests/NonStatic.php:1.6 --- pear/PHPUnit2/Tests/NonStatic.php:1.5 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/NonStatic.php Mon Apr 11 01:48:09 2005 @@ -1,27 +1,36 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: NonStatic.php,v 1.5 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: NonStatic.php,v 1.6 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ + +/** + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class NonStatic { public function suite() { @@ -30,7 +39,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/NotPublicTestCase.php?r1=1.4&r2=1.5&ty=u Index: pear/PHPUnit2/Tests/NotPublicTestCase.php diff -u pear/PHPUnit2/Tests/NotPublicTestCase.php:1.4 pear/PHPUnit2/Tests/NotPublicTestCase.php:1.5 --- pear/PHPUnit2/Tests/NotPublicTestCase.php:1.4 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/NotPublicTestCase.php Mon Apr 11 01:48:09 2005 @@ -1,29 +1,38 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: NotPublicTestCase.php,v 1.4 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: NotPublicTestCase.php,v 1.5 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/TestCase.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class NotPublicTestCase extends PHPUnit2_Framework_TestCase { public function testPublic() { @@ -34,7 +43,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/NotVoidTestCase.php?r1=1.4&r2=1.5&ty=u Index: pear/PHPUnit2/Tests/NotVoidTestCase.php diff -u pear/PHPUnit2/Tests/NotVoidTestCase.php:1.4 pear/PHPUnit2/Tests/NotVoidTestCase.php:1.5 --- pear/PHPUnit2/Tests/NotVoidTestCase.php:1.4 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/NotVoidTestCase.php Mon Apr 11 01:48:09 2005 @@ -1,35 +1,47 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: NotVoidTestCase.php,v 1.4 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: NotVoidTestCase.php,v 1.5 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/TestCase.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class NotVoidTestCase extends PHPUnit2_Framework_TestCase { } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/OneTestCase.php?r1=1.4&r2=1.5&ty=u Index: pear/PHPUnit2/Tests/OneTestCase.php diff -u pear/PHPUnit2/Tests/OneTestCase.php:1.4 pear/PHPUnit2/Tests/OneTestCase.php:1.5 --- pear/PHPUnit2/Tests/OneTestCase.php:1.4 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/OneTestCase.php Mon Apr 11 01:48:09 2005 @@ -1,29 +1,38 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: OneTestCase.php,v 1.4 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: OneTestCase.php,v 1.5 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/TestCase.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class OneTestCase extends PHPUnit2_Framework_TestCase { public function noTestCase() { @@ -34,7 +43,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/OverrideTestCase.php?r1=1.5&r2=1.6&ty=u Index: pear/PHPUnit2/Tests/OverrideTestCase.php diff -u pear/PHPUnit2/Tests/OverrideTestCase.php:1.5 pear/PHPUnit2/Tests/OverrideTestCase.php:1.6 --- pear/PHPUnit2/Tests/OverrideTestCase.php:1.5 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/OverrideTestCase.php Mon Apr 11 01:48:09 2005 @@ -1,30 +1,39 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: OverrideTestCase.php,v 1.5 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: OverrideTestCase.php,v 1.6 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/TestCase.php'; require_once 'OneTestCase.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class OverrideTestCase extends OneTestCase { public function testCase() { @@ -32,7 +41,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/SetupFailure.php?r1=1.4&r2=1.5&ty=u Index: pear/PHPUnit2/Tests/SetupFailure.php diff -u pear/PHPUnit2/Tests/SetupFailure.php:1.4 pear/PHPUnit2/Tests/SetupFailure.php:1.5 --- pear/PHPUnit2/Tests/SetupFailure.php:1.4 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/SetupFailure.php Mon Apr 11 01:48:09 2005 @@ -1,29 +1,38 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: SetupFailure.php,v 1.4 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: SetupFailure.php,v 1.5 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'Success.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class SetupFailure extends Success { protected function setUp() { @@ -32,7 +41,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/Sleep.php?r1=1.4&r2=1.5&ty=u Index: pear/PHPUnit2/Tests/Sleep.php diff -u pear/PHPUnit2/Tests/Sleep.php:1.4 pear/PHPUnit2/Tests/Sleep.php:1.5 --- pear/PHPUnit2/Tests/Sleep.php:1.4 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/Sleep.php Mon Apr 11 01:48:09 2005 @@ -1,29 +1,38 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: Sleep.php,v 1.4 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: Sleep.php,v 1.5 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Extensions/PerformanceTestCase.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class Sleep extends PHPUnit2_Extensions_PerformanceTestCase { public function testSleepTwoSeconds() { @@ -32,7 +41,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/Success.php?r1=1.4&r2=1.5&ty=u Index: pear/PHPUnit2/Tests/Success.php diff -u pear/PHPUnit2/Tests/Success.php:1.4 pear/PHPUnit2/Tests/Success.php:1.5 --- pear/PHPUnit2/Tests/Success.php:1.4 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/Success.php Mon Apr 11 01:48:09 2005 @@ -1,29 +1,38 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: Success.php,v 1.4 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: Success.php,v 1.5 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/TestCase.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class Success extends PHPUnit2_Framework_TestCase { public function runTest() { @@ -31,7 +40,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/TearDownFailure.php?r1=1.4&r2=1.5&ty=u Index: pear/PHPUnit2/Tests/TearDownFailure.php diff -u pear/PHPUnit2/Tests/TearDownFailure.php:1.4 pear/PHPUnit2/Tests/TearDownFailure.php:1.5 --- pear/PHPUnit2/Tests/TearDownFailure.php:1.4 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/TearDownFailure.php Mon Apr 11 01:48:09 2005 @@ -1,29 +1,38 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: TearDownFailure.php,v 1.4 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: TearDownFailure.php,v 1.5 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'Success.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class TearDownFailure extends Success { protected function tearDown() { @@ -32,7 +41,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/TestIterator.php?r1=1.1&r2=1.2&ty=u Index: pear/PHPUnit2/Tests/TestIterator.php diff -u pear/PHPUnit2/Tests/TestIterator.php:1.1 pear/PHPUnit2/Tests/TestIterator.php:1.2 --- pear/PHPUnit2/Tests/TestIterator.php:1.1 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/TestIterator.php Mon Apr 11 01:48:09 2005 @@ -1,27 +1,36 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: TestIterator.php,v 1.1 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: TestIterator.php,v 1.2 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ + +/** + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class TestIterator implements Iterator { private $array; @@ -53,7 +62,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/ThrowExceptionTestCase.php?r1=1.4&r2=1.5&ty=u Index: pear/PHPUnit2/Tests/ThrowExceptionTestCase.php diff -u pear/PHPUnit2/Tests/ThrowExceptionTestCase.php:1.4 pear/PHPUnit2/Tests/ThrowExceptionTestCase.php:1.5 --- pear/PHPUnit2/Tests/ThrowExceptionTestCase.php:1.4 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/ThrowExceptionTestCase.php Mon Apr 11 01:48:09 2005 @@ -1,29 +1,38 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: ThrowExceptionTestCase.php,v 1.4 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: ThrowExceptionTestCase.php,v 1.5 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Extensions/ExceptionTestCase.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class ThrowExceptionTestCase extends PHPUnit2_Extensions_ExceptionTestCase { public function test() { @@ -32,7 +41,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/ThrowNoExceptionTestCase.php?r1=1.4&r2=1.5&ty=u Index: pear/PHPUnit2/Tests/ThrowNoExceptionTestCase.php diff -u pear/PHPUnit2/Tests/ThrowNoExceptionTestCase.php:1.4 pear/PHPUnit2/Tests/ThrowNoExceptionTestCase.php:1.5 --- pear/PHPUnit2/Tests/ThrowNoExceptionTestCase.php:1.4 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/ThrowNoExceptionTestCase.php Mon Apr 11 01:48:09 2005 @@ -1,29 +1,38 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: ThrowNoExceptionTestCase.php,v 1.4 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: ThrowNoExceptionTestCase.php,v 1.5 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Extensions/ExceptionTestCase.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class ThrowNoExceptionTestCase extends PHPUnit2_Extensions_ExceptionTestCase { public function test() { @@ -31,7 +40,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/TornDown.php?r1=1.5&r2=1.6&ty=u Index: pear/PHPUnit2/Tests/TornDown.php diff -u pear/PHPUnit2/Tests/TornDown.php:1.5 pear/PHPUnit2/Tests/TornDown.php:1.6 --- pear/PHPUnit2/Tests/TornDown.php:1.5 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/TornDown.php Mon Apr 11 01:48:09 2005 @@ -1,29 +1,38 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: TornDown.php,v 1.5 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: TornDown.php,v 1.6 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Extensions/TestSetup.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class TornDown extends PHPUnit2_Extensions_TestSetup { private $tornDown = FALSE; @@ -34,7 +43,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/TornDown2.php?r1=1.5&r2=1.6&ty=u Index: pear/PHPUnit2/Tests/TornDown2.php diff -u pear/PHPUnit2/Tests/TornDown2.php:1.5 pear/PHPUnit2/Tests/TornDown2.php:1.6 --- pear/PHPUnit2/Tests/TornDown2.php:1.5 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/TornDown2.php Mon Apr 11 01:48:09 2005 @@ -1,29 +1,38 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: TornDown2.php,v 1.5 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: TornDown2.php,v 1.6 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/TestCase.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class TornDown2 extends PHPUnit2_Framework_TestCase { public $tornDown = FALSE; @@ -38,7 +47,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/TornDown3.php?r1=1.4&r2=1.5&ty=u Index: pear/PHPUnit2/Tests/TornDown3.php diff -u pear/PHPUnit2/Tests/TornDown3.php:1.4 pear/PHPUnit2/Tests/TornDown3.php:1.5 --- pear/PHPUnit2/Tests/TornDown3.php:1.4 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/TornDown3.php Mon Apr 11 01:48:09 2005 @@ -1,29 +1,38 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: TornDown3.php,v 1.4 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: TornDown3.php,v 1.5 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'TornDown2.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class TornDown3 extends TornDown2 { protected function tearDown() { @@ -37,7 +46,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/TornDown4.php?r1=1.4&r2=1.5&ty=u Index: pear/PHPUnit2/Tests/TornDown4.php diff -u pear/PHPUnit2/Tests/TornDown4.php:1.4 pear/PHPUnit2/Tests/TornDown4.php:1.5 --- pear/PHPUnit2/Tests/TornDown4.php:1.4 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/TornDown4.php Mon Apr 11 01:48:09 2005 @@ -1,29 +1,38 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: TornDown4.php,v 1.4 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: TornDown4.php,v 1.5 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'TornDown2.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class TornDown4 extends TornDown2 { protected function setUp() { @@ -32,7 +41,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/TornDown5.php?r1=1.4&r2=1.5&ty=u Index: pear/PHPUnit2/Tests/TornDown5.php diff -u pear/PHPUnit2/Tests/TornDown5.php:1.4 pear/PHPUnit2/Tests/TornDown5.php:1.5 --- pear/PHPUnit2/Tests/TornDown5.php:1.4 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/TornDown5.php Mon Apr 11 01:48:09 2005 @@ -1,29 +1,38 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: TornDown5.php,v 1.4 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: TornDown5.php,v 1.5 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'TornDown2.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class TornDown5 extends TornDown2 { protected function tearDown() { @@ -32,7 +41,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/WasRun.php?r1=1.7&r2=1.8&ty=u Index: pear/PHPUnit2/Tests/WasRun.php diff -u pear/PHPUnit2/Tests/WasRun.php:1.7 pear/PHPUnit2/Tests/WasRun.php:1.8 --- pear/PHPUnit2/Tests/WasRun.php:1.7 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/WasRun.php Mon Apr 11 01:48:09 2005 @@ -1,29 +1,38 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: WasRun.php,v 1.7 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: WasRun.php,v 1.8 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/TestCase.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class WasRun extends PHPUnit2_Framework_TestCase { public $wasRun = FALSE; @@ -34,7 +43,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/Extensions/AllTests.php?r1=1.10&r2=1.11&ty=u Index: pear/PHPUnit2/Tests/Extensions/AllTests.php diff -u pear/PHPUnit2/Tests/Extensions/AllTests.php:1.10 pear/PHPUnit2/Tests/Extensions/AllTests.php:1.11 --- pear/PHPUnit2/Tests/Extensions/AllTests.php:1.10 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/Extensions/AllTests.php Mon Apr 11 01:48:09 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: AllTests.php,v 1.10 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: AllTests.php,v 1.11 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ if (!defined('PHPUnit2_MAIN_METHOD')) { define('PHPUnit2_MAIN_METHOD', 'Extensions_AllTests::main'); @@ -30,12 +35,16 @@ require_once 'Extensions/RepeatedTestTest.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class Extensions_AllTests { public static function main() { @@ -77,7 +86,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/Extensions/ExceptionTestCaseTest.php?r1=1.10&r2=1.11&ty=u Index: pear/PHPUnit2/Tests/Extensions/ExceptionTestCaseTest.php diff -u pear/PHPUnit2/Tests/Extensions/ExceptionTestCaseTest.php:1.10 pear/PHPUnit2/Tests/Extensions/ExceptionTestCaseTest.php:1.11 --- pear/PHPUnit2/Tests/Extensions/ExceptionTestCaseTest.php:1.10 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/Extensions/ExceptionTestCaseTest.php Mon Apr 11 01:48:09 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: ExceptionTestCaseTest.php,v 1.10 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: ExceptionTestCaseTest.php,v 1.11 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/TestCase.php'; @@ -21,12 +26,16 @@ require_once 'ThrowNoExceptionTestCase.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class Extensions_ExceptionTestCaseTest extends PHPUnit2_Framework_TestCase { public function testException() { @@ -77,7 +86,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/Extensions/ExtensionTest.php?r1=1.8&r2=1.9&ty=u Index: pear/PHPUnit2/Tests/Extensions/ExtensionTest.php diff -u pear/PHPUnit2/Tests/Extensions/ExtensionTest.php:1.8 pear/PHPUnit2/Tests/Extensions/ExtensionTest.php:1.9 --- pear/PHPUnit2/Tests/Extensions/ExtensionTest.php:1.8 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/Extensions/ExtensionTest.php Mon Apr 11 01:48:09 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: ExtensionTest.php,v 1.8 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: ExtensionTest.php,v 1.9 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Extensions/TestSetup.php'; require_once 'PHPUnit2/Framework/TestCase.php'; @@ -26,12 +31,16 @@ require_once 'WasRun.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class Extensions_ExtensionTest extends PHPUnit2_Framework_TestCase { public function testRunningErrorInTestSetup() { @@ -78,7 +87,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/Extensions/PerformanceTestCaseTest.php?r1=1.10&r2=1.11&ty=u Index: pear/PHPUnit2/Tests/Extensions/PerformanceTestCaseTest.php diff -u pear/PHPUnit2/Tests/Extensions/PerformanceTestCaseTest.php:1.10 pear/PHPUnit2/Tests/Extensions/PerformanceTestCaseTest.php:1.11 --- pear/PHPUnit2/Tests/Extensions/PerformanceTestCaseTest.php:1.10 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/Extensions/PerformanceTestCaseTest.php Mon Apr 11 01:48:09 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: PerformanceTestCaseTest.php,v 1.10 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: PerformanceTestCaseTest.php,v 1.11 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/AssertionFailedError.php'; require_once 'PHPUnit2/Framework/TestCase.php'; @@ -22,12 +27,16 @@ require_once 'Sleep.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class Extensions_PerformanceTestCaseTest extends PHPUnit2_Framework_TestCase { public function testDoesNotExceedMaxRunningTime() { @@ -46,7 +55,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/Extensions/RepeatedTestTest.php?r1=1.9&r2=1.10&ty=u Index: pear/PHPUnit2/Tests/Extensions/RepeatedTestTest.php diff -u pear/PHPUnit2/Tests/Extensions/RepeatedTestTest.php:1.9 pear/PHPUnit2/Tests/Extensions/RepeatedTestTest.php:1.10 --- pear/PHPUnit2/Tests/Extensions/RepeatedTestTest.php:1.9 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/Extensions/RepeatedTestTest.php Mon Apr 11 01:48:09 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: RepeatedTestTest.php,v 1.9 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: RepeatedTestTest.php,v 1.10 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/TestCase.php'; require_once 'PHPUnit2/Framework/TestResult.php'; @@ -23,12 +28,16 @@ require_once 'Success.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class Extensions_RepeatedTestTest extends PHPUnit2_Framework_TestCase { private $suite; @@ -78,7 +87,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/Extensions/TestDox/AllTests.php?r1=1.5&r2=1.6&ty=u Index: pear/PHPUnit2/Tests/Extensions/TestDox/AllTests.php diff -u pear/PHPUnit2/Tests/Extensions/TestDox/AllTests.php:1.5 pear/PHPUnit2/Tests/Extensions/TestDox/AllTests.php:1.6 --- pear/PHPUnit2/Tests/Extensions/TestDox/AllTests.php:1.5 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/Extensions/TestDox/AllTests.php Mon Apr 11 01:48:09 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 :: TestDox | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: AllTests.php,v 1.5 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: AllTests.php,v 1.6 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.1.0 + */ if (!defined('PHPUnit2_MAIN_METHOD')) { define('PHPUnit2_MAIN_METHOD', 'Extensions_TestDox_AllTests::main'); @@ -25,12 +30,16 @@ require_once 'Extensions/TestDox/NamePrettifierTest.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2_Extensions_TestDox - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.1.0 */ class Extensions_TestDox_AllTests { public static function main() { @@ -56,7 +65,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/Extensions/TestDox/NamePrettifierTest.php?r1=1.4&r2=1.5&ty=u Index: pear/PHPUnit2/Tests/Extensions/TestDox/NamePrettifierTest.php diff -u pear/PHPUnit2/Tests/Extensions/TestDox/NamePrettifierTest.php:1.4 pear/PHPUnit2/Tests/Extensions/TestDox/NamePrettifierTest.php:1.5 --- pear/PHPUnit2/Tests/Extensions/TestDox/NamePrettifierTest.php:1.4 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/Extensions/TestDox/NamePrettifierTest.php Mon Apr 11 01:48:09 2005 @@ -1,31 +1,40 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 :: TestDox | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: NamePrettifierTest.php,v 1.4 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: NamePrettifierTest.php,v 1.5 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.1.0 + */ require_once 'PHPUnit2/Framework/TestCase.php'; require_once 'PHPUnit2/Extensions/TestDox/NamePrettifier.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2_Extensions_TestDox - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.1.0 */ class Extensions_TestDox_NamePrettifierTest extends PHPUnit2_Framework_TestCase { private $namePrettifier; @@ -71,7 +80,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/Framework/AllTests.php?r1=1.11&r2=1.12&ty=u Index: pear/PHPUnit2/Tests/Framework/AllTests.php diff -u pear/PHPUnit2/Tests/Framework/AllTests.php:1.11 pear/PHPUnit2/Tests/Framework/AllTests.php:1.12 --- pear/PHPUnit2/Tests/Framework/AllTests.php:1.11 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/Framework/AllTests.php Mon Apr 11 01:48:09 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: AllTests.php,v 1.11 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: AllTests.php,v 1.12 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ if (!defined('PHPUnit2_MAIN_METHOD')) { define('PHPUnit2_MAIN_METHOD', 'Framework_AllTests::main'); @@ -31,12 +36,16 @@ require_once 'Framework/TestListenerTest.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class Framework_AllTests { public static function main() { @@ -95,7 +104,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/Framework/AssertTest.php?r1=1.16&r2=1.17&ty=u Index: pear/PHPUnit2/Tests/Framework/AssertTest.php diff -u pear/PHPUnit2/Tests/Framework/AssertTest.php:1.16 pear/PHPUnit2/Tests/Framework/AssertTest.php:1.17 --- pear/PHPUnit2/Tests/Framework/AssertTest.php:1.16 Thu Mar 31 02:05:39 2005 +++ pear/PHPUnit2/Tests/Framework/AssertTest.php Mon Apr 11 01:48:09 2005 @@ -1,31 +1,40 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: AssertTest.php,v 1.16 2005/03/31 07:05:39 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: AssertTest.php,v 1.17 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/TestCase.php'; require_once 'TestIterator.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class Framework_AssertTest extends PHPUnit2_Framework_TestCase { public function testFail() { @@ -412,7 +421,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/Framework/ComparisonFailureTest.php?r1=1.13&r2=1.14&ty=u Index: pear/PHPUnit2/Tests/Framework/ComparisonFailureTest.php diff -u pear/PHPUnit2/Tests/Framework/ComparisonFailureTest.php:1.13 pear/PHPUnit2/Tests/Framework/ComparisonFailureTest.php:1.14 --- pear/PHPUnit2/Tests/Framework/ComparisonFailureTest.php:1.13 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/Framework/ComparisonFailureTest.php Mon Apr 11 01:48:09 2005 @@ -1,30 +1,39 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: ComparisonFailureTest.php,v 1.13 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: ComparisonFailureTest.php,v 1.14 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/ComparisonFailure.php'; require_once 'PHPUnit2/Framework/TestCase.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class Framework_ComparisonFailureTest extends PHPUnit2_Framework_TestCase { public function testComparisonErrorMessage() { @@ -128,7 +137,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/Framework/SuiteTest.php?r1=1.12&r2=1.13&ty=u Index: pear/PHPUnit2/Tests/Framework/SuiteTest.php diff -u pear/PHPUnit2/Tests/Framework/SuiteTest.php:1.12 pear/PHPUnit2/Tests/Framework/SuiteTest.php:1.13 --- pear/PHPUnit2/Tests/Framework/SuiteTest.php:1.12 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/Framework/SuiteTest.php Mon Apr 11 01:48:09 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: SuiteTest.php,v 1.12 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: SuiteTest.php,v 1.13 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/TestCase.php'; require_once 'PHPUnit2/Framework/TestResult.php'; @@ -28,12 +33,16 @@ require_once 'OverrideTestCase.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class Framework_SuiteTest extends PHPUnit2_Framework_TestCase { protected $result; @@ -153,7 +162,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/Framework/TestCaseTest.php?r1=1.15&r2=1.16&ty=u Index: pear/PHPUnit2/Tests/Framework/TestCaseTest.php diff -u pear/PHPUnit2/Tests/Framework/TestCaseTest.php:1.15 pear/PHPUnit2/Tests/Framework/TestCaseTest.php:1.16 --- pear/PHPUnit2/Tests/Framework/TestCaseTest.php:1.15 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/Framework/TestCaseTest.php Mon Apr 11 01:48:09 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: TestCaseTest.php,v 1.15 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: TestCaseTest.php,v 1.16 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/TestCase.php'; @@ -30,14 +35,16 @@ require_once 'WasRun.php'; /** - * A test case testing the testing framework. + * * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class Framework_TestCaseTest extends PHPUnit2_Framework_TestCase { public function testCaseToString() { @@ -151,7 +158,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/Framework/TestImplementorTest.php?r1=1.7&r2=1.8&ty=u Index: pear/PHPUnit2/Tests/Framework/TestImplementorTest.php diff -u pear/PHPUnit2/Tests/Framework/TestImplementorTest.php:1.7 pear/PHPUnit2/Tests/Framework/TestImplementorTest.php:1.8 --- pear/PHPUnit2/Tests/Framework/TestImplementorTest.php:1.7 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/Framework/TestImplementorTest.php Mon Apr 11 01:48:09 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: TestImplementorTest.php,v 1.7 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: TestImplementorTest.php,v 1.8 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/TestCase.php'; require_once 'PHPUnit2/Framework/TestResult.php'; @@ -22,12 +27,16 @@ require_once 'Success.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class Framework_TestImplementorTest extends PHPUnit2_Framework_TestCase { private $test; @@ -50,7 +59,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/Framework/TestListenerTest.php?r1=1.9&r2=1.10&ty=u Index: pear/PHPUnit2/Tests/Framework/TestListenerTest.php diff -u pear/PHPUnit2/Tests/Framework/TestListenerTest.php:1.9 pear/PHPUnit2/Tests/Framework/TestListenerTest.php:1.10 --- pear/PHPUnit2/Tests/Framework/TestListenerTest.php:1.9 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/Framework/TestListenerTest.php Mon Apr 11 01:48:09 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: TestListenerTest.php,v 1.9 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: TestListenerTest.php,v 1.10 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/TestCase.php'; require_once 'PHPUnit2/Framework/TestListener.php'; @@ -24,12 +29,16 @@ require_once 'Success.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class Framework_TestListenerTest extends PHPUnit2_Framework_TestCase implements PHPUnit2_Framework_TestListener { private $endCount; @@ -101,7 +110,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/Runner/AllTests.php?r1=1.9&r2=1.10&ty=u Index: pear/PHPUnit2/Tests/Runner/AllTests.php diff -u pear/PHPUnit2/Tests/Runner/AllTests.php:1.9 pear/PHPUnit2/Tests/Runner/AllTests.php:1.10 --- pear/PHPUnit2/Tests/Runner/AllTests.php:1.9 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/Runner/AllTests.php Mon Apr 11 01:48:09 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: AllTests.php,v 1.9 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: AllTests.php,v 1.10 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ if (!defined('PHPUnit2_MAIN_METHOD')) { define('PHPUnit2_MAIN_METHOD', 'Runner_AllTests::main'); @@ -26,12 +31,16 @@ require_once 'Runner/BaseTestRunnerTest.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class Runner_AllTests { public static function main() { @@ -63,7 +72,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/Runner/BaseTestRunnerTest.php?r1=1.9&r2=1.10&ty=u Index: pear/PHPUnit2/Tests/Runner/BaseTestRunnerTest.php diff -u pear/PHPUnit2/Tests/Runner/BaseTestRunnerTest.php:1.9 pear/PHPUnit2/Tests/Runner/BaseTestRunnerTest.php:1.10 --- pear/PHPUnit2/Tests/Runner/BaseTestRunnerTest.php:1.9 Fri Mar 18 04:21:35 2005 +++ pear/PHPUnit2/Tests/Runner/BaseTestRunnerTest.php Mon Apr 11 01:48:09 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: BaseTestRunnerTest.php,v 1.9 2005/03/18 09:21:35 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: BaseTestRunnerTest.php,v 1.10 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/TestCase.php'; @@ -21,12 +26,16 @@ require_once 'NonStatic.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Tests + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class Runner_BaseTestRunnerTest extends PHPUnit2_Framework_TestCase { public function testInvokeNonStaticSuite() { @@ -36,7 +45,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/TextUI/ResultPrinter.php?r1=1.15&r2=1.16&ty=u Index: pear/PHPUnit2/TextUI/ResultPrinter.php diff -u pear/PHPUnit2/TextUI/ResultPrinter.php:1.15 pear/PHPUnit2/TextUI/ResultPrinter.php:1.16 --- pear/PHPUnit2/TextUI/ResultPrinter.php:1.15 Mon Feb 28 04:13:27 2005 +++ pear/PHPUnit2/TextUI/ResultPrinter.php Mon Apr 11 01:48:09 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: ResultPrinter.php,v 1.15 2005/02/28 09:13:27 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: ResultPrinter.php,v 1.16 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ require_once 'PHPUnit2/Framework/AssertionFailedError.php'; require_once 'PHPUnit2/Framework/Test.php'; @@ -25,16 +30,18 @@ require_once 'PHPUnit2/Util/Printer.php'; /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage TextUI + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class PHPUnit2_TextUI_ResultPrinter extends PHPUnit2_Util_Printer implements PHPUnit2_Framework_TestListener { - // {{{ Instance Variables - /** * @var integer * @access private @@ -45,10 +52,7 @@ * @var boolean * @access private */ - private $lastTestFailed = false; - - // }}} - // {{{ public function printResult(PHPUnit2_Framework_TestResult $result, $timeElapsed) + private $lastTestFailed = FALSE; /** * @param PHPUnit2_Framework_TestResult $result @@ -63,9 +67,6 @@ $this->printFooter($result); } - // }}} - // {{{ protected function printDefects($defects, $count, $type) - /** * @param array $defects * @param integer $count @@ -95,9 +96,6 @@ } } - // }}} - // {{{ protected function printDefect(PHPUnit2_Framework_TestFailure $defect, $count) - /** * @param PHPUnit2_Framework_TestFailure $defect * @param integer $count @@ -108,9 +106,6 @@ $this->printDefectTrace($defect); } - // }}} - // {{{ protected function printDefectHeader(PHPUnit2_Framework_TestFailure $defect, $count) - /** * @param PHPUnit2_Framework_TestFailure $defect * @param integer $count @@ -127,9 +122,6 @@ ); } - // }}} - // {{{ protected function printDefectTrace(PHPUnit2_Framework_TestFailure $defect) - /** * @param PHPUnit2_Framework_TestFailure $defect * @access protected @@ -147,9 +139,6 @@ ); } - // }}} - // {{{ protected function printErrors(PHPUnit2_Framework_TestResult $result) - /** * @param PHPUnit2_Framework_TestResult $result * @access protected @@ -158,9 +147,6 @@ $this->printDefects($result->errors(), $result->errorCount(), 'error'); } - // }}} - // {{{ protected function printFailures(PHPUnit2_Framework_TestResult $result) - /** * @param PHPUnit2_Framework_TestResult $result * @access protected @@ -169,9 +155,6 @@ $this->printDefects($result->failures(), $result->failureCount(), 'failure'); } - // }}} - // {{{ protected function printIncompletes(PHPUnit2_Framework_TestResult $result) - /** * @param PHPUnit2_Framework_TestResult $result * @access protected @@ -180,9 +163,6 @@ $this->printDefects($result->notImplemented(), $result->notImplementedCount(), 'incomplete testcase'); } - // }}} - // {{{ protected function printHeader($timeElapsed) - /** * @param float $timeElapsed * @access protected @@ -197,9 +177,6 @@ ); } - // }}} - // {{{ protected function printFooter(PHPUnit2_Framework_TestResult $result) - /** * @param PHPUnit2_Framework_TestResult $result * @access protected @@ -243,9 +220,6 @@ } } - // }}} - // {{{ public function printWaitPrompt() - /** * @access public */ @@ -253,9 +227,6 @@ $this->write("\n<RETURN> to continue\n"); } - // }}} - // {{{ public function addError(PHPUnit2_Framework_Test $test, Exception $e) - /** * An error occurred. * @@ -267,12 +238,9 @@ $this->write('E'); $this->nextColumn(); - $this->lastTestFailed = true; + $this->lastTestFailed = TRUE; } - // }}} - // {{{ public function addFailure(PHPUnit2_Framework_Test $test, PHPUnit2_Framework_AssertionFailedError $e) - /** * A failure occurred. * @@ -284,12 +252,9 @@ $this->write('F'); $this->nextColumn(); - $this->lastTestFailed = true; + $this->lastTestFailed = TRUE; } - // }}} - // {{{ public function addIncompleteTest(PHPUnit2_Framework_Test $test, Exception $e) - /** * Incomplete test. * @@ -301,38 +266,29 @@ $this->write('I'); $this->nextColumn(); - $this->lastTestFailed = true; + $this->lastTestFailed = TRUE; } - // }}} - // {{{ public function startTestSuite(PHPUnit2_Framework_TestSuite $suite) - /** * A testsuite started. * * @param PHPUnit2_Framework_TestSuite $suite * @access public - * @since 2.2.0 + * @since Method available since Release 2.2.0 */ public function startTestSuite(PHPUnit2_Framework_TestSuite $suite) { } - // }}} - // {{{ public function endTestSuite(PHPUnit2_Framework_TestSuite $suite) - /** * A testsuite ended. * * @param PHPUnit2_Framework_TestSuite $suite * @access public - * @since 2.2.0 + * @since Method available since Release 2.2.0 */ public function endTestSuite(PHPUnit2_Framework_TestSuite $suite) { } - // }}} - // {{{ public function startTest(PHPUnit2_Framework_Test $test) - /** * A test started. * @@ -342,9 +298,6 @@ public function startTest(PHPUnit2_Framework_Test $test) { } - // }}} - // {{{ public function endTest(PHPUnit2_Framework_Test $test) - /** * A test ended. * @@ -357,12 +310,9 @@ $this->nextColumn(); } - $this->lastTestFailed = false; + $this->lastTestFailed = FALSE; } - // }}} - // {{{ private function nextColumn() - /** * @access private */ @@ -372,12 +322,13 @@ $this->write("\n"); } } - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/TextUI/TestRunner.php?r1=1.52&r2=1.53&ty=u Index: pear/PHPUnit2/TextUI/TestRunner.php diff -u pear/PHPUnit2/TextUI/TestRunner.php:1.52 pear/PHPUnit2/TextUI/TestRunner.php:1.53 --- pear/PHPUnit2/TextUI/TestRunner.php:1.52 Sun Apr 10 11:13:24 2005 +++ pear/PHPUnit2/TextUI/TestRunner.php Mon Apr 11 01:48:09 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: TestRunner.php,v 1.52 2005/04/10 15:13:24 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: TestRunner.php,v 1.53 2005/04/11 05:48:09 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ if (!defined('PHPUnit2_MAIN_METHOD')) { define('PHPUnit2_MAIN_METHOD', 'PHPUnit2_TextUI_TestRunner::main'); @@ -40,23 +45,20 @@ * A TestRunner for the Command Line Interface (CLI) * PHP SAPI Module. * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage TextUI + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class PHPUnit2_TextUI_TestRunner extends PHPUnit2_Runner_BaseTestRunner { - // {{{ Constants - const SUCCESS_EXIT = 0; const FAILURE_EXIT = 1; const EXCEPTION_EXIT = 2; - // }}} - // {{{ Instance Variables - /** * @var PHPUnit2_Runner_TestSuiteLoader * @access private @@ -76,9 +78,6 @@ */ private static $versionStringPrinted = FALSE; - // }}} - // {{{ public static function main() - /** * @access public * @static @@ -103,9 +102,6 @@ } } - // }}} - // {{{ protected function start($arguments) - /** * @param array $arguments * @access protected @@ -285,9 +281,6 @@ } } - // }}} - // {{{ public static function run($test, $coverageDataFile = FALSE, $coverageHTMLFile = FALSE, $coverageTextFile = FALSE, $testdoxHTMLFile = FALSE, $testdoxTextFile = FALSE, $xmlLogfile = FALSE, $wait = FALSE) - /** * @param mixed $test * @param mixed $coverageDataFile @@ -319,9 +312,6 @@ } } - // }}} - // {{{ public static function runAndWait(PHPUnit2_Framework_Test $suite) - /** * Runs a single test and waits until the user types RETURN. * @@ -344,9 +334,6 @@ ); } - // }}} - // {{{ protected TestResult createTestResult() - /** * @return PHPUnit2_Framework_TestResult * @access protected @@ -355,9 +342,6 @@ return new PHPUnit2_Framework_TestResult; } - // }}} - // {{{ public function doRun(PHPUnit2_Framework_Test $suite, $coverageDataFile = FALSE, $coverageHTMLFile = FALSE, $coverageTextFile = FALSE, $testdoxHTMLFile = FALSE, $testdoxTextFile = FALSE, $xmlLogfile = FALSE, $wait = FALSE) - /** * @param PHPUnit2_Framework_Test $suite * @param mixed $coverageDataFile @@ -433,15 +417,12 @@ return $result; } - // }}} - // {{{ public function getLoader() - /** * Returns the loader to be used. * * @return PHPUnit2_Runner_TestSuiteLoader - * @access protected - * @since 2.2.0 + * @access public + * @since Method available since Release 2.2.0 */ public function getLoader() { if ($this->loader === NULL) { @@ -451,16 +432,13 @@ return $this->loader; } - // }}} - // {{{ protected function handleCodeCoverageInformation(PHPUnit2_Framework_TestResult $result, $coverageDataFile, $coverageHTMLFile, $coverageTextFile) - /** * @param PHPUnit2_Framework_TestResult $result * @param mixed $coverageDataFile * @param mixed $coverageHTMLFile * @param mixed $coverageTextFile * @access protected - * @since 2.1.0 + * @since Method available since Release 2.1.0 */ protected function handleCodeCoverageInformation(PHPUnit2_Framework_TestResult $result, $coverageDataFile, $coverageHTMLFile, $coverageTextFile) { if ($coverageDataFile !== FALSE && @@ -488,9 +466,6 @@ } } - // }}} - // {{{ public function showError($message) - /** * @access public */ @@ -501,9 +476,6 @@ exit(self::FAILURE_EXIT); } - // }}} - // {{{ public function showHelp() - /** * @access public */ @@ -531,9 +503,6 @@ " --version Prints the version and exits.\n"; } - // }}} - // {{{ protected function pause($wait) - /** * @param boolean $wait * @access protected @@ -548,9 +517,6 @@ fgets(STDIN); } - // }}} - // {{{ public function setPrinter(PHPUnit2_TextUI_ResultPrinter $resultPrinter) - /** * @param PHPUnit2_TextUI_ResultPrinter $resultPrinter * @access public @@ -559,9 +525,6 @@ $this->printer = $resultPrinter; } - // }}} - // {{{ public function testStarted($testName) - /** * A test started. * @@ -571,9 +534,6 @@ public function testStarted($testName) { } - // }}} - // {{{ public function testEnded($testName) - /** * A test ended. * @@ -583,9 +543,6 @@ public function testEnded($testName) { } - // }}} - // {{{ public function testFailed($status, PHPUnit2_Framework_Test $test, PHPUnit2_Framework_AssertionFailedError $e) - /** * A test failed. * @@ -597,9 +554,6 @@ public function testFailed($status, PHPUnit2_Framework_Test $test, PHPUnit2_Framework_AssertionFailedError $e) { } - // }}} - // {{{ protected function runFailed($message) - /** * Override to define how to handle a failed loading of * a test suite. @@ -613,12 +567,9 @@ exit(self::FAILURE_EXIT); } - // }}} - // {{{ private static function printVersionString() - /** * @access private - * @since 2.2.0 + * @since Method available since Release 2.2.0 */ private static function printVersionString() { if (!self::$versionStringPrinted) { @@ -626,8 +577,6 @@ self::$versionStringPrinted = TRUE; } } - - // }}} } if (PHPUnit2_MAIN_METHOD == 'PHPUnit2_TextUI_TestRunner::main') { @@ -635,7 +584,10 @@ } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Util/Filter.php?r1=1.26&r2=1.27&ty=u Index: pear/PHPUnit2/Util/Filter.php diff -u pear/PHPUnit2/Util/Filter.php:1.26 pear/PHPUnit2/Util/Filter.php:1.27 --- pear/PHPUnit2/Util/Filter.php:1.26 Sun Apr 10 09:59:59 2005 +++ pear/PHPUnit2/Util/Filter.php Mon Apr 11 01:48:10 2005 @@ -1,33 +1,38 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: Filter.php,v 1.26 2005/04/10 13:59:59 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: Filter.php,v 1.27 2005/04/11 05:48:10 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ /** * Utility class for code filtering. * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Util + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 */ class PHPUnit2_Util_Filter { - // {{{ Class Variables - /** * Source files that are to be filtered. * @@ -94,16 +99,13 @@ 'PEAR.php' ); - // }}} - // {{{ public static function addFileToFilter($filename) - /** * Adds a new file to be filtered. * * @param string * @access public * @static - * @since 2.1.0 + * @since Method available since Release 2.1.0 */ public static function addFileToFilter($filename) { $filename = self::getCanonicalFilename($filename); @@ -113,16 +115,13 @@ } } - // }}} - // {{{ public static function removeFileFromFilter($filename) - /** * Removes a file from the filter. * * @param string * @access public * @static - * @since 2.1.0 + * @since Method available since Release 2.1.0 */ public static function removeFileFromFilter($filename) { $filename = self::getCanonicalFilename($filename); @@ -136,9 +135,6 @@ } } - // }}} - // {{{ public static function getFilteredCodeCoverage($codeCoverageInformation) - /** * Filters source lines from PHPUnit classes. * @@ -159,9 +155,6 @@ return $codeCoverageInformation; } - // }}} - // {{{ public static function getFilteredStacktrace(Exception $e) - /** * Filters stack frames from PHPUnit classes. * @@ -190,15 +183,12 @@ return $filteredStacktrace; } - // }}} - // {{{ protected static function getCanonicalFilename($filename) - /** * Canonicalizes a source file name. * * @param string $filename * @return string - * @access public + * @access protected * @static */ protected static function getCanonicalFilename($filename) { @@ -218,15 +208,12 @@ ); } - // }}} - // {{{ protected static function isFiltered($filename) - /** * @param string $filename * @return boolean - * @access public + * @access protected * @static - * @since 2.1.3 + * @since Method available since Release 2.1.3 */ protected static function isFiltered($filename) { if (substr($filename, -7) == 'phpunit' || @@ -236,12 +223,13 @@ return FALSE; } - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Util/Printer.php?r1=1.7&r2=1.8&ty=u Index: pear/PHPUnit2/Util/Printer.php diff -u pear/PHPUnit2/Util/Printer.php:1.7 pear/PHPUnit2/Util/Printer.php:1.8 --- pear/PHPUnit2/Util/Printer.php:1.7 Wed Dec 22 03:05:55 2004 +++ pear/PHPUnit2/Util/Printer.php Mon Apr 11 01:48:10 2005 @@ -1,41 +1,45 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: Printer.php,v 1.7 2004/12/22 08:05:55 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Util + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: Printer.php,v 1.8 2005/04/11 05:48:10 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.0.0 + */ + +/** + * + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.0.0 * @abstract */ abstract class PHPUnit2_Util_Printer { - // {{{ Instance Variables - /** * @var resource * @access private */ private $out; - // }}} - // {{{ public function __construct($out = NULL) - /** * Constructor. * @@ -56,9 +60,6 @@ } } - // }}} - // {{{ public function __destruct() - /** * Destructor. * @@ -68,9 +69,6 @@ fclose($this->out); } - // }}} - // {{{ public function write($buffer) - /** * @param string $buffer * @access public @@ -78,12 +76,13 @@ public function write($buffer) { fputs($this->out, $buffer); } - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?> http://cvs.php.net/diff.php/pear/PHPUnit2/Util/Skeleton.php?r1=1.19&r2=1.20&ty=u Index: pear/PHPUnit2/Util/Skeleton.php diff -u pear/PHPUnit2/Util/Skeleton.php:1.19 pear/PHPUnit2/Util/Skeleton.php:1.20 --- pear/PHPUnit2/Util/Skeleton.php:1.19 Tue Apr 5 05:05:25 2005 +++ pear/PHPUnit2/Util/Skeleton.php Mon Apr 11 01:48:10 2005 @@ -1,19 +1,24 @@ <?php -// -// +------------------------------------------------------------------------+ -// | PEAR :: PHPUnit2 | -// +------------------------------------------------------------------------+ -// | Copyright (c) 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>. | -// +------------------------------------------------------------------------+ -// | This source file is subject to version 3.00 of the PHP License, | -// | that is available at http://www.php.net/license/3_0.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +------------------------------------------------------------------------+ -// -// $Id: Skeleton.php,v 1.19 2005/04/05 09:05:25 sebastian Exp $ -// +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ + +/** + * PHP Version 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: Skeleton.php,v 1.20 2005/04/11 05:48:10 sebastian Exp $ + * @link http://pear.php.net/package/PHPUnit2 + * @since File available since Release 2.1.0 + */ /** * Class for creating a PHPUnit2_Framework_TestCase skeleton file. @@ -35,18 +40,16 @@ * ?> * </code> * - * @author Sebastian Bergmann <sb@sebastian-bergmann.de> - * @copyright Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> - * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 - * @category Testing - * @package PHPUnit2 - * @subpackage Util - * @since 2.1.0 - * @abstract + * @category Testing + * @package PHPUnit2 + * @author Sebastian Bergmann <sb@sebastian-bergmann.de> + * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://pear.php.net/package/PHPUnit2 + * @since Class available since Release 2.1.0 */ class PHPUnit2_Util_Skeleton { - // {{{ Instance Variables - protected $templateClassHeader = '<?php // Call {className}Test::main() if this source file is executed directly. @@ -131,9 +134,6 @@ */ protected $classSourceFile; - // }}} - // {{{ public function __construct($className, $classSourceFile = '') - /** * Constructor. * @@ -161,9 +161,6 @@ } } - // }}} - // {{{ public function generate() - /** * Generates the test class' source. * @@ -190,9 +187,6 @@ return $testClassSource; } - // }}} - // {{{ public function write() - /** * Generates the test class and writes it to a source file. * @@ -210,9 +204,6 @@ } } - // }}} - // {{{ public function setTemplates($classHeader, $classFooter, $method) - /** * Sets the templates for class header, class footer, and method. * @@ -220,7 +211,7 @@ * @param string $classFooter * @param string $method * @access public - * @since 2.2.0 + * @since Method available since Release 2.2.0 */ public function setTemplates($classHeader, $classFooter, $method) { if (is_file($classHeader)) { @@ -242,9 +233,6 @@ } } - // }}} - // {{{ protected function testClassHeader($className, $classSourceFile) - /** * @param string $className * @param string $classSourceFile @@ -268,9 +256,6 @@ ); } - // }}} - // {{{ protected function testClassFooter($className) - /** * @param string $className * @access protected @@ -287,9 +272,6 @@ ); } - // }}} - // {{{ protected function testMethod($methodName) - /** * @param string $methodName * @access protected @@ -305,12 +287,13 @@ $this->templateMethod ); } - - // }}} } /* - * vim600: et sw=2 ts=2 fdm=marker - * vim<600: et sw=2 ts=2 + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: */ ?>
« previous php.pear.cvs (#31093) next »