summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/TestCaptionWrapper.java
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2012-11-14 15:13:21 +0200
committerHenri Sara <hesara@vaadin.com>2012-11-14 15:13:21 +0200
commit259b441265677906631c923d8fe51f549adfc120 (patch)
treebb44a5bc05eb914d3f9538898900d9605c336e9f /uitest/src/com/vaadin/tests/TestCaptionWrapper.java
parentaca92f4937cc54f122b20c4bfb6288ee007c9e47 (diff)
downloadvaadin-framework-259b441265677906631c923d8fe51f549adfc120.tar.gz
vaadin-framework-259b441265677906631c923d8fe51f549adfc120.zip
Remove Window.addComponent() (#2924)
Change-Id: Ida3269e3cce906fd4b55c5e1049b24e0ff383289
Diffstat (limited to 'uitest/src/com/vaadin/tests/TestCaptionWrapper.java')
-rw-r--r--uitest/src/com/vaadin/tests/TestCaptionWrapper.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/TestCaptionWrapper.java b/uitest/src/com/vaadin/tests/TestCaptionWrapper.java
index a5f7b83c32..ec785c953f 100644
--- a/uitest/src/com/vaadin/tests/TestCaptionWrapper.java
+++ b/uitest/src/com/vaadin/tests/TestCaptionWrapper.java
@@ -105,9 +105,11 @@ public class TestCaptionWrapper extends CustomComponent implements Listener {
test(gridLayout);
populateLayout(gridLayout);
- final Window window = new Window("TEST: Window");
+ VerticalLayout layout = new VerticalLayout();
+ layout.setMargin(true);
+ final Window window = new Window("TEST: Window", layout);
test(window);
- populateLayout((Layout) window.getContent());
+ populateLayout(layout);
}