X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=application%2Ftests%2Finit.php;h=7d6dceec926b2c790d8a6cc64b29a822d57f79e9;hp=77c9fb873fc03fd4784710bf64edd5c386304118;hb=b002c5909aa0f781505dde5414964b0f014cde01;hpb=e2c64b8dbc2e98f397b93152bab1f601df9c758e diff --git a/application/tests/init.php b/application/tests/init.php index 77c9fb87..7d6dceec 100644 --- a/application/tests/init.php +++ b/application/tests/init.php @@ -1,49 +1,2 @@ - * @version 0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team - * @license GNU GPL 3.0 or any newer version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -// Scan for application's classes, exceptions and interfaces -ClassLoader::scanApplicationClasses(); - -// Get config instance -$cfg = FrameworkConfiguration::getSelfInstance(); - -// Initialize output system -ApplicationHelper::createDebugInstance('ApplicationHelper'); - -// This application needs a database connection then we have to simply include -// the framework/database.php script -require($cfg->getConfigEntry('base_path') . 'framework/database.php'); - -// Register core tests -ClassLoader::registerTestsPath('framework/main/tests'); - -// Register own tests -ClassLoader::registerTestsPath('application/tests/tests'); - -// Scan for them now -ClassLoader::scanTestsClasses(); +// @DEPRECATED