]> git.mxchange.org Git - core.git/blob - application/tests/config.php
Continued:
[core.git] / application / tests / config.php
1 <?php
2 // Import framework stuff
3 use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
4
5 /**
6  * Configuration entries for this application only
7  *
8  * @author              Roland Haeder <webmaster@shipsimu.org>
9  * @version             0.0
10  * @copyright   Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2023 Core Developer Team
11  * @license             GNU GPL 3.0 or any newer version
12  *
13  * This program is free software: you can redistribute it and/or modify
14  * it under the terms of the GNU General Public License as published by
15  * the Free Software Foundation, either version 3 of the License, or
16  * (at your option) any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21  * GNU General Public License for more details.
22  *
23  * You should have received a copy of the GNU General Public License
24  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
25  */
26
27 // Some hub-specific configuration like port hostname where we will listen, etc.
28 $cfg = FrameworkBootstrap::getConfigurationInstance();
29
30 // CFG: DEFAULT-CONSOLE-COMMAND
31 $cfg->setConfigEntry('default_console_command', 'main');
32
33 // CFG: DEFAULT-TESTS-CONSOLE-COMMAND
34 $cfg->setConfigEntry('default_tests_console_command', 'main');
35
36 // CFG: DEFAULT-TESTS-CONSOLE-CONTROLLER
37 $cfg->setConfigEntry('default_tests_console_controller', 'main');
38
39 // CFG: TESTS-CONSOLE-CMD-MAIN-RESOLVER-CLASS
40 $cfg->setConfigEntry('tests_console_cmd_main_resolver_class', 'Org\Mxchange\CoreFramework\Tests\Resolver\Command\TestsConsoleCommandResolver');
41
42 // CFG: NEWS-DOWNLOAD-FILTER-CLASS
43 $cfg->setConfigEntry('news_download_filter_class', 'Org\Mxchange\CoreFramework\Filter\News\NewsDownloadFilter');
44
45 // CFG: NEWS-PROCESS-FILTER-CLASS
46 $cfg->setConfigEntry('news_process_filter_class', 'Org\Mxchange\CoreFramework\Filter\News\NewsProcessFilter');
47
48 // CFG: NEWS-READER-MAIN-CLASS
49 $cfg->setConfigEntry('news_reader_main_class', 'Org\Mxchange\CoreFramework\Reader\News\Console\ConsoleNewsReader');
50
51 // CFG: NEWS-MAIN-LIMIT
52 $cfg->setConfigEntry('news_main_limit', 5);
53
54 // CFG: TESTS-PHP-REQUIREMENTS-FILTER
55 $cfg->setConfigEntry('tests_php_requirements_filter_class', 'Org\Mxchange\CoreFramework\Tests\Filter\Requirements\TestsPhpRequirementsFilter');
56
57 // CFG: TEST-CONFIGURATION-CLASSES-LOADABLE-TEST-FILTER-CLASS
58 $cfg->setConfigEntry('tests_configuration_classes_loadable_test_filter_class', 'Org\Mxchange\CoreFramework\Tests\Filter\Configuration\Classes\TestConfigurationLoadableClassesFilter');
59
60 // CFG: TEST-CONSOLE-CONTROLLER-RESOLVER-CLASS
61 $cfg->setConfigEntry('tests_console_controller_resolver_class', 'Org\Mxchange\CoreFramework\Tests\Resolver\Controller\TestsConsoleControllerResolver');