assertj / assertj/assertj-swing
Add support for Spanish
- Langage dominant
- Java
- Étoiles
- 121
- Forks
- 52
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
_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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez à org.fest.swing.core.RobotEventGenerator.java:118 et suivez le chemin type/enterText à travers BasicRobot et JComboBoxDriver. Reproduisez l’échec avec une saisie au clavier espagnol et le texte contenant les caractères spéciaux indiqué ; c’est terminé lorsque JComboBoxFixture.enterText ne lève plus IllegalArgumentException et saisit le texte complet.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java
- Domaine
- desktop
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 30/100