You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by ih...@apache.org on 2011/06/05 12:17:46 UTC

svn commit: r1132365 - /logging/log4php/trunk/src/test/php/bootstrap.php

Author: ihabunek
Date: Sun Jun  5 10:17:46 2011
New Revision: 1132365

URL: http://svn.apache.org/viewvc?rev=1132365&view=rev
Log:
Updated PHPUnit's bootstrap.php:
* Removed unnecessary usage of LOG4PHP_DIR constant
* Removed deprecated usage of LOG4PHP_DEFAULT_INIT_OVERRIDE constant
* Removed unnecessary includes of PHPUnit components

Modified:
    logging/log4php/trunk/src/test/php/bootstrap.php

Modified: logging/log4php/trunk/src/test/php/bootstrap.php
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/test/php/bootstrap.php?rev=1132365&r1=1132364&r2=1132365&view=diff
==============================================================================
--- logging/log4php/trunk/src/test/php/bootstrap.php (original)
+++ logging/log4php/trunk/src/test/php/bootstrap.php Sun Jun  5 10:17:46 2011
@@ -26,17 +26,4 @@ error_reporting(E_ALL | E_STRICT); 
 
 date_default_timezone_set('Europe/London');
 
-if(!defined('LOG4PHP_DIR')) {
-    define('LOG4PHP_DIR', dirname(__FILE__).'/../../main/php');
-}
-
-if(!defined('LOG4PHP_DEFAULT_INIT_OVERRIDE')) {
-    define('LOG4PHP_DEFAULT_INIT_OVERRIDE', true);
-}
-
-require_once LOG4PHP_DIR.'/Logger.php';
-
-require_once 'PHPUnit/Framework/TestCase.php';
-require_once 'PHPUnit/Framework/TestSuite.php';
-require_once 'PHPUnit/TextUI/TestRunner.php';
-require_once 'PHPUnit/Util/Filter.php';
\ No newline at end of file
+require dirname(__FILE__) . '/../../main/php/Logger.php';