From f9e25051db127dafda9d37c4f39ae318cc095526 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Thu, 23 Apr 2009 06:43:20 +0000 Subject: Test case for #2853 svn changeset:7499/svn branch:6.0 --- .../tests/components/embedded/EmbeddedTooltip.java | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/com/itmill/toolkit/tests/components/embedded/EmbeddedTooltip.java diff --git a/src/com/itmill/toolkit/tests/components/embedded/EmbeddedTooltip.java b/src/com/itmill/toolkit/tests/components/embedded/EmbeddedTooltip.java new file mode 100644 index 0000000000..f7644666ec --- /dev/null +++ b/src/com/itmill/toolkit/tests/components/embedded/EmbeddedTooltip.java @@ -0,0 +1,28 @@ +package com.itmill.toolkit.tests.components.embedded; + +import com.itmill.toolkit.terminal.ThemeResource; +import com.itmill.toolkit.tests.components.TestBase; +import com.itmill.toolkit.ui.Embedded; + +public class EmbeddedTooltip extends TestBase { + + @Override + protected String getDescription() { + return "The tooltip for an Embedded image should be visible also when hovering the image"; + } + + @Override + protected Integer getTicketNumber() { + return 2853; + } + + @Override + protected void setup() { + Embedded e = new Embedded("Embedded caption", new ThemeResource( + "icons/64/ok.png")); + e + .setDescription("Embedded tooltip, only shown on caption, not on the image"); + addComponent(e); + + } +} -- cgit v1.2.3