blob: bf1227bcca4ceba3a966fe7f3df4f168cbf38355 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
package com.vaadin.tests.components;
import com.vaadin.server.VaadinRequest;
import com.vaadin.ui.Button;
/**
* Test to see if tooltip delay is working properly.
*
* @author Vaadin Ltd
*/
public class TooltipDelay extends AbstractReindeerTestUI {
@Override
protected void setup(VaadinRequest vaadinRequest) {
Button button = new Button("Expand");
button.setDescription("Expand");
addComponent(button);
getTooltipConfiguration().setOpenDelay(5000);
}
/*
* (non-Javadoc)
*
* @see com.vaadin.tests.components.AbstractTestUI#getTestDescription()
*/
@Override
protected String getTestDescription() {
return "Tooltips should appear with a five second delay.";
}
/*
* (non-Javadoc)
*
* @see com.vaadin.tests.components.AbstractTestUI#getTicketNumber()
*/
@Override
protected Integer getTicketNumber() {
return 13695;
}
}
|