11chdir(dirname(__FILE__));
 
   13setlocale(LC_ALL, 
'en_US.utf8');
 
   16date_default_timezone_set(
'Europe/London');
 
   20        || define(
'APPLICATION_PATH', realpath(dirname(__FILE__) . 
'/../Classes'));
 
   23defined(
'APPLICATION_TESTS_PATH')
 
   24        || define(
'APPLICATION_TESTS_PATH', realpath(dirname(__FILE__) ));
 
   27defined(
'APPLICATION_ENV') || define(
'APPLICATION_ENV', 
'ci');
 
   30set_include_path(implode(PATH_SEPARATOR, array(
 
   31        realpath(APPLICATION_PATH . 
'/../Classes'),
 
   42echo 
"PHPExcel tests beginning\n";
 
   44if(extension_loaded(
'xdebug')) {
 
   45        echo 
"Xdebug extension loaded and running\n";
 
   48        echo 
'Xdebug not found, you should run the following at the command line: echo "zend_extension=/usr/lib64/php/modules/xdebug.so" > /etc/php.d/xdebug.ini' . 
"\n";
 
An exception for terminatinating execution or to throw for unit testing.
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'