Package | Description |
---|---|
org.fest.swing.fixture |
The power and flexibility of FEST-Swing come from the fixtures in
this package.
|
Modifier and Type | Method and Description |
---|---|
JListFixture |
JListFixture.cellReader(JListCellReader cellReader)
Updates the implementation of
to use when comparing internal values of
this fixture's and the values expected in a test. |
JListFixture |
JListFixture.clearSelection()
Clears the selection in this fixture's
. |
JListFixture |
JListFixture.click()
Simulates a user clicking this fixture's
. |
JListFixture |
JListFixture.click(MouseButton button)
Simulates a user clicking this fixture's
. |
JListFixture |
JListFixture.click(MouseClickInfo mouseClickInfo)
Simulates a user clicking this fixture's
. |
JListFixture |
JListFixture.clickItem(int index)
Simulates a user clicking an item in this fixture's
. |
JListFixture |
JListFixture.clickItem(Pattern pattern)
Simulates a user clicking an item in this fixture's
. |
JListFixture |
JListFixture.clickItem(String text)
Simulates a user clicking an item in this fixture's
. |
JListFixture |
JListFixture.doubleClick()
Simulates a user double-clicking this fixture's
. |
JListFixture |
JListFixture.doubleClickItem(int index)
Deprecated.
to be removed in version 2.0. Use
and
instead. |
JListFixture |
JListFixture.doubleClickItem(String text)
Deprecated.
to be removed in version 2.0. Use
and
instead. |
JListFixture |
JListFixture.drag(int index)
Simulates a user dragging an item from this fixture's
. |
JListFixture |
JListFixture.drag(Pattern pattern)
Simulates a drag operation at the location of the first item in this fixture's
matching
the given regular expression pattern. |
JListFixture |
JListFixture.drag(String text)
Simulates a drag operation at the location of the first item in this fixture's
matching
the given value. |
JListFixture |
JListFixture.drop()
Simulates a user dropping an item at the center of this fixture's
. |
JListFixture |
JListFixture.drop(int index)
Simulates a user dropping an item to this fixture's
. |
JListFixture |
JListFixture.drop(Pattern pattern)
Ends a drag operation at the location of the first item matching the given regular expression pattern.
|
JListFixture |
JListFixture.drop(String text)
Ends a drag operation at the location of the first item matching the given value.
|
JListFixture |
JListFixture.focus()
Gives input focus to this fixture's
. |
JListFixture |
ContainerFixture.list()
|
JListFixture |
ComponentContainerFixture.list()
|
JListFixture |
ContainerFixture.list(GenericTypeMatcher<? extends JList> matcher)
|
JListFixture |
ComponentContainerFixture.list(GenericTypeMatcher<? extends JList> matcher)
|
JListFixture |
ContainerFixture.list(String name)
|
JListFixture |
ComponentContainerFixture.list(String name)
|
JListFixture |
JListFixture.pressAndReleaseKey(KeyPressInfo keyPressInfo)
Simulates a user pressing given key with the given modifiers on this fixture's
. |
JListFixture |
JListFixture.pressAndReleaseKeys(int... keyCodes)
Simulates a user pressing and releasing the given keys on this fixture's
. |
JListFixture |
JListFixture.pressKey(int keyCode)
Simulates a user pressing the given key on this fixture's
. |
JListFixture |
JListFixture.releaseKey(int keyCode)
Simulates a user releasing the given key on this fixture's
. |
JListFixture |
JListFixture.requireDisabled()
Asserts that this fixture's
is not enabled. |
JListFixture |
JListFixture.requireEnabled()
Asserts that this fixture's
is enabled. |
JListFixture |
JListFixture.requireEnabled(Timeout timeout)
Asserts that this fixture's
is enabled. |
JListFixture |
JListFixture.requireFocused()
Asserts that this fixture's
has input focus. |
JListFixture |
JListFixture.requireItemCount(int expected)
Verifies that this fixture's
has the expected number of items |
JListFixture |
JListFixture.requireNoSelection()
Verifies that this fixture's
does not have any selection. |
JListFixture |
JListFixture.requireNotVisible()
Asserts that this fixture's
is not visible. |
JListFixture |
JListFixture.requireSelectedItems(int... indices)
Verifies that the given item indices are selected in this fixture's
. |
JListFixture |
JListFixture.requireSelectedItems(Pattern[] patterns)
Verifies that the
String representations of the selected items in this fixture's
match the given regular expression patterns. |
JListFixture |
JListFixture.requireSelectedItems(String... items)
Verifies that the
String representations of the selected items in this fixture's
match the given text items. |
JListFixture |
JListFixture.requireSelection(int index)
Verifies that the index of the selected item in this fixture's
is equal to the given
value. |
JListFixture |
JListFixture.requireSelection(Pattern pattern)
Verifies that the
String representation of the selected item in this fixture's
matches the given regular expression pattern. |
JListFixture |
JListFixture.requireSelection(String text)
Verifies that the
String representation of the selected item in this fixture's
matches the given text. |
JListFixture |
JListFixture.requireToolTip(Pattern pattern)
Asserts that the toolTip in this fixture's
matches the given regular expression
pattern. |
JListFixture |
JListFixture.requireToolTip(String expected)
Asserts that the toolTip in this fixture's
matches the given value. |
JListFixture |
JListFixture.requireVisible()
Asserts that this fixture's
is visible. |
JListFixture |
JListFixture.rightClick()
Simulates a user right-clicking this fixture's
. |
JListFixture |
JListFixture.selectItem(int index)
Simulates a user selecting an item in this fixture's
. |
JListFixture |
JListFixture.selectItem(Pattern pattern)
Simulates a user selecting an item in this fixture's
. |
JListFixture |
JListFixture.selectItem(String text)
Simulates a user selecting an item in this fixture's
. |
JListFixture |
JListFixture.selectItems(int... indices)
Simulates a user selecting the specified items in this fixture's
. |
JListFixture |
JListFixture.selectItems(Pattern... patterns)
Simulates a user selecting the specified items in this fixture's
. |
JListFixture |
JListFixture.selectItems(Range.From from,
Range.To to)
Simulates a user selecting the items (in the specified range) in this fixture's
. |
JListFixture |
JListFixture.selectItems(String... items)
Simulates a user selecting the specified items in this fixture's
. |
Constructor and Description |
---|
JListItemFixture(JListFixture list,
int index)
Creates a new
JListItemFixture . |
Copyright © 2007-2013 FEST (Fixtures for Easy Software Testing). All Rights Reserved.