| |
|
| java.lang.Object de.jwic.test.TestEnvironment
TestEnvironment | public class TestEnvironment (Code) | | Holds the environment for tests. It is basically a static pool of objects.
The test environment settings are loaded from a property file that is loaded
from the Classpath using the ClassLoader. The default filename is 'testenv.properties'.
You can start a test using a different environment by using the java VM argument
-Dtestenv.file=filename
Sample: -Dtestenv.file=usertest.properties
version: $Revision: 1.1 $ author: Florian Lippisch |
Field Summary | |
protected Log | log |
get | public Object get(Object key)(Code) | | Returns an object to the specified key.
Parameters: key - |
getProperty | public String getProperty(String key)(Code) | | Returns a property setting.
Parameters: key - |
getTestEnvironment | public static TestEnvironment getTestEnvironment()(Code) | | Returns the TestEnvironment (singleton).
|
put | public void put(Object key, Object value)(Code) | | Stores an object to the specified key.
Parameters: key - Parameters: value - |
|
|
|