From: Matti Tahvonen Date: Wed, 16 Sep 2009 13:54:05 +0000 (+0000) Subject: added test case X-Git-Tag: 6.7.0.beta1~2479^2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=34e69863d91c9468e696565c7b406623163e6925;p=vaadin-framework.git added test case svn changeset:8819/svn branch:6.1 --- diff --git a/src/com/vaadin/tests/components/window/SubWindowOrder.java b/src/com/vaadin/tests/components/window/SubWindowOrder.java new file mode 100644 index 0000000000..ca0d4e662e --- /dev/null +++ b/src/com/vaadin/tests/components/window/SubWindowOrder.java @@ -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; + } + +}