Class TestConfigLoader<T extends TestEnvironment>
- java.lang.Object
-
- edu.uiuc.ncsa.security.core.util.LoggingConfigLoader<T>
-
- edu.uiuc.ncsa.security.util.testing.TestConfigLoader<T>
-
- All Implemented Interfaces:
ConfigurationLoader<T>,Version,Serializable
- Direct Known Subclasses:
TestCCI.TCL
public abstract class TestConfigLoader<T extends TestEnvironment> extends LoggingConfigLoader<T>
This loads a configuration of tests from a configuration file. This is not used in any other package and exists as a way to test configurations, naught else.Created by Jeff Gaynor
on 4/21/16 at 1:55 PM- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.uiuc.ncsa.security.core.util.LoggingConfigLoader
LoggingConfigLoader.MyLoggerProvider
-
-
Field Summary
Fields Modifier and Type Field Description static StringDATA_NAME_TAGstatic StringDATA_TAGstatic StringDATA_TYPE_TAGstatic StringINTEGER_DATA_TYPE_TAGstatic StringLIST_DATA_TYPE_TAGstatic StringTEST_ENABLE_TAGIn the test file, testers can disable the test by specifying this value as true or false.static StringTEST_NAME_TAGstatic StringTEST_TAG-
Fields inherited from class edu.uiuc.ncsa.security.core.util.LoggingConfigLoader
cn, debugger, loggerProvider, myLogger
-
Fields inherited from interface edu.uiuc.ncsa.security.core.Version
VERSION_NUMBER
-
-
Constructor Summary
Constructors Constructor Description TestConfigLoader(org.apache.commons.configuration.tree.ConfigurationNode node)TestConfigLoader(org.apache.commons.configuration.tree.ConfigurationNode node, MyLoggingFacade logger)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TcreateInstance()Internal call to Create the service environment from the initialized state of this boot strapper.Tload()load the configuration.static voidmain(String[] args)-
Methods inherited from class edu.uiuc.ncsa.security.core.util.LoggingConfigLoader
debug, getDebugger, getLoggerProvider, getMyLogger, getVersionString, info, setLoggerProvider, warn
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface edu.uiuc.ncsa.security.core.util.ConfigurationLoader
getConstants
-
-
-
-
Field Detail
-
TEST_TAG
public static final String TEST_TAG
- See Also:
- Constant Field Values
-
TEST_NAME_TAG
public static final String TEST_NAME_TAG
- See Also:
- Constant Field Values
-
TEST_ENABLE_TAG
public static final String TEST_ENABLE_TAG
In the test file, testers can disable the test by specifying this value as true or false. The default is to run the test.- See Also:
- Constant Field Values
-
DATA_TAG
public static final String DATA_TAG
- See Also:
- Constant Field Values
-
DATA_TYPE_TAG
public static final String DATA_TYPE_TAG
- See Also:
- Constant Field Values
-
LIST_DATA_TYPE_TAG
public static final String LIST_DATA_TYPE_TAG
- See Also:
- Constant Field Values
-
INTEGER_DATA_TYPE_TAG
public static final String INTEGER_DATA_TYPE_TAG
- See Also:
- Constant Field Values
-
DATA_NAME_TAG
public static final String DATA_NAME_TAG
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TestConfigLoader
public TestConfigLoader(org.apache.commons.configuration.tree.ConfigurationNode node)
-
TestConfigLoader
public TestConfigLoader(org.apache.commons.configuration.tree.ConfigurationNode node, MyLoggingFacade logger)
-
-
Method Detail
-
main
public static void main(String[] args)
-
load
public T load()
Description copied from interface:ConfigurationLoaderload the configuration. Normally the specifics of the configuration (e.g. a property file or an XML node) are loaded in the constructor first before this call. This is called automatically by the bootstrapper.- Returns:
-
createInstance
public T createInstance()
Description copied from interface:ConfigurationLoaderInternal call to Create the service environment from the initialized state of this boot strapper.- Returns:
-
-