cvs: pear(ZEND_ENGINE_2) /PHPUnit/Tests/Framework AllTests.php Failure.php

From: Date: Mon, 09 Jun 2003 10:52:12 +0000
Subject: cvs: pear(ZEND_ENGINE_2) /PHPUnit/Tests/Framework AllTests.php Failure.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-10797@lists.php.net to get a copy of this message
sebastian Mon Jun 9 06:52:12 2003 EDT Modified files: (Branch: ZEND_ENGINE_2) /pear/PHPUnit/Tests/Framework AllTests.php Failure.php Log: Implement PHPUnit_Tests_Framework_Failure. Index: pear/PHPUnit/Tests/Framework/AllTests.php diff -u pear/PHPUnit/Tests/Framework/AllTests.php:1.1.2.3 pear/PHPUnit/Tests/Framework/AllTests.php:1.1.2.4 --- pear/PHPUnit/Tests/Framework/AllTests.php:1.1.2.3 Mon Jun 9 06:27:01 2003 +++ pear/PHPUnit/Tests/Framework/AllTests.php Mon Jun 9 06:52:11 2003 @@ -12,7 +12,7 @@ // | license@php.net so we can mail you a copy immediately. | // +------------------------------------------------------------------------+ // -// $Id: AllTests.php,v 1.1.2.3 2003/06/09 10:27:01 sebastian Exp $ +// $Id: AllTests.php,v 1.1.2.4 2003/06/09 10:52:11 sebastian Exp $ // require_once 'PHPUnit/Framework/TestSuite.php'; @@ -44,6 +44,7 @@ public static function suite() { $suite = new PHPUnit_Framework_TestSuite('PHPUnit Framework'); + $suite->addTestSuite('PHPUnit_Tests_Framework_Failure'); $suite->addTestSuite('PHPUnit_Tests_Framework_Success'); return $suite; Index: pear/PHPUnit/Tests/Framework/Failure.php diff -u pear/PHPUnit/Tests/Framework/Failure.php:1.1.2.1 pear/PHPUnit/Tests/Framework/Failure.php:1.1.2.2 --- pear/PHPUnit/Tests/Framework/Failure.php:1.1.2.1 Sun Jun 8 04:37:13 2003 +++ pear/PHPUnit/Tests/Framework/Failure.php Mon Jun 9 06:52:11 2003 @@ -12,12 +12,15 @@ // | license@php.net so we can mail you a copy immediately. | // +------------------------------------------------------------------------+ // -// $Id: Failure.php,v 1.1.2.1 2003/06/08 08:37:13 sebastian Exp $ +// $Id: Failure.php,v 1.1.2.2 2003/06/09 10:52:11 sebastian Exp $ // require_once 'PHPUnit/Framework/TestCase.php'; class PHPUnit_Tests_Framework_Failure extends PHPUnit_Framework_TestCase { + public function testFailure() { + self::fail(); + } } /*

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