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 Configurationprivate boolean isTrue(java.lang.String value)
private boolean isTrueProperty(java.lang.String propertyName)
public boolean keepUsingLastReturnValue()
keepUsingLastReturnValue in interface Configurationpublic java.lang.String setActualReturnValueFormat()
setActualReturnValueFormat in interface Configurationpublic java.lang.String setExpectedCallsFormat()
setExpectedCallsFormat in interface Configurationprivate java.lang.String stringProperty(java.lang.String propertyName,
java.lang.String defaultValue)
public java.lang.String setActualReturnExceptionFormat()
setActualReturnExceptionFormat in interface Configurationpublic java.lang.String packageNameFormat()
packageNameFormat in interface Configurationpublic java.lang.String classNameFormat()
classNameFormat in interface Configurationpublic void set(java.lang.String propertyName,
java.lang.String newValue)
set in interface Configuration