diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2016-04-15 11:06:18 +0300 |
---|---|---|
committer | Teemu Suo-Anttila <teemusa@vaadin.com> | 2016-04-15 14:00:58 +0300 |
commit | 6b8412033e680ce6e5c7827ac504adf132305726 (patch) | |
tree | 0df05d16c324b285610af8910c126b58f4c490c5 /uitest/src/com/vaadin/tests/components/combobox/PopUpWidth.java | |
parent | 9192b0bb5e5e699b506b3d3e7df4cf295fbea44a (diff) | |
download | vaadin-framework-6b8412033e680ce6e5c7827ac504adf132305726.tar.gz vaadin-framework-6b8412033e680ce6e5c7827ac504adf132305726.zip |
Build uitest war with maven
Change-Id: I32625901ca27a282253df44c6e776cf9632bacda
Diffstat (limited to 'uitest/src/com/vaadin/tests/components/combobox/PopUpWidth.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/components/combobox/PopUpWidth.java | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/uitest/src/com/vaadin/tests/components/combobox/PopUpWidth.java b/uitest/src/com/vaadin/tests/components/combobox/PopUpWidth.java deleted file mode 100644 index c73bb28c43..0000000000 --- a/uitest/src/com/vaadin/tests/components/combobox/PopUpWidth.java +++ /dev/null @@ -1,43 +0,0 @@ -package com.vaadin.tests.components.combobox; - -import com.vaadin.data.Item; -import com.vaadin.server.Resource; -import com.vaadin.server.ThemeResource; -import com.vaadin.tests.components.TestBase; -import com.vaadin.ui.ComboBox; - -public class PopUpWidth extends TestBase { - - @Override - protected void setup() { - - addComponent(createComboBox("Do not touch this")); - addComponent(createComboBox("Browse this (check that width does not change)")); - } - - private ComboBox createComboBox(String caption) { - ComboBox cb = new ComboBox(caption); - cb.addContainerProperty("caption", String.class, null); - cb.addContainerProperty("icon", Resource.class, null); - for (int i = 1; i < 200 + 1; i++) { - Item item = cb.addItem(i); - item.getItemProperty("caption").setValue("Item " + i); - item.getItemProperty("icon").setValue( - new ThemeResource("../runo/icons/16/users.png")); - } - cb.setItemIconPropertyId("icon"); - cb.setItemCaptionPropertyId("caption"); - return cb; - } - - @Override - protected String getDescription() { - return "Check that width of popup or combobox does not change when paging."; - } - - @Override - protected Integer getTicketNumber() { - return 7013; - } - -} |