org.fest.swing.fixture
Interface JTreeNodeFixture
- All Superinterfaces:
- ItemFixture, MouseInputSimulationFixture
- All Known Implementing Classes:
- JTreePathFixture, JTreeRowFixture
public interface JTreeNodeFixture
- extends ItemFixture
Understands functional testing of single nodes in JTree
s:
- user input simulation
- state verification
- property value query
- Since:
- 1.2
- Author:
- Alex Ruiz
expand
JTreeNodeFixture expand()
- Simulates a user expanding this fixture's tree node.
- Returns:
- this fixture.
- Throws:
IllegalStateException
- if the JTree
is disabled.
IllegalStateException
- if the JTree
is not showing on the screen.
ActionFailedException
- if this method fails to expand the row.
collapse
JTreeNodeFixture collapse()
- Simulates a user collapsing this fixture's tree node.
- Returns:
- this fixture.
- Throws:
IllegalStateException
- if the JTree
is disabled.
IllegalStateException
- if the JTree
is not showing on the screen.
ActionFailedException
- if this method fails to collapse the row.
Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.