]> source.dussan.org Git - vaadin-framework.git/commitdiff
Moved testcase to correct package
authorArtur Signell <artur.signell@itmill.com>
Fri, 21 Aug 2009 13:45:30 +0000 (13:45 +0000)
committerArtur Signell <artur.signell@itmill.com>
Fri, 21 Aug 2009 13:45:30 +0000 (13:45 +0000)
svn changeset:8524/svn branch:6.1

src/com/example/dialogtest/SubwindowInvalidLayout.java [deleted file]
src/com/vaadin/tests/components/window/SubwindowInvalidLayout.java [new file with mode: 0644]

diff --git a/src/com/example/dialogtest/SubwindowInvalidLayout.java b/src/com/example/dialogtest/SubwindowInvalidLayout.java
deleted file mode 100644 (file)
index 95c4675..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-package com.example.dialogtest;\r
-\r
-import com.vaadin.tests.components.TestBase;\r
-import com.vaadin.ui.Button;\r
-import com.vaadin.ui.VerticalLayout;\r
-import com.vaadin.ui.Window;\r
-\r
-public class SubwindowInvalidLayout extends TestBase {\r
-\r
-    @Override\r
-    protected String getDescription() {\r
-        return "The subwindow contains an invalid layout, which analyze layouts should detect.";\r
-    }\r
-\r
-    @Override\r
-    protected Integer getTicketNumber() {\r
-        return 3096;\r
-    }\r
-\r
-    @Override\r
-    protected void setup() {\r
-        Window window = new Window("Sub window");\r
-        window.center();\r
-\r
-        VerticalLayout vl = new VerticalLayout();\r
-        vl.setWidth(null);\r
-        Button b = new Button("A 100% wide button, invalid");\r
-        b.setWidth("100%");\r
-        vl.addComponent(b);\r
-        window.addComponent(vl);\r
-\r
-        getMainWindow().addWindow(window);\r
-    }\r
-\r
-}\r
diff --git a/src/com/vaadin/tests/components/window/SubwindowInvalidLayout.java b/src/com/vaadin/tests/components/window/SubwindowInvalidLayout.java
new file mode 100644 (file)
index 0000000..aeab7f6
--- /dev/null
@@ -0,0 +1,35 @@
+package com.vaadin.tests.components.window;\r
+\r
+import com.vaadin.tests.components.TestBase;\r
+import com.vaadin.ui.Button;\r
+import com.vaadin.ui.VerticalLayout;\r
+import com.vaadin.ui.Window;\r
+\r
+public class SubwindowInvalidLayout extends TestBase {\r
+\r
+    @Override\r
+    protected String getDescription() {\r
+        return "The subwindow contains an invalid layout, which analyze layouts should detect.";\r
+    }\r
+\r
+    @Override\r
+    protected Integer getTicketNumber() {\r
+        return 3096;\r
+    }\r
+\r
+    @Override\r
+    protected void setup() {\r
+        Window window = new Window("Sub window");\r
+        window.center();\r
+\r
+        VerticalLayout vl = new VerticalLayout();\r
+        vl.setWidth(null);\r
+        Button b = new Button("A 100% wide button, invalid");\r
+        b.setWidth("100%");\r
+        vl.addComponent(b);\r
+        window.addComponent(vl);\r
+\r
+        getMainWindow().addWindow(window);\r
+    }\r
+\r
+}\r