cvs: pear /PHPUnit2/Tests/Extensions PerformanceTestCaseTest.php /PHPUnit2/Tests/Framework ComparisonFailureTest.php SuiteTest.php TestCaseTest.php
/PHPUnit2/Tests/Runner BaseTestRunnerTest.php

From: Date: Sat, 24 Apr 2004 06:29:12 +0000
Subject: cvs: pear /PHPUnit2/Tests/Extensions PerformanceTestCaseTest.php /PHPUnit2/Tests/Framework ComparisonFailureTest.php SuiteTest.php TestCaseTest.php
/PHPUnit2/Tests/Runner BaseTestRunnerTest.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-18670@lists.php.net to get a copy of this message
sebastian Sat Apr 24 02:29:12 2004 EDT Modified files: /pear/PHPUnit2/Tests/Extensions PerformanceTestCaseTest.php /pear/PHPUnit2/Tests/Framework ComparisonFailureTest.php SuiteTest.php TestCaseTest.php /pear/PHPUnit2/Tests/Runner BaseTestRunnerTest.php Log: Mark incomplete test cases.

http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/Extensions/PerformanceTestCaseTest.php?r1=1.5&r2=1.6&ty=u Index: pear/PHPUnit2/Tests/Extensions/PerformanceTestCaseTest.php diff -u pear/PHPUnit2/Tests/Extensions/PerformanceTestCaseTest.php:1.5 pear/PHPUnit2/Tests/Extensions/PerformanceTestCaseTest.php:1.6 --- pear/PHPUnit2/Tests/Extensions/PerformanceTestCaseTest.php:1.5 Thu Apr 22 02:06:09 2004 +++ pear/PHPUnit2/Tests/Extensions/PerformanceTestCaseTest.php Sat Apr 24 02:29:11 2004 @@ -12,7 +12,7 @@ // | license@php.net so we can mail you a copy immediately. | // +------------------------------------------------------------------------+ // -// $Id: PerformanceTestCaseTest.php,v 1.5 2004/04/22 06:06:09 sebastian Exp $ +// $Id: PerformanceTestCaseTest.php,v 1.6 2004/04/24 06:29:11 sebastian Exp $ // require_once 'PHPUnit2/Framework/AssertionFailedError.php'; @@ -21,6 +21,8 @@ require_once 'PHPUnit2/Tests/Sleep.php'; +require_once 'PHPUnit2/Framework/IncompleteTestError.php'; + /** * @author Sebastian Bergmann <sb@sebastian-bergmann.de> * @copyright Copyright &copy; 2002-2004 Sebastian Bergmann <sb@sebastian-bergmann.de> @@ -34,12 +36,14 @@ * @todo Implement testDoesNotExceedMaxRunningTime(). */ public function testDoesNotExceedMaxRunningTime() { + throw new PHPUnit2_Framework_IncompleteTestError; } /** * @todo Implement testExceedsMaxRunningTime(). */ public function testExceedsMaxRunningTime() { + throw new PHPUnit2_Framework_IncompleteTestError; } } http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/Framework/ComparisonFailureTest.php?r1=1.5&r2=1.6&ty=u Index: pear/PHPUnit2/Tests/Framework/ComparisonFailureTest.php diff -u pear/PHPUnit2/Tests/Framework/ComparisonFailureTest.php:1.5 pear/PHPUnit2/Tests/Framework/ComparisonFailureTest.php:1.6 --- pear/PHPUnit2/Tests/Framework/ComparisonFailureTest.php:1.5 Sat Apr 17 16:14:25 2004 +++ pear/PHPUnit2/Tests/Framework/ComparisonFailureTest.php Sat Apr 24 02:29:11 2004 @@ -12,13 +12,15 @@ // | license@php.net so we can mail you a copy immediately. | // +------------------------------------------------------------------------+ // -// $Id: ComparisonFailureTest.php,v 1.5 2004/04/17 20:14:25 sebastian Exp $ +// $Id: ComparisonFailureTest.php,v 1.6 2004/04/24 06:29:11 sebastian Exp $ // require_once 'PHPUnit2/Framework/TestCase.php'; require_once 'PHPUnit2/Framework/ComparisonFailure.php'; +require_once 'PHPUnit2/Framework/IncompleteTestError.php'; + /** * @author Sebastian Bergmann <sb@sebastian-bergmann.de> * @copyright Copyright &copy; 2002-2004 Sebastian Bergmann <sb@sebastian-bergmann.de> http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/Framework/SuiteTest.php?r1=1.6&r2=1.7&ty=u Index: pear/PHPUnit2/Tests/Framework/SuiteTest.php diff -u pear/PHPUnit2/Tests/Framework/SuiteTest.php:1.6 pear/PHPUnit2/Tests/Framework/SuiteTest.php:1.7 --- pear/PHPUnit2/Tests/Framework/SuiteTest.php:1.6 Thu Apr 22 02:06:09 2004 +++ pear/PHPUnit2/Tests/Framework/SuiteTest.php Sat Apr 24 02:29:11 2004 @@ -12,7 +12,7 @@ // | license@php.net so we can mail you a copy immediately. | // +------------------------------------------------------------------------+ // -// $Id: SuiteTest.php,v 1.6 2004/04/22 06:06:09 sebastian Exp $ +// $Id: SuiteTest.php,v 1.7 2004/04/24 06:29:11 sebastian Exp $ // require_once 'PHPUnit2/Framework/TestCase.php'; @@ -106,6 +106,7 @@ * @todo Investigate why testNotExistingTestCase() causes a call to a member function invoke() on a non-object in PHPUnit2/Framework/TestCase.php:237. */ public function testNotExistingTestCase() { + throw new PHPUnit2_Framework_IncompleteTestError; /* $suite = new PHPUnit2_Tests_Framework_SuiteTest('notExistingMethod'); http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/Framework/TestCaseTest.php?r1=1.5&r2=1.6&ty=u Index: pear/PHPUnit2/Tests/Framework/TestCaseTest.php diff -u pear/PHPUnit2/Tests/Framework/TestCaseTest.php:1.5 pear/PHPUnit2/Tests/Framework/TestCaseTest.php:1.6 --- pear/PHPUnit2/Tests/Framework/TestCaseTest.php:1.5 Fri Apr 23 12:06:04 2004 +++ pear/PHPUnit2/Tests/Framework/TestCaseTest.php Sat Apr 24 02:29:11 2004 @@ -12,13 +12,15 @@ // | license@php.net so we can mail you a copy immediately. | // +------------------------------------------------------------------------+ // -// $Id: TestCaseTest.php,v 1.5 2004/04/23 16:06:04 sebastian Exp $ +// $Id: TestCaseTest.php,v 1.6 2004/04/24 06:29:11 sebastian Exp $ // require_once 'PHPUnit2/Framework/TestCase.php'; require_once 'PHPUnit2/Tests/WasRun.php'; +require_once 'PHPUnit2/Framework/IncompleteTestError.php'; + /** * A test case testing the testing framework. * @@ -34,66 +36,77 @@ * @todo Implement testError(). */ public function testError() { + throw new PHPUnit2_Framework_IncompleteTestError; } /** * @todo Implement testExceptionRunningAndTearDown(). */ public function testExceptionRunningAndTearDown() { + throw new PHPUnit2_Framework_IncompleteTestError; } /** * @todo Implement testFailure(). */ public function testFailure() { + throw new PHPUnit2_Framework_IncompleteTestError; } /** * @todo Implement testNamelessTestCase(). */ public function testNamelessTestCase() { + throw new PHPUnit2_Framework_IncompleteTestError; } /** * @todo Implement testNoArgTestCasePasses(). */ public function testNoArgTestCasePasses() { + throw new PHPUnit2_Framework_IncompleteTestError; } /** * @todo Implement testRunAndTearDownFails(). */ public function testRunAndTearDownFails() { + throw new PHPUnit2_Framework_IncompleteTestError; } /** * @todo Implement testSetupFails(). */ public function testSetupFails() { + throw new PHPUnit2_Framework_IncompleteTestError; } /** * @todo Implement testSuccess(). */ public function testSuccess() { + throw new PHPUnit2_Framework_IncompleteTestError; } /** * @todo Implement testTearDownAfterError(). */ public function testTearDownAfterError() { + throw new PHPUnit2_Framework_IncompleteTestError; } /** * @todo Implement testTearDownFails(). */ public function testTearDownFails() { + throw new PHPUnit2_Framework_IncompleteTestError; } /** * @todo Implement testTearDownSetupFails(). */ public function testTearDownSetupFails() { + throw new PHPUnit2_Framework_IncompleteTestError; } public function testWasRun() { http://cvs.php.net/diff.php/pear/PHPUnit2/Tests/Runner/BaseTestRunnerTest.php?r1=1.4&r2=1.5&ty=u Index: pear/PHPUnit2/Tests/Runner/BaseTestRunnerTest.php diff -u pear/PHPUnit2/Tests/Runner/BaseTestRunnerTest.php:1.4 pear/PHPUnit2/Tests/Runner/BaseTestRunnerTest.php:1.5 --- pear/PHPUnit2/Tests/Runner/BaseTestRunnerTest.php:1.4 Fri Apr 16 06:47:11 2004 +++ pear/PHPUnit2/Tests/Runner/BaseTestRunnerTest.php Sat Apr 24 02:29:11 2004 @@ -12,11 +12,13 @@ // | license@php.net so we can mail you a copy immediately. | // +------------------------------------------------------------------------+ // -// $Id: BaseTestRunnerTest.php,v 1.4 2004/04/16 10:47:11 sebastian Exp $ +// $Id: BaseTestRunnerTest.php,v 1.5 2004/04/24 06:29:11 sebastian Exp $ // require_once 'PHPUnit2/Framework/TestCase.php'; +require_once 'PHPUnit2/Framework/IncompleteTestError.php'; + /** * @author Sebastian Bergmann <sb@sebastian-bergmann.de> * @copyright Copyright &copy; 2002-2004 Sebastian Bergmann <sb@sebastian-bergmann.de> @@ -30,6 +32,7 @@ * @todo Implement testInvokeNonStaticSuite(). */ public function testInvokeNonStaticSuite() { + throw new PHPUnit2_Framework_IncompleteTestError; } }
« previous php.pear.cvs (#18670) next »