assertj-swing icon indicating copy to clipboard operation
assertj-swing copied to clipboard

Allow querying for TabComponents from a JTabbedPaneFixture

Open croesch opened this issue 11 years ago • 0 comments

Issue by Radai Rosenblatt from Sat, 5 May 2012 15:56:44 -0500 Originally opened as http://jira.codehaus.org/browse/FEST-483


java allows for custom tab components since 1.6 - this is good for nifty things like small close buttons on tabs (firefox style) etc.
trouble is testing these things is problematic with FEST-swing since although a JTabbedPaneFixture would allow me to get to the tab content (selectedComponent()) there's no easy way to get the tab component from the fixture.
i'd love to be able to do that (a simple selectedTabComponent() would suffice though being able to get the tab components for tabs that are not selected would be better)


votes (original issue): 0 watches (original issue): 1

croesch avatar Feb 08 '14 12:02 croesch