From 6b8412033e680ce6e5c7827ac504adf132305726 Mon Sep 17 00:00:00 2001 From: Teemu Suo-Anttila Date: Fri, 15 Apr 2016 11:06:18 +0300 Subject: Build uitest war with maven Change-Id: I32625901ca27a282253df44c6e776cf9632bacda --- .../tests/components/combobox/PopUpWidth.java | 43 ---------------------- 1 file changed, 43 deletions(-) delete mode 100644 uitest/src/com/vaadin/tests/components/combobox/PopUpWidth.java (limited to 'uitest/src/com/vaadin/tests/components/combobox/PopUpWidth.java') 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; - } - -} -- cgit v1.2.3