org.LexGrid.LexBIG.Impl.testUtility
Class ServiceHolder
java.lang.Object
org.LexGrid.LexBIG.Impl.testUtility.ServiceHolder
public class ServiceHolder
- extends java.lang.Object
Singleton class for getting a LexBIGService for the JUnit test cases.
- Version:
- subversion $Revision: $ checked in on $Date: $
- Author:
- Dan Armbrust
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
testConfigFolder_
public static java.io.File testConfigFolder_
instance
public static ServiceHolder instance()
- Use this to get an instance of the ServiceHolder. If
'configureForSingleConfig' has not been called, this will run the tests
on all configured databases in the testConfig.props file.
- Returns:
configureForSingleConfig
public static void configureForSingleConfig()
- Use this to set up the tests for end user enviroment validation. Only
runs the tests once, using their normal config file.
configureNext
public void configureNext()
throws LBException
- Throws:
LBException
getServerConfigs
public java.util.ArrayList<TestServerConfig> getServerConfigs()
removeCurrentConfigTestFolder
public void removeCurrentConfigTestFolder()
removeTestFolder
public void removeTestFolder()
getLexBIGService
public LexBIGService getLexBIGService()
getSingleConfigMode
public boolean getSingleConfigMode()
createPropertiesObject
public static java.util.Properties createPropertiesObject(TestServerConfig serverInfo,
int i,
java.io.File configFolder)