aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/tests/components/combobox/ComboBoxValueUpdate.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/vaadin/tests/components/combobox/ComboBoxValueUpdate.java')
-rw-r--r--src/com/vaadin/tests/components/combobox/ComboBoxValueUpdate.java47
1 files changed, 0 insertions, 47 deletions
diff --git a/src/com/vaadin/tests/components/combobox/ComboBoxValueUpdate.java b/src/com/vaadin/tests/components/combobox/ComboBoxValueUpdate.java
deleted file mode 100644
index 75cefe9360..0000000000
--- a/src/com/vaadin/tests/components/combobox/ComboBoxValueUpdate.java
+++ /dev/null
@@ -1,47 +0,0 @@
-package com.vaadin.tests.components.combobox;
-
-import com.vaadin.data.Property.ValueChangeEvent;
-import com.vaadin.tests.components.TestBase;
-import com.vaadin.ui.ComboBox;
-import com.vaadin.ui.Label;
-
-public class ComboBoxValueUpdate extends TestBase {
-
- @Override
- protected Integer getTicketNumber() {
- return 2451;
- }
-
- private Label selectedLabel;
-
- @Override
- protected String getDescription() {
- return "Testcase for ComboBox. Test especially edge values(of page changes) when selecting items with keyboard only.";
- }
-
- @Override
- protected void setup() {
- ComboBox select = new ComboBox("");
- select.setImmediate(true);
- for (int i = 0; i < 100; i++) {
- select.addItem("item " + i);
- }
-
- final Label value = new Label();
-
- select.addListener(new ComboBox.ValueChangeListener() {
-
- public void valueChange(ValueChangeEvent event) {
- System.err
- .println("Selected " + event.getProperty().getValue());
- value.setValue("Selected " + event.getProperty().getValue());
-
- }
- });
-
- getLayout().addComponent(select);
- getLayout().addComponent(value);
-
- }
-
-}