Mercurial > projects > mde
view test/mdeTest.d @ 14:0047b364b6d9
Changed much of the mergetag structure and some functionality. First tests on windows.
Changes to mergetag Reader methods. New functionality allowing a dataSecCreator to cause sections to be skipped.
Moved several of the mergetag modules and some of their contents around. Moved all interfaces to separate modules in iface/ .
IReader & IWriter interfaces exist; MTTReader, MTBReader, MTTWriter, MTBWriter & DualWriter all now exist and implement IReader/IWriter (although the MTB variants are dummy classes); makeReader & makeWriter should both be fully functional.
Tested building on windows with partial success (works but window won't open).
Included a temporary hack from windows to get supported resolutions information.
committer: Diggory Hardy <diggory.hardy@gmail.com>
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Fri, 07 Mar 2008 17:51:02 +0000 |
parents | bff0d802cb7d |
children | 4608be19ebe2 |
line wrap: on
line source
/** A module to run all mde unittests and potentially to perform other tests. */ module test.mdeTest; // This module should import all mde modules containing unittests: import mde.input.input; import mde.mergetag.DataSet; import mde.mergetag.mtunittest; import mde.exception; import mde.init; import mde.i18n; import tango.util.log.Log : Log, Logger; // Set this version to tell mde.init that the root logger is set up here. version=mdeTest; private Logger logger; static this() { // Set up console logging: Logger root = Log.getRootLogger(); root.setLevel(root.Level.Trace); root.addAppender(new ConsoleAppender); logger = Log.getLogger ("test.mdeTest"); } void main() { logger.info ("All unittests complete."); }