| |
|
| java.lang.Object com.jcorporate.expresso.services.test.TestSystemInitializer
TestSystemInitializer | public class TestSystemInitializer (Code) | | This class loads the standard Expresso configuration upon startup. You
use this class by passing the following arguments to the Virtual Machine
system properties
junit.argv.webAppDir Where is the webapp directory located.
required
junit.argv.configDir The full path name of the configuration
directory.
required
junit.argv.testContext The name of the data context to perform the
destructive database tests to. optional if no testContext is specified then
the context name is set to "test " as the default context
expresso.logDir  : Directory to write expresso related logfiles
log4j.configuration  : Location of the log4j configuration file
author: Michael Rimov version: $Revision: 1.11 $ $Date: 2004/11/17 20:48:22 $ |
Method Summary | |
public static String | getLogDirectory() | public static String | getTestContext() Get what the current testing context is. | public static void | setUp() Sets up the expresso configuration system so that all the unit tests
depending on the configuration and logging system can function. |
TestSystemInitializer | public TestSystemInitializer()(Code) | | |
getTestContext | public static String getTestContext()(Code) | | Get what the current testing context is.
java.lang.String If no test context is specified by the systemproperty junit.argv.testContext then the default name oftest will be used. |
setUp | public static void setUp() throws Exception(Code) | | Sets up the expresso configuration system so that all the unit tests
depending on the configuration and logging system can function.
|
|
|
|