blob: 2639e257f562de611fd3d78441746c4a0331e41e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package com.vaadin.tests.components.window;
import com.vaadin.tests.components.panel.PanelTest;
import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.Window;
public class WindowTest extends PanelTest<Window> {
@Override
protected Class<Window> getTestClass() {
return Window.class;
}
@Override
protected void addTestComponent(Window c) {
VerticalLayout layout = new VerticalLayout();
layout.setMargin(true);
c.setContent(layout);
getMainWindow().addWindow(c);
getTestComponents().add(c);
}
}
|