Modifier and Type | Field and Description |
---|---|
protected java.io.File |
destDir
destination directory
|
protected java.lang.String |
errorProperty |
protected java.lang.String |
failureProperty |
protected boolean |
filtertrace |
protected boolean |
fork |
protected java.util.Vector |
formatters |
protected boolean |
haltOnError |
protected boolean |
haltOnFail |
protected java.lang.String |
ifProperty |
protected java.lang.String |
unlessProperty |
Constructor and Description |
---|
BaseTest() |
Modifier and Type | Method and Description |
---|---|
void |
addFormatter(FormatterElement elem)
Allow a formatter nested element.
|
java.lang.String |
getErrorProperty()
Get the failure property name.
|
java.lang.String |
getFailureProperty()
Get the failure property name.
|
boolean |
getFiltertrace()
Get the filtertrace attribute.
|
boolean |
getFork()
Get the fork attribute.
|
boolean |
getHaltonerror()
Get the haltonerror attribute.
|
boolean |
getHaltonfailure()
Get the haltonfailure attribute.
|
java.lang.Object |
getIfCondition()
The if expression
|
java.lang.String |
getTodir()
Get the destination directory.
|
java.lang.Object |
getUnlessCondition()
The unless expression
|
void |
setErrorProperty(java.lang.String errorProperty)
Set the name of the error property.
|
void |
setFailureProperty(java.lang.String failureProperty)
Set the name of the failure property.
|
void |
setFiltertrace(boolean value)
Set the filtertrace attribute.
|
void |
setFork(boolean value)
Set the fork attribute.
|
void |
setHaltonerror(boolean value)
Set the haltonerror attribute.
|
void |
setHaltonfailure(boolean value)
Set the haltonfailure attribute.
|
void |
setIf(java.lang.Object ifCondition)
Set the if attribute.
|
void |
setIf(java.lang.String propertyName)
Set the if attribute.
|
void |
setTodir(java.io.File destDir)
Sets the destination directory.
|
void |
setUnless(java.lang.Object unlessCondition)
Set the unless attribute.
|
void |
setUnless(java.lang.String propertyName)
Set the unless attribute.
|
protected boolean haltOnError
protected boolean haltOnFail
protected boolean filtertrace
protected boolean fork
protected java.lang.String ifProperty
protected java.lang.String unlessProperty
protected java.util.Vector formatters
protected java.io.File destDir
protected java.lang.String failureProperty
protected java.lang.String errorProperty
public void setFiltertrace(boolean value)
value
- a boolean
value.public boolean getFiltertrace()
public void setFork(boolean value)
value
- a boolean
value.public boolean getFork()
public void setHaltonerror(boolean value)
value
- a boolean
value.public void setHaltonfailure(boolean value)
value
- a boolean
value.public boolean getHaltonerror()
public boolean getHaltonfailure()
public void setIf(java.lang.Object ifCondition)
ifCondition
- the expression to evaluatepublic void setIf(java.lang.String propertyName)
propertyName
- the expression to evaluatepublic java.lang.Object getIfCondition()
public void setUnless(java.lang.Object unlessCondition)
unlessCondition
- the expression to evaluatepublic void setUnless(java.lang.String propertyName)
propertyName
- the expression to evaluatepublic java.lang.Object getUnlessCondition()
public void addFormatter(FormatterElement elem)
elem
- a formatter nested element.public void setTodir(java.io.File destDir)
destDir
- the destination directory.public java.lang.String getTodir()
public java.lang.String getFailureProperty()
public void setFailureProperty(java.lang.String failureProperty)
failureProperty
- the name of the property to set if
the test fails.public java.lang.String getErrorProperty()
public void setErrorProperty(java.lang.String errorProperty)
errorProperty
- the name of the property to set if
the test has an error.