diff options
author | Artur Signell <artur.signell@itmill.com> | 2009-09-22 08:49:47 +0000 |
---|---|---|
committer | Artur Signell <artur.signell@itmill.com> | 2009-09-22 08:49:47 +0000 |
commit | 44a9707f8f41e374c57a020c3c1450bb19cd75e3 (patch) | |
tree | 7fe76a36c396f4696be389aed819beae63751418 /src | |
parent | da8912fce63a7da163900e83a77991f308873eba (diff) | |
download | vaadin-framework-44a9707f8f41e374c57a020c3c1450bb19cd75e3.tar.gz vaadin-framework-44a9707f8f41e374c57a020c3c1450bb19cd75e3.zip |
Updated test case to use theme resources so tester finds the images
svn changeset:8881/svn branch:6.1
Diffstat (limited to 'src')
-rw-r--r-- | src/com/vaadin/tests/components/combobox/ComboBoxItemIcon.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/vaadin/tests/components/combobox/ComboBoxItemIcon.java b/src/com/vaadin/tests/components/combobox/ComboBoxItemIcon.java index 905e9a37c3..4800316a5a 100644 --- a/src/com/vaadin/tests/components/combobox/ComboBoxItemIcon.java +++ b/src/com/vaadin/tests/components/combobox/ComboBoxItemIcon.java @@ -1,8 +1,8 @@ package com.vaadin.tests.components.combobox; import com.vaadin.data.Item; -import com.vaadin.terminal.ClassResource; import com.vaadin.terminal.Resource; +import com.vaadin.terminal.ThemeResource; import com.vaadin.tests.components.TestBase; import com.vaadin.ui.ComboBox; @@ -27,10 +27,10 @@ public class ComboBoxItemIcon extends TestBase { Item item = cb.addItem("FI"); item.getItemProperty("icon").setValue( - new ClassResource("fi.gif", ComboBoxItemIcon.this)); + new ThemeResource("../sampler/flags/fi.gif")); item = cb.addItem("SE"); item.getItemProperty("icon").setValue( - new ClassResource("se.gif", ComboBoxItemIcon.this)); + new ThemeResource("../sampler/flags/se.gif")); } |