mockmaker
Class RealConfiguration
java.lang.Object
mockmaker.RealConfiguration
- All Implemented Interfaces:
- Configuration
- public class RealConfiguration
- extends java.lang.Object
- implements Configuration
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_CONFIGURATION_FILENAME
public static final java.lang.String DEFAULT_CONFIGURATION_FILENAME
- See Also:
- Constant Field Values
myProperties
private java.util.Properties myProperties
RealConfiguration
public RealConfiguration(java.lang.String configFileName)
addExpectedValuesFormat
public java.lang.String addExpectedValuesFormat()
- Specified by:
addExpectedValuesFormat
in interface Configuration
isTrue
private boolean isTrue(java.lang.String value)
isTrueProperty
private boolean isTrueProperty(java.lang.String propertyName)
keepUsingLastReturnValue
public boolean keepUsingLastReturnValue()
- Specified by:
keepUsingLastReturnValue
in interface Configuration
setActualReturnValueFormat
public java.lang.String setActualReturnValueFormat()
- Specified by:
setActualReturnValueFormat
in interface Configuration
setExpectedCallsFormat
public java.lang.String setExpectedCallsFormat()
- Specified by:
setExpectedCallsFormat
in interface Configuration
stringProperty
private java.lang.String stringProperty(java.lang.String propertyName,
java.lang.String defaultValue)
setActualReturnExceptionFormat
public java.lang.String setActualReturnExceptionFormat()
- Specified by:
setActualReturnExceptionFormat
in interface Configuration
packageNameFormat
public java.lang.String packageNameFormat()
- Specified by:
packageNameFormat
in interface Configuration
classNameFormat
public java.lang.String classNameFormat()
- Specified by:
classNameFormat
in interface Configuration
set
public void set(java.lang.String propertyName,
java.lang.String newValue)
- Specified by:
set
in interface Configuration