]> source.dussan.org Git - vaadin-framework.git/commitdiff
added test case
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Wed, 16 Sep 2009 13:54:05 +0000 (13:54 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Wed, 16 Sep 2009 13:54:05 +0000 (13:54 +0000)
svn changeset:8819/svn branch:6.1

src/com/vaadin/tests/components/window/SubWindowOrder.java [new file with mode: 0644]

diff --git a/src/com/vaadin/tests/components/window/SubWindowOrder.java b/src/com/vaadin/tests/components/window/SubWindowOrder.java
new file mode 100644 (file)
index 0000000..ca0d4e6
--- /dev/null
@@ -0,0 +1,28 @@
+package com.vaadin.tests.components.window;
+
+import com.vaadin.tests.components.TestBase;
+import com.vaadin.ui.HorizontalLayout;
+import com.vaadin.ui.Window;
+
+public class SubWindowOrder extends TestBase {
+
+    @Override
+    protected void setup() {
+        Window mainWindow = getMainWindow();
+        for (int i = 1; i <= 10; i++) {
+            Window dialog = new Window("Dialog " + i, new HorizontalLayout());
+            mainWindow.addWindow(dialog);
+        }
+    }
+
+    @Override
+    protected String getDescription() {
+        return "Subwindows should be rendered in the same order as they are added.";
+    }
+
+    @Override
+    protected Integer getTicketNumber() {
+        return 3363;
+    }
+
+}