]> git.mxchange.org Git - core.git/blobdiff - application/tests/config.php
Continued with tests and renaming:
[core.git] / application / tests / config.php
index 477c7e197c5c1700ace925393611a94ff8da7ffd..05b6268afa7aeb966958f14016122564cefc9644 100644 (file)
@@ -1,10 +1,13 @@
 <?php
+// Import framework stuff
+use CoreFramework\Configuration\FrameworkConfiguration;
+
 /**
  * Configuration entries for this application only
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2014 Core Developer Team
+ * @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
 $cfg = FrameworkConfiguration::getSelfInstance();
 
 // 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', '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', 'CoreFramework\Tests\Resolver\Command\TestsConsoleCommandResolver');
+
+// CFG: NEWS-DOWNLOAD-FILTER
+$cfg->setConfigEntry('news_download_filter_class', 'CoreFramework\Filter\News\NewsDownloadFilter');
+
+// CFG: NEWS-PROCESS-FILTER
+$cfg->setConfigEntry('news_process_filter_class', 'CoreFramework\Filter\News\NewsProcessFilter');
+
+// CFG: NEWS-READER-MAIN-CLASS
+$cfg->setConfigEntry('news_reader_main_class', 'CoreFramework\Reader\News\Console\ConsoleNewsReader');
+
+// CFG: NEWS-MAIN-LIMIT
+$cfg->setConfigEntry('news_main_limit', 5);
 
-// [EOF]
-?>
+// CFG: TESTS-PHP-REQUIREMENTS-FILTER
+$cfg->setConfigEntry('tests_php_requirements_filter_class', 'CoreFramework\Tests\Filter\Requirements\TestsPhpRequirementsFilter');