A lot debug messages removed, mailer with stubs added, resend link basicly finished...
[shipsimu.git] / tests / Test.php
1 <?php
2 print (basename(__FILE__).": Init...\n");
3
4 // Change directory
5 @chdir("..");
6
7 // Load config file
8 require(dirname(dirname(__FILE__)) . '/inc/config.php');
9
10 // Load all include files
11 require(PATH . 'inc/includes.php');
12
13 // Load all game classes
14 require(PATH . 'inc/classes.php');
15
16 // Set default application
17 FrameworkConfiguration::getInstance()->setConfigEntry('default_application', 'ship-simu');
18
19 // Set testing mode (no starter.php will be loaded!)
20 define('TEST_MODE', true);
21
22 // Load the PHPUnit framework
23 require_once('PHPUnit/Framework.php');
24
25 print (basename(__FILE__).": Init completed.\n\n");
26 die("You need to remove this line (".__LINE__.") and implement this test!\n");
27
28 /**
29  * A test case for 
30  *
31  * @author              Roland Haeder <webmaster@ship-simu.org>
32  * @version             0.0.0
33  * @copyright   Copyright(c) 2007, 2008 Roland Haeder, this is free software
34  * @license             GNU GPL 3.0 or any newer version
35  * @link                http://www.ship-simu.org
36  * @see                 http://www.phpunit.de
37  *
38  * This program is free software: you can redistribute it and/or modify
39  * it under the terms of the GNU General Public License as published by
40  * the Free Software Foundation, either version 3 of the License, or
41  * (at your option) any later version.
42  *
43  * This program is distributed in the hope that it will be useful,
44  * but WITHOUT ANY WARRANTY; without even the implied warranty of
45  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
46  * GNU General Public License for more details.
47  *
48  * You should have received a copy of the GNU General Public License
49  * along with this program. If not, see <http://www.gnu.org/licenses/>.
50  */
51 class Test extends PHPUnit_Framework_TestCase {
52 }
53
54 ?>