Constructor and Description |
---|
ComboBoxMatchers() |
Modifier and Type | Method and Description |
---|---|
static <T> org.hamcrest.Matcher<Node> |
containsExactlyItems(T... items)
Creates a matcher that matches all
ComboBox es that only has all of the given items ,
regardless of the order of their appearance. |
static <T> org.hamcrest.Matcher<Node> |
containsExactlyItemsInOrder(T... items)
Creates a matcher that matches all
ComboBox es that only has all of the given items in
the exact order they are given. |
static <T> org.hamcrest.Matcher<Node> |
containsItems(T... items)
Creates a matcher that matches all
ComboBox es that have all of the given items , regardless
of whether it also contains other items and regardless of their order of appearance. |
static <T> org.hamcrest.Matcher<Node> |
containsItemsInOrder(T... items)
Creates a matcher that matches all
ComboBox es that have all of the given items in
the exact order they appear, regardless of whether it also contains other items before or after this
exact sequence. |
static org.hamcrest.Matcher<Node> |
hasItems(int amount)
Creates a matcher that matches all
ComboBox es that have exactly amount items. |
static <T> org.hamcrest.Matcher<Node> |
hasSelectedItem(T selection)
Creates a matcher that matches all
ComboBox es that have given selection as
its selected item. |
public static org.hamcrest.Matcher<Node> hasItems(int amount)
ComboBox
es that have exactly amount
items.public static <T> org.hamcrest.Matcher<Node> hasSelectedItem(T selection)
ComboBox
es that have given selection
as
its selected item.public static <T> org.hamcrest.Matcher<Node> containsItems(T... items)
ComboBox
es that have all of the given items
, regardless
of whether it also contains other items and regardless of their order of appearance.public static <T> org.hamcrest.Matcher<Node> containsExactlyItems(T... items)
ComboBox
es that only has all of the given items
,
regardless of the order of their appearance.public static <T> org.hamcrest.Matcher<Node> containsItemsInOrder(T... items)
ComboBox
es that have all of the given items
in
the exact order they appear, regardless of whether it also contains other items before or after this
exact sequence.