assertj / assertj/assertj-swing
Notification about further migration steps I encountered
- Lingua principale
- Java
- Stelle
- 121
- Fork
- 52
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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())`
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia con la guida alla migrazione di AssertJ Swing collegata nell'issue e confronta i passaggi di migrazione esistenti con le quattro modifiche all'API segnalate. Documenta queste sostituzioni nella guida, quindi verifica che tutti e quattro i passaggi di migrazione siano espressi chiaramente per gli utenti che eseguono l'aggiornamento da fest-swing 1.2 a assertj-swing-junit 3.17.1.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- documentation
- Tipo di issue
- Documentazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 55/100