diff options
author | Artur Signell <artur.signell@itmill.com> | 2009-05-21 10:01:21 +0000 |
---|---|---|
committer | Artur Signell <artur.signell@itmill.com> | 2009-05-21 10:01:21 +0000 |
commit | 9f8e360dabb5174a52ccda0e62d2207d943c8ee8 (patch) | |
tree | db8f2d8d59739edb7e0623474076f5db2513b7cf /src | |
parent | 7e9c1e0f4e65c2704c8fb7afde7455ed6b036bfa (diff) | |
download | vaadin-framework-9f8e360dabb5174a52ccda0e62d2207d943c8ee8.tar.gz vaadin-framework-9f8e360dabb5174a52ccda0e62d2207d943c8ee8.zip |
Test case for #2995
svn changeset:7931/svn branch:6.0
Diffstat (limited to 'src')
-rw-r--r-- | src/com/vaadin/tests/components/tabsheet/TabsheetTooltip.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/com/vaadin/tests/components/tabsheet/TabsheetTooltip.java b/src/com/vaadin/tests/components/tabsheet/TabsheetTooltip.java new file mode 100644 index 0000000000..9636125009 --- /dev/null +++ b/src/com/vaadin/tests/components/tabsheet/TabsheetTooltip.java @@ -0,0 +1,31 @@ +package com.vaadin.tests.components.tabsheet; + +import com.vaadin.tests.components.TestBase; +import com.vaadin.ui.Label; +import com.vaadin.ui.TabSheet; +import com.vaadin.ui.TabSheet.Tab; + +public class TabsheetTooltip extends TestBase { + + @Override + protected String getDescription() { + return "The label inside the tabsheet should show a tooltip 'This is a label' and the tab should show a different tooltip 'This is a tab'"; + } + + @Override + protected Integer getTicketNumber() { + return 2995; + } + + @Override + protected void setup() { + TabSheet tabSheet = new TabSheet(); + Label l = new Label("Label"); + l.setDescription("This is a label"); + + Tab tab = tabSheet.addTab(l, "Tab", null); + tab.setDescription("This is a tab"); + + addComponent(tabSheet); + } +} |