view test/mdeTest.d @ 11:b940f267419e

Options class created & changes to mergetag exception messages. Options class created (barebones). Loading/saving from Init. Init no longer runs cleanup functions after initialisation failure. Improved mergetag exception messages & error reporting. committer: Diggory Hardy <diggory.hardy@gmail.com>
author Diggory Hardy <diggory.hardy@gmail.com>
date Thu, 21 Feb 2008 09:05:33 +0000
parents 4c3575400769
children bff0d802cb7d
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 tango.util.log.Log : Log, Logger;

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.");
}