]> source.dussan.org Git - vaadin-framework.git/commitdiff
Updated test. Test descriptions can now include HTML.
authorJouni Koivuviita <jouni.koivuviita@itmill.com>
Wed, 28 Jan 2009 11:32:10 +0000 (11:32 +0000)
committerJouni Koivuviita <jouni.koivuviita@itmill.com>
Wed, 28 Jan 2009 11:32:10 +0000 (11:32 +0000)
svn changeset:6669/svn branch:trunk

src/com/itmill/toolkit/tests/components/TestBase.java
src/com/itmill/toolkit/tests/components/combobox/ComboBoxLargeIcons.java

index 7efbebd399b85fd5f4b995b8bf9923b3323dd046..c6352aa276329f87d06110c805469c1007755136 100644 (file)
@@ -16,7 +16,7 @@ public abstract class TestBase extends Application {
         setMainWindow(window);\r
         window.getLayout().setSizeFull();\r
 \r
-        Label label = new Label(getDescription());\r
+        Label label = new Label(getDescription(), Label.CONTENT_XHTML);\r
         label.setWidth("100%");\r
         window.getLayout().addComponent(label);\r
 \r
index 99ab3817b11c7aacef9a280da3dbd69e446eb57a..ccb920e9181bdce978f09ce982abc95ff96a7136 100644 (file)
@@ -17,7 +17,7 @@ public class ComboBoxLargeIcons extends TestBase {
 
     @Override
     protected String getDescription() {
-        return "All items in the Combobox has large icons. The size of the dropdown should fit the contents, also when changing pages. The size of the shadow behind the dropdown must also be correctly sized. Note that the image URL change for every restart to keep the browser from using cached images.";
+        return "<p>All items in the Combobox has large icons. The size of the dropdown should fit the contents, also when changing pages. The height of the dropdown shouldn't exceed the browser's viewport, but fewer items should be visible then.</p><p>The size of the shadow behind the dropdown must also be correctly sized.</p><p>Note that the image URL change for every restart to keep the browser from using cached images.</p>";
     }
 
     @Override