public class ASTListAssertionBase<A extends ASTItem,T extends ASTAssertionBase,P extends ASTAssertionBase> extends ASTAssertionBase<P>
| Modifier and Type | Field and Description |
|---|---|
protected List<T> |
children |
_index, _name, ast, parent| Constructor and Description |
|---|
ASTListAssertionBase(String name,
ASTModel ast,
P parent) |
| Modifier and Type | Method and Description |
|---|---|
T |
atIndex(int index) |
protected void |
fillList(List<A> items,
java.util.function.Function<A,T> action) |
T |
first() |
ASTListAssertionBase<A,T,P> |
hasSizeOf(int size) |
ConditionAssertion |
parentCondition() |
ModelRootAssertion |
parentRoot() |
T |
second() |
ASTListAssertionBase<A,T,P> |
shouldNotBeEmpty() |
T |
third() |
error, 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, writeExpectedAndActualprotected List<T extends ASTAssertionBase> children
protected void fillList(List<A> items, java.util.function.Function<A,T> action)
public ASTListAssertionBase<A,T,P> hasSizeOf(int size)
public ASTListAssertionBase<A,T,P> shouldNotBeEmpty()
shouldNotBeEmpty in class ASTAssertionBase<P extends ASTAssertionBase>public T first()
public T second()
public T third()
public T atIndex(int index)
public ModelRootAssertion parentRoot()
public ConditionAssertion parentCondition()
Copyright © 2020. All rights reserved.