aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/components/popupview/PopupViewInEmbeddedApplication.java
blob: d19f98124e55289e07c1692f90ef775f381fa062 (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
package com.vaadin.tests.components.popupview;

import com.vaadin.tests.components.TestBase;
import com.vaadin.ui.Label;
import com.vaadin.ui.PopupView;

/*
 * Used by PopupViewInEmbedded.html
 */
public class PopupViewInEmbeddedApplication extends TestBase {

    @Override
    protected void setup() {
        PopupView pop = new PopupView("Click me!", new Label(
                "I popped up, woohoo!"));
        addComponent(pop);
    }

    @Override
    protected String getDescription() {
        return "Clicking on the popup link should pop up the popup on top of the link,"
                + " even though the application has been embedded inside a div.";
    }

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

}