summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/tests/components/button/IE7ButtonWithIcon.java
blob: c6a0ae96a95b4ba7e2167035ccad2ca7dcb0982a (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.button;

import com.vaadin.terminal.ThemeResource;
import com.vaadin.tests.components.TestBase;
import com.vaadin.ui.Button;

public class IE7ButtonWithIcon extends TestBase {

    @Override
    protected String getDescription() {
        return "The button should contain the text \"Normal\" and an 16x16 icon and have padding to the left and the right";
    }

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

    @Override
    protected void setup() {
        Button b = new Button("Normal");
        b.setIcon(new ThemeResource("../runo/icons/16/ok.png"));

        addComponent(b);
    }

}