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

import com.vaadin.Application;
import com.vaadin.server.ApplicationContext;
import com.vaadin.server.WebBrowser;

public abstract class AbstractTestApplication extends Application {
    protected abstract String getTestDescription();

    protected abstract Integer getTicketNumber();

    protected WebBrowser getBrowser() {
        ApplicationContext context = getContext();
        WebBrowser webBrowser = context.getBrowser();
        return webBrowser;
    }
}