blob: 66de59ffde28470a728b975d55938a076326d9fa (
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
|
package com.vaadin.tests.components.datefield;
import java.util.Date;
import com.vaadin.server.UserError;
import com.vaadin.tests.components.TestBase;
import com.vaadin.ui.DateField;
public class DatePopupStyleName extends TestBase {
@Override
public void setup() {
setTheme("reindeer-tests");
final DateField df = new DateField();
df.setValue(new Date(1203910239L));
df.setResolution(DateField.RESOLUTION_SEC);
df.setWidth("200px");
df.setRequired(true);
df.setComponentError(new UserError("abc"));
df.addStyleName("popup-style");
addComponent(df);
}
@Override
protected String getDescription() {
return "The DateField is given a style name 'test', but that style isn't applied on the calendar popup element.";
}
@Override
protected Integer getTicketNumber() {
return 8083;
}
}
|