public class AbstractListViewAssert<SELF extends AbstractListViewAssert<SELF,T>,T> extends AbstractNodeAssert<SELF>
ListView assertions.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractListViewAssert(javafx.scene.control.ListView<T> actual,
java.lang.Class<?> selfType) |
| Modifier and Type | Method and Description |
|---|---|
SELF |
doesNotHaveExactlyNumItems(int amount)
Verifies that the actual
ListView does not have exactly the
given amount of items. |
SELF |
doesNotHaveListCell(java.lang.Object value)
Verifies that the actual
ListView does not contain the
given list cell value. |
SELF |
doesNotHavePlaceholder(javafx.scene.Node placeHolder)
Verifies that the actual
ListView does not have the given
placeHolder node. |
SELF |
doesNotHaveVisiblePlaceholder(javafx.scene.Node placeHolder)
Verifies that the actual
ListView does not have the given visible
placeHolder. |
SELF |
hasExactlyNumItems(int amount)
Verifies that the actual
ListView has exactly the given amount
of items. |
SELF |
hasListCell(java.lang.Object value)
Verifies that the actual
ListView contains the given list cell
value. |
SELF |
hasPlaceholder(javafx.scene.Node placeHolder)
Verifies that the actual
ListView has the given placeHolder
node. |
SELF |
hasVisiblePlaceholder(javafx.scene.Node placeHolder)
Verifies that the actual
ListView has the given placeHolder
node and that the node is visible. |
SELF |
isEmpty()
Verifies that the actual
ListView is empty (does not contain
any items). |
SELF |
isNotEmpty()
Verifies that the actual
ListView is not empty (contains at
least one item). |
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 AbstractListViewAssert(javafx.scene.control.ListView<T> actual, java.lang.Class<?> selfType)
public SELF hasListCell(java.lang.Object value)
ListView contains the given list cell
value.value - the given list cell value to ensure the ListView containspublic SELF doesNotHaveListCell(java.lang.Object value)
ListView does not contain the
given list cell value.value - the given list cell value to ensure the ListView does not containpublic SELF hasExactlyNumItems(int amount)
ListView has exactly the given amount
of items.amount - the given amount of items to compare the actual amount of items topublic SELF doesNotHaveExactlyNumItems(int amount)
ListView does not have exactly the
given amount of items.amount - the given amount of items to compare the actual amount of items topublic SELF isEmpty()
ListView is empty (does not contain
any items).public SELF isNotEmpty()
ListView is not empty (contains at
least one item).public SELF hasPlaceholder(javafx.scene.Node placeHolder)
ListView has the given placeHolder
node.placeHolder - the given place holder Node to compare the actual place holder topublic SELF doesNotHavePlaceholder(javafx.scene.Node placeHolder)
ListView does not have the given
placeHolder node.placeHolder - the given place holder Node to compare the actual place holder topublic SELF hasVisiblePlaceholder(javafx.scene.Node placeHolder)
ListView has the given placeHolder
node and that the node is visible.placeHolder - the given place holder Node to compare the actual place holder topublic SELF doesNotHaveVisiblePlaceholder(javafx.scene.Node placeHolder)
ListView does not have the given visible
placeHolder. This assertion will pass for any invisible place holder.placeHolder - the given place holder Node to compare the actual place holder to