Class JListFixture

java.lang.Object
org.fest.swing.fixture.ComponentFixture<JList>
org.fest.swing.fixture.JListFixture
All Implemented Interfaces:
ClientPropertyStorageFixture, CommonComponentFixture, FocusableComponentFixture, ItemGroupFixture, JComponentFixture, JPopupMenuInvokerFixture, KeyboardInputSimulationFixture, MouseInputSimulationFixture, StateVerificationFixture, ToolTipDisplayFixture

Understands functional testing of JLists:
  • user input simulation
  • state verification
  • property value query

The conversion between the values given in tests and the values being displayed by a JList renderer is performed by a JListCellReader. This fixture uses a BasicJListCellReader by default.