aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/components/AbstractTestUIProvider.java
blob: 9ad6bbf56f9945774d25ab3adf06e9b43aa5a0b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.vaadin.tests.components;

import com.vaadin.server.UIProvider;
import com.vaadin.server.VaadinSession;
import com.vaadin.server.WebBrowser;

public abstract class AbstractTestUIProvider extends UIProvider {
    protected abstract String getTestDescription();

    protected abstract Integer getTicketNumber();

    protected WebBrowser getBrowser() {
        WebBrowser webBrowser = VaadinSession.getCurrent().getBrowser();
        return webBrowser;
    }
}