public class JUnitTestProperty extends XMLCommand
Constructor and Description |
---|
JUnitTestProperty(org.jdom.Element propertyElement,
TestDataSource testDataSource) |
Modifier and Type | Method and Description |
---|---|
boolean |
getBooleanValue() |
java.util.Date |
getDateValue() |
double |
getDoubleValue() |
float |
getFloatValue() |
int |
getIntegerValue() |
java.util.List<java.lang.String> |
getListValue()
Converts a comma separated list of values to a List
|
java.lang.String |
getLiteralValue() |
long |
getLongValue() |
java.lang.String |
getName() |
java.lang.String |
getStringValue() |
boolean |
isRandom() |
asBoolean, asBoolean, asDate, asDouble, asFloat, asInteger, asInteger, asLong, getContextParam, getFlag, isContextParam, toString
public JUnitTestProperty(org.jdom.Element propertyElement, TestDataSource testDataSource) throws java.lang.Exception
propertyElement
- the xml element representing the propertytestDataSource
- the TestDataSource handle for loading test datajava.lang.Exception
public java.lang.String getName()
public java.lang.String getLiteralValue()
public java.lang.String getStringValue()
public boolean isRandom()
public java.util.Date getDateValue() throws TestSetupException
TestSetupException
public boolean getBooleanValue() throws TestSetupException
TestSetupException
public double getDoubleValue() throws TestSetupException
TestSetupException
public int getIntegerValue() throws TestSetupException
TestSetupException
public float getFloatValue() throws TestSetupException
TestSetupException
public long getLongValue() throws TestSetupException
TestSetupException
public java.util.List<java.lang.String> getListValue()