assertj / assertj/assertj-swing
Add support for Spanish
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Java
- Estrellas
- 121
- Forks
- 52
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Issue by Gustavo Jimenez Hernandez 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
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza en org.fest.swing.core.RobotEventGenerator.java:118 y sigue la ruta type/enterText a través de BasicRobot y JComboBoxDriver. Reproduce el fallo con entrada de teclado en español y el texto con caracteres especiales indicado; se considera terminado cuando JComboBoxFixture.enterText ya no lanza IllegalArgumentException e introduce el texto completo.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- java
- Área
- desktop
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 30/100