| Modifier and Type | Field and Description |
|---|---|
protected File |
destDir
destination directory
|
protected String |
errorProperty |
protected String |
failureProperty |
protected boolean |
filtertrace |
protected boolean |
fork |
protected Vector |
formatters |
protected boolean |
haltOnError |
protected boolean |
haltOnFail |
protected String |
ifProperty |
protected String |
unlessProperty |
| Constructor and Description |
|---|
BaseTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFormatter(FormatterElement elem)
Allow a formatter nested element.
|
String |
getErrorProperty()
Get the failure property name.
|
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.
|
String |
getTodir()
Get the destination directory.
|
void |
setErrorProperty(String errorProperty)
Set the name of the error property.
|
void |
setFailureProperty(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(String propertyName)
Set the if attribute.
|
void |
setTodir(File destDir)
Sets the destination directory.
|
void |
setUnless(String propertyName)
Set the unless attribute.
|
protected boolean haltOnError
protected boolean haltOnFail
protected boolean filtertrace
protected boolean fork
protected String ifProperty
protected String unlessProperty
protected Vector formatters
protected File destDir
protected String failureProperty
protected 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(String propertyName)
propertyName - the name of the property to look for.public void setUnless(String propertyName)
propertyName - the name of the property to look for.public void addFormatter(FormatterElement elem)
elem - a formatter nested element.public void setTodir(File destDir)
destDir - the destination directory.public String getTodir()
public String getFailureProperty()
public void setFailureProperty(String failureProperty)
failureProperty - the name of the property to set if the test fails.public String getErrorProperty()
public void setErrorProperty(String errorProperty)
errorProperty - the name of the property to set if the test has an error.Copyright © 2017 SAP SE. All Rights Reserved.