X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=application%2Ftests%2Fconfig.php;h=fba8bafd65c812daddcdb61480f1e103112b8f70;hp=3ed7924a47ed32fa1cc73a026c252efb2de574f8;hb=f57dd51863ec9baacba447d76b46d5c709b9b02e;hpb=41d3328c52be0393e2912ab64f185df205dec828 diff --git a/application/tests/config.php b/application/tests/config.php index 3ed7924a..fba8bafd 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 - 2019 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,10 +25,34 @@ 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', 'tests'); +$cfg->setConfigEntry('default_console_command', 'main'); // CFG: DEFAULT-TESTS-CONSOLE-COMMAND -$cfg->setConfigEntry('default_tests_console_command', 'tests'); +$cfg->setConfigEntry('default_tests_console_command', 'main'); + +// CFG: DEFAULT-TESTS-CONSOLE-CONTROLLER +$cfg->setConfigEntry('default_tests_console_controller', 'main'); + +// CFG: TESTS-CONSOLE-CMD-MAIN-RESOLVER-CLASS +$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');