assertj / assertj/assertj-swing

Add support for Spanish

Offen
#48 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
import from fest-swing Major
Vorherrschende Sprache
Java
Sterne
121
Forks
52
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

_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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne bei org.fest.swing.core.RobotEventGenerator.java:118 und verfolge den type/enterText-Pfad durch BasicRobot und JComboBoxDriver. Reproduziere den Fehler mit spanischer Tastatureingabe und dem gemeldeten Text mit Sonderzeichen; als erledigt gilt, dass JComboBoxFixture.enterText keine IllegalArgumentException mehr auslöst und den vollständigen Text eingibt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java
Bereich
desktop
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.