public class ArithmeticOperandAssertion extends ASTItemAssertionBase<ASTOperandArithmeticalItemBase,ASTAssertionBase,ArithmeticOperandAssertion>
model_index, _name, ast, parent| Constructor and Description |
|---|
ArithmeticOperandAssertion(ASTOperandArithmeticalItemBase item,
ASTModel ast,
ASTAssertionBase parent) |
ArithmeticOperandAssertion(ASTOperandArithmeticalItemBase item,
int index,
ASTModel ast,
ASTAssertionBase parent) |
| Modifier and Type | Method and Description |
|---|---|
ArithmeticOperandAssertion |
arithmeticValue() |
<S extends ASTAssertionBase,T extends ASTItem,O extends ASTOperandBase> |
getAssertion(Class<S> assrt,
Class<T> cls,
Class<O> operandCls,
String name) |
ArithmeticOperandAssertion |
hasNoOperand() |
ArithmeticOperandAssertion |
hasNoOperator() |
ArithmeticOperandAssertion |
hasOperator(ASTArithmeticalOperator operator) |
OperandArithmeticalAssertion |
parentArithmetic() |
ASTArithmeticalOperationAssertion |
parentOperation() |
PropertyAssertion |
propertyValue() |
StaticNumberAssertion |
staticNumber() |
ArithmeticOperandAssertion |
staticNumber(Double number) |
StaticStringAssertion |
staticString() |
ArithmeticOperandAssertion |
staticString(String value) |
VariableReferenceAssertion |
variableValue() |
hasOriginalSource, hasOriginalSource, hasPreprocessedSource, hasPreprocessedSource, parentArithmeticOperand, parentCondition, parentModel, parentOperand, shouldNotBeEmptyerror, getActualPrefix, getExpectedPrefix, getIdentifier, getPositionString, info, parent, parentAssertion, shouldBeFalse, shouldBeInstanceOf, shouldBeNull, shouldBeTrue, shouldContains, shouldEquals, shouldEquals, shouldEquals, shouldEquals, shouldEquals, shouldHaveMinSizeOf, shouldHaveSizeOf, shouldNotBeEmpty, shouldNotBeEmpty, shouldNotBeEmpty, shouldNotBeNull, shouldNotBeOutOfRange, shouldStartsWith, writeActual, writeExpected, writeExpectedAndActualpublic ArithmeticOperandAssertion(ASTOperandArithmeticalItemBase item, int index, ASTModel ast, ASTAssertionBase parent)
public ArithmeticOperandAssertion(ASTOperandArithmeticalItemBase item, ASTModel ast, ASTAssertionBase parent)
public StaticNumberAssertion staticNumber() throws Exception
Exceptionpublic ArithmeticOperandAssertion hasOperator(ASTArithmeticalOperator operator)
public ArithmeticOperandAssertion hasNoOperator()
public ArithmeticOperandAssertion hasNoOperand()
public ArithmeticOperandAssertion staticNumber(Double number) throws Exception
Exceptionpublic StaticStringAssertion staticString() throws Exception
Exceptionpublic ArithmeticOperandAssertion staticString(String value) throws Exception
Exceptionpublic PropertyAssertion propertyValue() throws Exception
Exceptionpublic VariableReferenceAssertion variableValue() throws Exception
Exceptionpublic ArithmeticOperandAssertion arithmeticValue() throws Exception
Exceptionpublic <S extends ASTAssertionBase,T extends ASTItem,O extends ASTOperandBase> S getAssertion(Class<S> assrt, Class<T> cls, Class<O> operandCls, String name) throws Exception
Exceptionpublic OperandArithmeticalAssertion parentArithmetic()
public ASTArithmeticalOperationAssertion parentOperation()
Copyright © 2020. All rights reserved.