Test.php

Go to the documentation of this file.
00001 <?php
00002 print (basename(__FILE__).": Init...\n");
00003 
00004 // Change directory
00005 @chdir("..");
00006 
00007 // Load config file
00008 require(dirname(dirname(__FILE__)) . '/inc/config.php');
00009 
00010 // Load all include files
00011 require($cfg->readConfig('base_path') . 'inc/includes.php');
00012 
00013 // Load all game classes
00014 require($cfg->readConfig('base_path') . 'inc/classes.php');
00015 
00016 // Set default application
00017 FrameworkConfiguration::getInstance()->setConfigEntry('default_application', 'ship-simu');
00018 
00019 // Set testing mode (no starter.php will be loaded!)
00020 define('TEST_MODE', true);
00021 
00022 // Load the PHPUnit framework
00023 require_once('PHPUnit/Framework.php');
00024 
00025 print (basename(__FILE__).": Init completed.\n\n");
00026 die("You need to remove this line (".__LINE__.") and implement this test!\n");
00027 
00051 class Test extends PHPUnit_Framework_TestCase {
00052 }
00053 
00054 ?>

Generated on Mon Dec 8 01:06:46 2008 for Ship-Simulator by  doxygen 1.5.6