org.nuiton.topia
Class TestHelper
java.lang.Object
org.nuiton.topia.TestHelper
public class TestHelper
- extends Object
Helper for all topia tests.
- Since:
- 2.5
- Author:
- tchemit
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
testBasedir
protected static File testBasedir
targetdir
protected static File targetdir
dirDatabase
protected static File dirDatabase
DEFAULT_CONFIGURATION_LOCATION
public static final String DEFAULT_CONFIGURATION_LOCATION
- See Also:
- Constant Field Values
TestHelper
public TestHelper()
getTestWorkdir
public static File getTestWorkdir()
getTestBasedir
public static File getTestBasedir(Class<?> testClass)
throws IOException
- Throws:
IOException
initTopiaContext
public static org.nuiton.topia.TopiaContext initTopiaContext(File testDirectory,
String dbname)
throws IOException,
org.nuiton.topia.TopiaNotFoundException
- Throws:
IOException
org.nuiton.topia.TopiaNotFoundException
initTopiaContext
public static org.nuiton.topia.TopiaContext initTopiaContext(File testDirectory,
String dbPropertiesPath,
String dbname)
throws IOException,
org.nuiton.topia.TopiaNotFoundException
- Throws:
IOException
org.nuiton.topia.TopiaNotFoundException
initTopiaContextConfiguration
public static Properties initTopiaContextConfiguration(File testDirectory,
String dbPropertiesPath,
String dbname)
throws IOException
- Throws:
IOException
initTopiaContextConfiguration
public static Properties initTopiaContextConfiguration(File testDirectory,
String dbname)
throws IOException
- Throws:
IOException
Copyright © 2004-2011 CodeLutin. All Rights Reserved.