comparison test/mdeTest.d @ 26:611f7b9063c6

Changed the licensing and removed a few dead files. Changed licensing to "GPL version 2 or later" to avoid future compatibility issues. Also a unittest fix to the previous commit. committer: Diggory Hardy <diggory.hardy@gmail.com>
author Diggory Hardy <diggory.hardy@gmail.com>
date Thu, 03 Apr 2008 18:15:02 +0100
parents 838577503598
children 467c74d4804d
comparison
equal deleted inserted replaced
25:2c28ee04a4ed 26:611f7b9063c6
1 /* LICENSE BLOCK 1 /* LICENSE BLOCK
2 Part of mde: a Modular D game-oriented Engine 2 Part of mde: a Modular D game-oriented Engine
3 Copyright © 2007-2008 Diggory Hardy 3 Copyright © 2007-2008 Diggory Hardy
4 4
5 This program is free software; you can redistribute it and/or modify it under the terms of 5 This program is free software: you can redistribute it and/or modify it under the terms
6 the GNU General Public License, version 2, as published by the Free Software Foundation. 6 of the GNU General Public License as published by the Free Software Foundation, either
7 version 2 of the License, or (at your option) any later version.
7 8
8 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 9 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
9 without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 10 without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 See the GNU General Public License for more details. 11 See the GNU General Public License for more details.
11 12
12 You should have received a copy of the GNU General Public License along 13 You should have received a copy of the GNU General Public License
13 with this program; if not, write to the Free Software Foundation, Inc., 14 along with this program. If not, see <http://www.gnu.org/licenses/>. */
14 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
15 15
16 /** A module to run all mde unittests and potentially to perform other tests. 16 /** A module to run all mde unittests and potentially to perform other tests.
17 * 17 *
18 * Purpose: an easy mechanism to perform all tests. 18 * Purpose: an easy mechanism to perform all tests.
19 * 19 *
38 { 38 {
39 // In case no console-appender is added by Init, add one here (doesn't hurt if it's an extra) 39 // In case no console-appender is added by Init, add one here (doesn't hurt if it's an extra)
40 Log.getRootLogger.addAppender(new ConsoleAppender); 40 Log.getRootLogger.addAppender(new ConsoleAppender);
41 41
42 logger = Log.getLogger ("test.mdeTest"); 42 logger = Log.getLogger ("test.mdeTest");
43
44 logger.info ("Running unittests...");
45 logger.info ("Note: you will probably need to clean before building to run all unittests");
46 logger.info ("−−−−−−−−");
43 } 47 }
44 48
45 void main() { 49 void main() {
50 logger.info ("−−−−−−−−");
46 logger.info ("All unittests complete."); 51 logger.info ("All unittests complete.");
47 } 52 }