public class PropertyAssertion extends ASTItemAssertionBase<ASTOperandProperty,ASTAssertionBase,PropertyAssertion>
model_index, _name, ast, parent| Constructor and Description |
|---|
PropertyAssertion(ASTOperandProperty item,
ASTModel ast,
ASTAssertionBase parent) |
| Modifier and Type | Method and Description |
|---|---|
PropertyStaticPartAssertion |
firstStaticPart() |
protected String |
getIdentifier() |
PropertyAssertion |
hasArrayContentType(DataPropertyType type) |
PropertyAssertion |
hasEmptyPath() |
PropertyAssertion |
hasLambdaToken(String token) |
PropertyAssertion |
hasPath(String path) |
PropertyAssertion |
hasSameLambdaTokenAsParentLambdaCondition() |
PropertyAssertion |
hasType(DataPropertyType type) |
ConditionAssertion |
parentCondition() |
ConditionGroupAssertion |
parentConditionGroup() |
FunctionAssertion |
parentFunction() |
OperandListAssertion |
parentList() |
ModelRootAssertion |
parentModel() |
OperandAssertion |
parentOperand() |
VariableAssertion |
parentVariable() |
PropertyStaticPartAssertion |
secondStaticPart() |
PropertyStaticPartAssertion |
staticPart(int index) |
PropertyStaticPartAssertion |
thirdStaticPart() |
PropertyAssertion |
tokenStartsWith(String expectedStart) |
hasOriginalSource, hasOriginalSource, hasPreprocessedSource, hasPreprocessedSource, parentArithmetic, parentArithmeticOperand, parentOperation, shouldNotBeEmptyerror, getActualPrefix, getExpectedPrefix, 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 PropertyAssertion(ASTOperandProperty item, ASTModel ast, ASTAssertionBase parent)
public PropertyAssertion hasPath(String path)
public PropertyAssertion hasEmptyPath()
public PropertyAssertion hasLambdaToken(String token)
public PropertyAssertion hasSameLambdaTokenAsParentLambdaCondition()
public PropertyAssertion tokenStartsWith(String expectedStart)
public PropertyAssertion hasType(DataPropertyType type)
public PropertyAssertion hasArrayContentType(DataPropertyType type)
public OperandAssertion parentOperand()
parentOperand in class ASTItemAssertionBase<ASTOperandProperty,ASTAssertionBase,PropertyAssertion>public VariableAssertion parentVariable()
public FunctionAssertion parentFunction()
public ConditionAssertion parentCondition()
parentCondition in class ASTItemAssertionBase<ASTOperandProperty,ASTAssertionBase,PropertyAssertion>public ConditionGroupAssertion parentConditionGroup()
public ModelRootAssertion parentModel()
parentModel in class ASTItemAssertionBase<ASTOperandProperty,ASTAssertionBase,PropertyAssertion>public PropertyStaticPartAssertion staticPart(int index)
public PropertyStaticPartAssertion firstStaticPart()
public PropertyStaticPartAssertion secondStaticPart()
public PropertyStaticPartAssertion thirdStaticPart()
protected String getIdentifier()
getIdentifier in class ASTAssertionBase<ASTAssertionBase>public OperandListAssertion parentList()
Copyright © 2020. All rights reserved.