public class JUnitTestProperty extends XMLCommand
commandElement, context, testDataSource| Constructor and Description |
|---|
JUnitTestProperty(org.jdom2.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 |
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, generateRandomValue, getContextParam, getFlag, getMboUniqueIdString, isContextParam, isNull, toStringpublic JUnitTestProperty(org.jdom2.Element propertyElement,
TestDataSource testDataSource)
throws java.lang.Exception
propertyElement - the xml element representing the propertytestDataSource - the TestDataSource handle for loading test datajava.lang.Exceptionpublic java.lang.String getName()
public java.lang.String getLiteralValue()
public java.lang.String getStringValue()
public boolean isRandom()
public java.util.Date getDateValue()
throws TestSetupException
TestSetupExceptionpublic boolean getBooleanValue()
throws TestSetupException
TestSetupExceptionpublic double getDoubleValue()
throws TestSetupException
TestSetupExceptionpublic int getIntegerValue()
throws TestSetupException
TestSetupExceptionpublic float getFloatValue()
throws TestSetupException
TestSetupExceptionpublic long getLongValue()
throws TestSetupException
TestSetupExceptionpublic java.util.List getListValue()