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_STARTSWITH
commandElement, 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, isNull
public 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
TestSetupException
public void assertExpression() throws AssertionFailedException, TestSetupException
assertExpression
in class Assertion
AssertionFailedException
TestSetupException
protected java.lang.Object getTestValueAsObject(int maxType, java.lang.String value) throws java.lang.Exception
java.lang.Exception
public java.lang.String toString()
toString
in class XMLCommand