summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-11-21 17:13:10 +0200
committerVaadin Code Review <review@vaadin.com>2012-11-22 15:03:20 +0000
commit57c7a515e0f8b12dfe23b40a10e2f384fb409708 (patch)
tree28da6f4af9a40d3a84b7ff18e551f826f2277998 /uitest
parentf3ea43e76a9f28e846c9d9ba5e07fe000329dba1 (diff)
downloadvaadin-framework-57c7a515e0f8b12dfe23b40a10e2f384fb409708.tar.gz
vaadin-framework-57c7a515e0f8b12dfe23b40a10e2f384fb409708.zip
Update value when field/label local changes (#8192)
Change-Id: Ifbb426f7aee107db0be555c5ab1ef0b5f4948e5e
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/com/vaadin/tests/converter/ConverterThatEnforcesAFormat.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/uitest/src/com/vaadin/tests/converter/ConverterThatEnforcesAFormat.java b/uitest/src/com/vaadin/tests/converter/ConverterThatEnforcesAFormat.java
index 59aa45dc36..6158092591 100644
--- a/uitest/src/com/vaadin/tests/converter/ConverterThatEnforcesAFormat.java
+++ b/uitest/src/com/vaadin/tests/converter/ConverterThatEnforcesAFormat.java
@@ -1,5 +1,7 @@
package com.vaadin.tests.converter;
+import java.util.Locale;
+
import com.vaadin.data.Property.ValueChangeEvent;
import com.vaadin.data.Property.ValueChangeListener;
import com.vaadin.tests.components.TestBase;
@@ -14,8 +16,9 @@ public class ConverterThatEnforcesAFormat extends TestBase {
protected void setup() {
final TextField tf = new TextField(
"This field should always be formatted with 3 digits");
+ tf.setLocale(Locale.ENGLISH);
tf.setConverter(new StringToDoubleConverterWithThreeFractionDigits());
- tf.addListener(new ValueChangeListener() {
+ tf.addValueChangeListener(new ValueChangeListener() {
@Override
public void valueChange(ValueChangeEvent event) {
log.log("Value changed to "