]> source.dussan.org Git - vaadin-framework.git/commitdiff
Remove tooltip that's causing CalendarAcrionEventSourceTest failures
authorTeemu Suo-Anttila <teemusa@vaadin.com>
Wed, 26 Feb 2014 14:27:27 +0000 (16:27 +0200)
committerVaadin Code Review <review@vaadin.com>
Thu, 27 Feb 2014 11:36:45 +0000 (11:36 +0000)
This said tooltip gets in front of the context menu and native events
actually clicks on the tooltip instead of the context menu item.

Change-Id: I6519ba98351a5ad03ccc35c29b85a831e3026325

uitest/src/com/vaadin/tests/components/calendar/CalendarActionEventSource.java

index 5e81750e5829b3651cd4c2c2d6ddf32c6feb1554..3a5d61d793b30dce29274f8d0317260829da226b 100644 (file)
@@ -49,9 +49,8 @@ public class CalendarActionEventSource extends AbstractTestUI {
 
                 CalendarEvent event = null;
                 try {
-                    event = new BasicEvent("NAME", "TOOLTIP",
-                            new SimpleDateFormat("yyyy-MM-dd hh:mm")
-                                    .parse("2013-01-01 07:00"),
+                    event = new BasicEvent("NAME", null, new SimpleDateFormat(
+                            "yyyy-MM-dd hh:mm").parse("2013-01-01 07:00"),
                             new SimpleDateFormat("yyyy-MM-dd hh:mm")
                                     .parse("2013-01-01 11:00"));
                 } catch (ParseException e) {