From: Artur Signell Date: Fri, 21 Aug 2009 13:45:30 +0000 (+0000) Subject: Moved testcase to correct package X-Git-Tag: 6.7.0.beta1~2597 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cc671ebd9b04a285cb9f8148c9bc997c76c41f89;p=vaadin-framework.git Moved testcase to correct package svn changeset:8524/svn branch:6.1 --- diff --git a/src/com/example/dialogtest/SubwindowInvalidLayout.java b/src/com/example/dialogtest/SubwindowInvalidLayout.java deleted file mode 100644 index 95c4675726..0000000000 --- a/src/com/example/dialogtest/SubwindowInvalidLayout.java +++ /dev/null @@ -1,35 +0,0 @@ -package com.example.dialogtest; - -import com.vaadin.tests.components.TestBase; -import com.vaadin.ui.Button; -import com.vaadin.ui.VerticalLayout; -import com.vaadin.ui.Window; - -public class SubwindowInvalidLayout extends TestBase { - - @Override - protected String getDescription() { - return "The subwindow contains an invalid layout, which analyze layouts should detect."; - } - - @Override - protected Integer getTicketNumber() { - return 3096; - } - - @Override - protected void setup() { - Window window = new Window("Sub window"); - window.center(); - - VerticalLayout vl = new VerticalLayout(); - vl.setWidth(null); - Button b = new Button("A 100% wide button, invalid"); - b.setWidth("100%"); - vl.addComponent(b); - window.addComponent(vl); - - getMainWindow().addWindow(window); - } - -} diff --git a/src/com/vaadin/tests/components/window/SubwindowInvalidLayout.java b/src/com/vaadin/tests/components/window/SubwindowInvalidLayout.java new file mode 100644 index 0000000000..aeab7f6c97 --- /dev/null +++ b/src/com/vaadin/tests/components/window/SubwindowInvalidLayout.java @@ -0,0 +1,35 @@ +package com.vaadin.tests.components.window; + +import com.vaadin.tests.components.TestBase; +import com.vaadin.ui.Button; +import com.vaadin.ui.VerticalLayout; +import com.vaadin.ui.Window; + +public class SubwindowInvalidLayout extends TestBase { + + @Override + protected String getDescription() { + return "The subwindow contains an invalid layout, which analyze layouts should detect."; + } + + @Override + protected Integer getTicketNumber() { + return 3096; + } + + @Override + protected void setup() { + Window window = new Window("Sub window"); + window.center(); + + VerticalLayout vl = new VerticalLayout(); + vl.setWidth(null); + Button b = new Button("A 100% wide button, invalid"); + b.setWidth("100%"); + vl.addComponent(b); + window.addComponent(vl); + + getMainWindow().addWindow(window); + } + +}