assertj / assertj-swing

Fluent assertions for Swing apps
Other
109 stars 52 forks source link

Problems while migrating from FEST 1.2 to AssertJ-Swing 3.17 #257

Open schueani opened 3 years ago

schueani commented 3 years ago

Hello,

there are two problems.

JTabbedPaneFixture tabbedPaneFixture = ...;
Component c = tabbedPaneFixture.selectedComponent();

The method call selectedComponent() doesn't work because it doesn't exist in the AssertJ-Swing 3.17. How can I solve it ? Or is there any work-around ?

ComponentFixture <?> cf = ...; The class ComponentFixture is in FEST 1.2 but it doesn't exist in AssertJ-Swing 3.17.

Does it work by just replacing the ComponentFixture<?> with AbstractComponentFixture<?,?,?> ?

Thank you in advance.