Cleanup:
[core.git] / tests / old / loader-test.php
diff --git a/tests/old/loader-test.php b/tests/old/loader-test.php
deleted file mode 100644 (file)
index aea6638..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<?php
-// Change directory
-@chdir('../..');
-
-// Set testing mode (no starter.php will be loaded!)
-define('TEST_MODE', true);
-
-// Load config file
-require dirname(dirname(dirname(__FILE__))) . '/framework/config.php';
-
-// Load all include files
-require $cfg->getConfigEntry('framework_base_path') . 'includes.php';
-
-// Load all game classes
-require $cfg->getConfigEntry('framework_base_path') . 'classes.php';
-
-// Load file I/O handler
-require $cfg->getConfigEntry('framework_base_path') . 'file_io.php';
-
-// Load database layer
-require $cfg->getConfigEntry('framework_base_path') . 'database.php';
-
-// Set default application
-FrameworkConfiguration::getInstance()->setConfigEntry('default_application', 'shipsimu');
-$application = 'shipsimu';
-
-// Load more includes
-require $cfg->getConfigEntry('root_base_path') . 'application/shipsimu/loader.php';
-
-// Wir tun hier so, als waere schon das Reederei-Objekt generiert und wir wollen
-// jetzt die Personalliste wiederherstellen
-$personell = SimulatorPersonell::createSimulatorPersonellByID('SimulatorPersonell@829292aeca3f6bf78c16e25fc4f75c98');
-
-// Personal-Objekt debuggen
-if (defined('DEBUG_PERSONELL_OBJ')) {
-       DebugMiddleware::getInstance()->output(sprintf("The personal object looks like this:<br />
-<pre>%s</pre>\n",
-               print_r($personell, true)
-       ));
-}
-
-// Erstmal bis hier hin
-exit();
-
-// Etwas zum Testen...
-$personell = SimulatorPersonell::createSimulatorPersonell(20);
-
-// Personal-Objekt debuggen
-if (defined('DEBUG_PERSONELL_OBJ')) {
-       DebugMiddleware::getInstance()->output(sprintf("The personal object looks like this:<br />
-<pre>%s</pre>\n",
-               print_r($personell, true)
-       ));
-}
-
-// Try to save the object (for testing purposes)
-$personell->saveObjectToDatabase();