junitx.ddtunit.util
Class DDTConfiguration
java.lang.Object
junitx.ddtunit.util.DDTConfiguration
public class DDTConfiguration
- extends Object
Load configuration file and provide access to specified content in an
instance of this class
- Author:
- jg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DDTUNIT_CONFIG_PROPERTIES
public static final String DDTUNIT_CONFIG_PROPERTIES
- See Also:
- Constant Field Values
PROP_RESOURCE
public static final String PROP_RESOURCE
- See Also:
- Constant Field Values
getInstance
public static DDTConfiguration getInstance()
- Returns:
- only one instance of config information
load
public void load()
load
public void load(String resourceName)
isActiveRunMonitor
public boolean isActiveRunMonitor()
getLog4jConfigResource
public String getLog4jConfigResource()
isActiveXmlValidation
public boolean isActiveXmlValidation()
getHardCacheSize
public int getHardCacheSize()
isActiveParserValidation
public boolean isActiveParserValidation()
setActiveParserValidation
public void setActiveParserValidation(boolean parserValidationSupport)
setActiveXmlValidation
public void setActiveXmlValidation(boolean activeXmlValidation)
isActiveAsserts
public boolean isActiveAsserts()
setActiveAsserts
public void setActiveAsserts(boolean assertSupport)
isSpecificationAssert
public boolean isSpecificationAssert()
setSpecificationAssert
public void setSpecificationAssert(boolean specificationAssert)
getActiveLocale
public Locale getActiveLocale()
setActiveRunMonitor
public void setActiveRunMonitor(boolean activeRunMonitor)
setLog4jConfigResource
public void setLog4jConfigResource(String log4jConfigResource)
setActiveLocale
public void setActiveLocale(Locale activeLocale)
getDateMap
public Map<String,DDTDateFormat> getDateMap()
Copyright © 2004-2011. All Rights Reserved.