diff options
author | Artur Signell <artur.signell@itmill.com> | 2009-10-27 07:57:12 +0000 |
---|---|---|
committer | Artur Signell <artur.signell@itmill.com> | 2009-10-27 07:57:12 +0000 |
commit | 6a3c715dae922edd723c9423b4308d5d7948b74e (patch) | |
tree | 46a007274681a9803afccf135ace5554f3e01e3a /src/com/vaadin/tests/components/combobox/ComboBoxValueUpdate.java | |
parent | 931d75fef69deb9b738fad97001cf5621de9f43e (diff) | |
download | vaadin-framework-6a3c715dae922edd723c9423b4308d5d7948b74e.tar.gz vaadin-framework-6a3c715dae922edd723c9423b4308d5d7948b74e.zip |
Split demo and tests files to own source folders, for #3298
svn changeset:9390/svn branch:6.2
Diffstat (limited to 'src/com/vaadin/tests/components/combobox/ComboBoxValueUpdate.java')
-rw-r--r-- | src/com/vaadin/tests/components/combobox/ComboBoxValueUpdate.java | 47 |
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); - - } - -} |