diff options
Diffstat (limited to 'uitest/src/com/vaadin/tests/components/notification/SemiTransparentNotification.java')
-rwxr-xr-x | uitest/src/com/vaadin/tests/components/notification/SemiTransparentNotification.java | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/components/notification/SemiTransparentNotification.java b/uitest/src/com/vaadin/tests/components/notification/SemiTransparentNotification.java new file mode 100755 index 0000000000..1745c11982 --- /dev/null +++ b/uitest/src/com/vaadin/tests/components/notification/SemiTransparentNotification.java @@ -0,0 +1,32 @@ +package com.vaadin.tests.components.notification; + +import com.vaadin.tests.components.TestBase; +import com.vaadin.tests.util.LoremIpsum; +import com.vaadin.ui.Label; +import com.vaadin.ui.Notification; + +public class SemiTransparentNotification extends TestBase { + + @Override + protected void setup() { + Label l = new Label(LoremIpsum.get(10000)); + getLayout().setSizeFull(); + addComponent(l); + Notification + .show(" This should be a <br/><b>SEMI-TRANSPARENT</b><br/> notification", + Notification.TYPE_WARNING_MESSAGE); + } + + @Override + protected String getDescription() { + // TODO Auto-generated method stub + return null; + } + + @Override + protected Integer getTicketNumber() { + // TODO Auto-generated method stub + return null; + } + +} |