public class RealConfiguration extends java.lang.Object implements Configuration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_CONFIGURATION_FILENAME |
private java.util.Properties |
myProperties |
Constructor and Description |
---|
RealConfiguration(java.lang.String configFileName) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
addExpectedValuesFormat() |
java.lang.String |
classNameFormat() |
private boolean |
isTrue(java.lang.String value) |
private boolean |
isTrueProperty(java.lang.String propertyName) |
boolean |
keepUsingLastReturnValue() |
java.lang.String |
packageNameFormat() |
void |
set(java.lang.String propertyName,
java.lang.String newValue) |
java.lang.String |
setActualReturnExceptionFormat() |
java.lang.String |
setActualReturnValueFormat() |
java.lang.String |
setExpectedCallsFormat() |
private java.lang.String |
stringProperty(java.lang.String propertyName,
java.lang.String defaultValue) |
public static final java.lang.String DEFAULT_CONFIGURATION_FILENAME
private java.util.Properties myProperties
public java.lang.String addExpectedValuesFormat()
addExpectedValuesFormat
in interface Configuration
private boolean isTrue(java.lang.String value)
private boolean isTrueProperty(java.lang.String propertyName)
public boolean keepUsingLastReturnValue()
keepUsingLastReturnValue
in interface Configuration
public java.lang.String setActualReturnValueFormat()
setActualReturnValueFormat
in interface Configuration
public java.lang.String setExpectedCallsFormat()
setExpectedCallsFormat
in interface Configuration
private java.lang.String stringProperty(java.lang.String propertyName, java.lang.String defaultValue)
public java.lang.String setActualReturnExceptionFormat()
setActualReturnExceptionFormat
in interface Configuration
public java.lang.String packageNameFormat()
packageNameFormat
in interface Configuration
public java.lang.String classNameFormat()
classNameFormat
in interface Configuration
public void set(java.lang.String propertyName, java.lang.String newValue)
set
in interface Configuration