public abstract class Assertion extends XMLCommand
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ASSERTION_VALUE |
static java.lang.String |
OPERATOR |
static java.lang.String |
OPERATOR_ENDSWITH |
static java.lang.String |
OPERATOR_EQUALS |
static java.lang.String |
OPERATOR_GREATER |
static java.lang.String |
OPERATOR_GREATEREQUALS |
static java.lang.String |
OPERATOR_ISNOTNULL |
static java.lang.String |
OPERATOR_ISNULL |
static java.lang.String |
OPERATOR_LESS |
static java.lang.String |
OPERATOR_LESSEQUALS |
static java.lang.String |
OPERATOR_NOTEQUALS |
static java.lang.String |
OPERATOR_NOTSAME |
static java.lang.String |
OPERATOR_OR |
static java.lang.String |
OPERATOR_SAME |
static java.lang.String |
OPERATOR_STARTSWITH |
Constructor and Description |
---|
Assertion(MboRemote mbo,
org.jdom.Element elem,
java.util.Map<java.lang.String,java.lang.Object> context,
TestDataSource testDataSource) |
Modifier and Type | Method and Description |
---|---|
abstract void |
assertExpression() |
void |
fail(java.lang.Object cause) |
void |
fail(java.lang.String message) |
asBoolean, asBoolean, asDate, asDouble, asFloat, asInteger, asInteger, asLong, getContextParam, getFlag, isContextParam, toString
public static final java.lang.String OPERATOR_OR
public static final java.lang.String OPERATOR_EQUALS
public static final java.lang.String OPERATOR_SAME
public static final java.lang.String OPERATOR_NOTSAME
public static final java.lang.String OPERATOR_NOTEQUALS
public static final java.lang.String OPERATOR_GREATER
public static final java.lang.String OPERATOR_LESS
public static final java.lang.String OPERATOR_GREATEREQUALS
public static final java.lang.String OPERATOR_LESSEQUALS
public static final java.lang.String OPERATOR_ENDSWITH
public static final java.lang.String OPERATOR_STARTSWITH
public static final java.lang.String OPERATOR_ISNULL
public static final java.lang.String OPERATOR_ISNOTNULL
public static final java.lang.String ASSERTION_VALUE
public static final java.lang.String OPERATOR
public Assertion(MboRemote mbo, org.jdom.Element elem, java.util.Map<java.lang.String,java.lang.Object> context, TestDataSource testDataSource) throws TestSetupException
TestSetupException
public abstract void assertExpression() throws AssertionFailedException, TestSetupException
public void fail(java.lang.String message)
public void fail(java.lang.Object cause)