Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notification about further migration steps I encountered #267

Open
Adrodoc opened this issue Feb 3, 2022 · 0 comments
Open

Notification about further migration steps I encountered #267

Adrodoc opened this issue Feb 3, 2022 · 0 comments

Comments

@Adrodoc
Copy link

Adrodoc commented Feb 3, 2022

In response to

please don't hesitate to notify us about further migration steps you encounter!
Source: https://joel-costigliola.github.io/assertj/assertj-swing-migrating.html

Here are the four additional steps I had to perform when upgrading from org.easytesting:fest-swing:1.2 to org.assertj:assertj-swing-junit:3.17.1:

  • org.fest.swing.driver.JTableCellValidator.validateCellIndices was renamed to org.assertj.swing.driver.JTableCellPreconditions.checkCellIndicesInBounds
  • org.fest.swing.query.ComponentBackgroundQuery.backgroundOf(component) had to be replaced with org.assertj.swing.edt.GuiActionRunner.execute(() -> component.getBackground())
  • org.fest.swing.query.ComponentFontQuery.fontOf(component) had to be replaced with org.assertj.swing.edt.GuiActionRunner.execute(() -> component.getFont())
  • org.fest.swing.query.ComponentForegroundQuery.foregroundOf(component) had to be replaced with org.assertj.swing.edt.GuiActionRunner.execute(() -> component.getForeground())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant