From 04bcb028c3c2c692c65a8fc7aeb3cb912c34d2b6 Mon Sep 17 00:00:00 2001 From: Henri Sara Date: Tue, 2 Aug 2011 06:10:23 +0000 Subject: [PATCH] Fix ComboBoxItemIcon test - theme broken by previous change svn changeset:20069/svn branch:6.7 --- .../tests/components/combobox/ComboBoxItemIcon.java | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/tests/src/com/vaadin/tests/components/combobox/ComboBoxItemIcon.java b/tests/src/com/vaadin/tests/components/combobox/ComboBoxItemIcon.java index 0dc0d092ed..75325b798f 100644 --- a/tests/src/com/vaadin/tests/components/combobox/ComboBoxItemIcon.java +++ b/tests/src/com/vaadin/tests/components/combobox/ComboBoxItemIcon.java @@ -20,8 +20,6 @@ public class ComboBoxItemIcon extends TestBase { @Override protected void setup() { - setTheme("tests-tickets"); - { ComboBox cb = new ComboBox(); cb.addContainerProperty("icon", Resource.class, null); @@ -29,10 +27,10 @@ public class ComboBoxItemIcon extends TestBase { Item item = cb.addItem("FI"); item.getItemProperty("icon").setValue( - new ThemeResource("icons/fi.gif")); + new ThemeResource("../tests-tickets/icons/fi.gif")); item = cb.addItem("SE"); item.getItemProperty("icon").setValue( - new ThemeResource("icons/se.gif")); + new ThemeResource("../tests-tickets/icons/se.gif")); addComponent(cb); } @@ -43,13 +41,13 @@ public class ComboBoxItemIcon extends TestBase { Item item = cb.addItem("Finland"); item.getItemProperty("icon").setValue( - new ThemeResource("icons/fi.gif")); + new ThemeResource("../tests-tickets/icons/fi.gif")); item = cb.addItem("Australia"); item.getItemProperty("icon").setValue( - new ThemeResource("icons/au.gif")); + new ThemeResource("../tests-tickets/icons/au.gif")); item = cb.addItem("Hungary"); item.getItemProperty("icon").setValue( - new ThemeResource("icons/hu.gif")); + new ThemeResource("../tests-tickets/icons/hu.gif")); cb.setValue("Hungary"); addComponent(cb); -- 2.39.5