aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/components/window/WindowWithIcon.java
blob: 15ceb569b4d54ffa82dbfde3532e015d047b5572 (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
package com.vaadin.tests.components.window;

import com.vaadin.server.FontAwesome;
import com.vaadin.server.VaadinRequest;
import com.vaadin.tests.components.AbstractTestUI;
import com.vaadin.ui.Window;

public class WindowWithIcon extends AbstractTestUI {

    @Override
    protected void setup(VaadinRequest request) {
        Window window = new Window("Window Caption");
        window.setIcon(FontAwesome.ROCKET);
        addWindow(window);
    }

    @Override
    protected String getTestDescription() {
        return "Window should work properly with font icons.";
    }

    @Override
    protected Integer getTicketNumber() {
        return 14481;
    }

}