summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2009-04-23 06:43:20 +0000
committerArtur Signell <artur.signell@itmill.com>2009-04-23 06:43:20 +0000
commitf9e25051db127dafda9d37c4f39ae318cc095526 (patch)
tree94e7cdfd55616cb91381f610fbd803ef2f6e06f3
parent9ee170551c15c5f5ea1af658c7ea29c1a9b7b5d8 (diff)
downloadvaadin-framework-f9e25051db127dafda9d37c4f39ae318cc095526.tar.gz
vaadin-framework-f9e25051db127dafda9d37c4f39ae318cc095526.zip
Test case for #2853
svn changeset:7499/svn branch:6.0
-rw-r--r--src/com/itmill/toolkit/tests/components/embedded/EmbeddedTooltip.java28
1 files changed, 28 insertions, 0 deletions
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);
+
+ }
+}