assertj / assertj/assertj-swing

Add support for Spanish

Aperta
#48 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
import from fest-swing Major
Lingua principale
Java
Stelle
121
Fork
52
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

_Issue by **[Gustavo Jimenez Hernandez](http://jira.codehaus.org/secure/ViewProfile.jspa?name=codegus)** from Wed, 2 Sep 2009 09:02:34 -0500_
_Originally opened as http://jira.codehaus.org/browse/FEST-220_

---

When it try write in a combo box using JComboBoxFixture occur a IllegalArgumentException, the text that is writing in the component is: !#$%&()'?¿¡+*~[]{}^

this is the trace:

java.lang.IllegalArgumentException: Invalid key code '47'

at org.fest.swing.core.RobotEventGenerator.pressKey(RobotEventGenerator.java:118)

at org.fest.swing.core.BasicRobot.doPressKey(BasicRobot.java:597)

at org.fest.swing.core.BasicRobot.keyPressAndRelease(BasicRobot.java:582)

at org.fest.swing.core.BasicRobot.type(BasicRobot.java:553)

at org.fest.swing.core.BasicRobot.enterText(BasicRobot.java:536)

at org.fest.swing.driver.JComboBoxDriver.enterText(JComboBoxDriver.java:363)

at org.fest.swing.fixture.JComboBoxFixture.enterText(JComboBoxFixture.java:199)

I could seen that the text wrote in the component was: !#$%/)', at this moment the test fail

but also noted that changing the keyboard input language (Spanish to

English) when the test is running, the error does not reproduce.

---

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia da org.fest.swing.core.RobotEventGenerator.java:118 e traccia il percorso type/enterText attraverso BasicRobot e JComboBoxDriver. Riproduci il problema con l’input da tastiera spagnola e il testo con i caratteri speciali indicato; il lavoro è completato quando JComboBoxFixture.enterText non genera più IllegalArgumentException e inserisce il testo completo.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
desktop
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.