public class AbstractParentAssert<SELF extends AbstractParentAssert<SELF>> extends AbstractNodeAssert<SELF>
Parent assertions.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractParentAssert(javafx.scene.Parent actual,
java.lang.Class<?> selfType) |
| Modifier and Type | Method and Description |
|---|---|
SELF |
doesNotHaveExactlyNumChildren(int amount)
Verifies that the actual
Parent does not have exactly the given
amount of children. |
SELF |
hasAnyChild()
Verifies that the actual
Parent has at least one child. |
SELF |
hasExactlyNumChildren(int amount)
Verifies that the actual
Parent has exactly the given
amount of children. |
SELF |
hasNoChildren()
Verifies that the actual
Parent has no children. |
doesNotHaveChild, hasChild, hasExactlyChildren, isDisabled, isEnabled, isFocused, isInvisible, isNotFocused, isVisibleas, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, satisfies, satisfies, setCustomRepresentation, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnErrorprotected AbstractParentAssert(javafx.scene.Parent actual,
java.lang.Class<?> selfType)
public SELF hasAnyChild()
Parent has at least one child.public SELF hasNoChildren()
Parent has no children.public SELF hasExactlyNumChildren(int amount)
Parent has exactly the given
amount of children.amount - the given amount of children that the actual Parent should
exactly havepublic SELF doesNotHaveExactlyNumChildren(int amount)
Parent does not have exactly the given
amount of children.amount - the given amount of children that the actual Parent should not
exactly have