blob: 7372cde4653ee4a2ffe6894512a6d487300453df (
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
|
package com.vaadin.tests.components.formlayout;
import com.vaadin.server.VaadinRequest;
import com.vaadin.tests.components.AbstractReindeerTestUI;
import com.vaadin.ui.FormLayout;
/**
* Test UI for FormLayout: custom additional styles should be prefixed with
* "v-formlayout-", not "v-layout-".
*
* @author Vaadin Ltd
*/
public class StylePrefix extends AbstractReindeerTestUI {
@Override
protected void setup(VaadinRequest request) {
FormLayout layout = new FormLayout();
layout.addStyleName("mystyle");
addComponent(layout);
}
@Override
protected String getTestDescription() {
return "Form layout should set v-formlayout style name instead of v-layout";
}
@Override
protected Integer getTicketNumber() {
return 13509;
}
}
|