aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/components/window/WindowTest.java
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2012-11-14 13:49:47 +0200
committerHenri Sara <hesara@vaadin.com>2012-11-14 13:49:47 +0200
commitaca92f4937cc54f122b20c4bfb6288ee007c9e47 (patch)
tree7d7ee8e0cfa760e5f6b1da15ea8fe088f542540f /uitest/src/com/vaadin/tests/components/window/WindowTest.java
parent1b7a4a1ee9e03f445cbfcbb520a5ac970ccf47de (diff)
downloadvaadin-framework-aca92f4937cc54f122b20c4bfb6288ee007c9e47.tar.gz
vaadin-framework-aca92f4937cc54f122b20c4bfb6288ee007c9e47.zip
Panel and Window based on AbstractSingleComponentContainer (#2924)
Change-Id: I9eb1f40a02dcad0f756ad2518d86ef1c52aa69c2
Diffstat (limited to 'uitest/src/com/vaadin/tests/components/window/WindowTest.java')
-rw-r--r--uitest/src/com/vaadin/tests/components/window/WindowTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/components/window/WindowTest.java b/uitest/src/com/vaadin/tests/components/window/WindowTest.java
index ae3b0f22df..2639e257f5 100644
--- a/uitest/src/com/vaadin/tests/components/window/WindowTest.java
+++ b/uitest/src/com/vaadin/tests/components/window/WindowTest.java
@@ -1,6 +1,7 @@
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> {
@@ -12,6 +13,9 @@ public class WindowTest extends PanelTest<Window> {
@Override
protected void addTestComponent(Window c) {
+ VerticalLayout layout = new VerticalLayout();
+ layout.setMargin(true);
+ c.setContent(layout);
getMainWindow().addWindow(c);
getTestComponents().add(c);
}