public class MboAttributeAssertion extends Assertion
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
exp |
static java.lang.String |
EXPMBO |
ASSERTION_VALUE, expression, mbo, OPERATOR, OPERATOR_ENDSWITH, OPERATOR_EQUALS, OPERATOR_GREATER, OPERATOR_GREATEREQUALS, OPERATOR_ISNOTNULL, OPERATOR_ISNULL, OPERATOR_LESS, OPERATOR_LESSEQUALS, OPERATOR_NOTEQUALS, OPERATOR_NOTSAME, OPERATOR_OR, OPERATOR_SAME, OPERATOR_STARTSWITHcommandElement, context, testDataSource| Constructor and Description |
|---|
MboAttributeAssertion(MboRemote mbo,
org.jdom2.Element elem,
java.util.Map context,
TestDataSource testDataSource) |
| Modifier and Type | Method and Description |
|---|---|
void |
assertExpression() |
protected java.lang.Object |
getTestValueAsObject(int maxType,
java.lang.String value) |
java.lang.String |
toString() |
asBoolean, asBoolean, asDate, asDouble, asFloat, asInteger, asInteger, asLong, generateRandomValue, getContextParam, getFlag, getMboUniqueIdString, isContextParam, isNullpublic static final java.lang.String EXPMBO
protected boolean exp
public MboAttributeAssertion(MboRemote mbo, org.jdom2.Element elem, java.util.Map context, TestDataSource testDataSource) throws TestSetupException
TestSetupExceptionpublic void assertExpression()
throws AssertionFailedException,
TestSetupException
assertExpression in class AssertionAssertionFailedExceptionTestSetupExceptionprotected java.lang.Object getTestValueAsObject(int maxType,
java.lang.String value)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String toString()
toString in class XMLCommand