blob: f51c74d4a86004eb0cc4b9989f15a0ac9358650e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package com.vaadin.tests.components;
import com.vaadin.Application;
import com.vaadin.server.ApplicationContext;
import com.vaadin.server.WebBrowser;
public abstract class AbstractTestCase extends Application.LegacyApplication {
protected abstract String getDescription();
protected abstract Integer getTicketNumber();
protected WebBrowser getBrowser() {
ApplicationContext context = getContext();
WebBrowser webBrowser = context.getBrowser();
return webBrowser;
}
}
|