X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Ftests%2Fconfig.php;h=9d5ee1a3f804b213ce59ec89491e7a5cc64c6fda;hb=c4f117ca17646bdcb16989c28f913638ccb6cc30;hp=f9ca6ea73143a2a633211596bfc4a3062ca74ad9;hpb=7504d226278b9473da4c70d7fb80d008129f43e1;p=core.git diff --git a/application/tests/config.php b/application/tests/config.php index f9ca6ea7..9d5ee1a3 100644 --- a/application/tests/config.php +++ b/application/tests/config.php @@ -1,13 +1,13 @@ * @version 0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2022 Core Developer Team * @license GNU GPL 3.0 or any newer version * * This program is free software: you can redistribute it and/or modify @@ -25,7 +25,7 @@ use CoreFramework\Configuration\FrameworkConfiguration; */ // Some hub-specific configuration like port hostname where we will listen, etc. -$cfg = FrameworkConfiguration::getSelfInstance(); +$cfg = FrameworkBootstrap::getConfigurationInstance(); // CFG: DEFAULT-CONSOLE-COMMAND $cfg->setConfigEntry('default_console_command', 'main'); @@ -37,4 +37,25 @@ $cfg->setConfigEntry('default_tests_console_command', 'main'); $cfg->setConfigEntry('default_tests_console_controller', 'main'); // CFG: TESTS-CONSOLE-CMD-MAIN-RESOLVER-CLASS -$cfg->setConfigEntry('tests_console_cmd_main_resolver_class', 'CoreFramework\Tests\Resolver\Command\TestsConsoleCommandResolver'); +$cfg->setConfigEntry('tests_console_cmd_main_resolver_class', 'Org\Mxchange\CoreFramework\Tests\Resolver\Command\TestsConsoleCommandResolver'); + +// CFG: NEWS-DOWNLOAD-FILTER-CLASS +$cfg->setConfigEntry('news_download_filter_class', 'Org\Mxchange\CoreFramework\Filter\News\NewsDownloadFilter'); + +// CFG: NEWS-PROCESS-FILTER-CLASS +$cfg->setConfigEntry('news_process_filter_class', 'Org\Mxchange\CoreFramework\Filter\News\NewsProcessFilter'); + +// CFG: NEWS-READER-MAIN-CLASS +$cfg->setConfigEntry('news_reader_main_class', 'Org\Mxchange\CoreFramework\Reader\News\Console\ConsoleNewsReader'); + +// CFG: NEWS-MAIN-LIMIT +$cfg->setConfigEntry('news_main_limit', 5); + +// CFG: TESTS-PHP-REQUIREMENTS-FILTER +$cfg->setConfigEntry('tests_php_requirements_filter_class', 'Org\Mxchange\CoreFramework\Tests\Filter\Requirements\TestsPhpRequirementsFilter'); + +// CFG: TEST-CONFIGURATION-CLASSES-LOADABLE-TEST-FILTER-CLASS +$cfg->setConfigEntry('tests_configuration_classes_loadable_test_filter_class', 'Org\Mxchange\CoreFramework\Tests\Filter\Configuration\Classes\TestConfigurationLoadableClassesFilter'); + +// CFG: TEST-CONSOLE-CONTROLLER-RESOLVER-CLASS +$cfg->setConfigEntry('tests_console_controller_resolver_class', 'Org\Mxchange\CoreFramework\Tests\Resolver\Controller\TestsConsoleControllerResolver');