aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/main/java/com/vaadin/tests/application/InitiallyDeferredLoading.java
blob: 0503954a37f3ccfea01b672ce9f74cb33d86aa2a (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
package com.vaadin.tests.application;

import com.vaadin.annotations.Widgetset;
import com.vaadin.server.VaadinRequest;
import com.vaadin.tests.components.AbstractTestUI;
import com.vaadin.tests.widgetset.TestingWidgetSet;
import com.vaadin.tests.widgetset.server.DeferredComponent;

@Widgetset(TestingWidgetSet.NAME)
public class InitiallyDeferredLoading extends AbstractTestUI {
    @Override
    protected void setup(VaadinRequest request) {
        DeferredComponent deferredComponent = new DeferredComponent();
        deferredComponent.setId("deferred");

        addComponent(deferredComponent);
    }

    @Override
    public String getTestDescription() {
        return "This UI contains a component from the deferred bundle. "
                + "It should still be visible as soon as the UI is loaded.";
    }

}