X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=application%2Ftests%2Finit.php;h=7d6dceec926b2c790d8a6cc64b29a822d57f79e9;hp=29dfc167c42d60030a425832d0f71f0a22165607;hb=b002c5909aa0f781505dde5414964b0f014cde01;hpb=4e95c4e90f08f67f43591eaaa0c006f923d8bacf diff --git a/application/tests/init.php b/application/tests/init.php index 29dfc167..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('framework_base_path') . '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