blob: 6f539af016f74541b19e89394cafa1234f957a81 (
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.LegacyApplication;
import com.vaadin.server.ApplicationContext;
import com.vaadin.server.WebBrowser;
public abstract class AbstractTestCase extends LegacyApplication {
protected abstract String getDescription();
protected abstract Integer getTicketNumber();
protected WebBrowser getBrowser() {
ApplicationContext context = getContext();
WebBrowser webBrowser = context.getBrowser();
return webBrowser;
}
}
|