Expresso 5-6

com.jcorporate.expresso.services.test
Class TestSystemInitializer

java.lang.Object
  extended bycom.jcorporate.expresso.services.test.TestSystemInitializer

public class TestSystemInitializer
extends Object

This class loads the standard Expresso configuration upon startup. You use this class by passing the following arguments to the Virtual Machine system properties

Version:
$Revision: 1.11 $ $Date: 2004/11/17 20:48:22 $
Author:
Michael Rimov

Constructor Summary
TestSystemInitializer()
           
 
Method Summary
static String getLogDirectory()
           
static String getTestContext()
          Get what the current testing context is.
static void setUp()
          Sets up the expresso configuration system so that all the unit tests depending on the configuration and logging system can function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestSystemInitializer

public TestSystemInitializer()
Method Detail

setUp

public static void setUp()
                  throws Exception
Sets up the expresso configuration system so that all the unit tests depending on the configuration and logging system can function.

Throws:
Exception

getTestContext

public static String getTestContext()
Get what the current testing context is.

Returns:
java.lang.String If no test context is specified by the system property junit.argv.testContext then the default name of test will be used.

getLogDirectory

public static String getLogDirectory()

Expresso 5-6

Please see www.jcorporate.com for information about new Expresso releases.