]> source.dussan.org Git - vaadin-framework.git/commitdiff
Merged test case from [11678]
authorArtur Signell <artur.signell@itmill.com>
Fri, 9 Apr 2010 14:09:56 +0000 (14:09 +0000)
committerArtur Signell <artur.signell@itmill.com>
Fri, 9 Apr 2010 14:09:56 +0000 (14:09 +0000)
svn changeset:12447/svn branch:6.3

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

diff --git a/tests/src/com/vaadin/tests/components/window/ModalWindowNativeSelect.java b/tests/src/com/vaadin/tests/components/window/ModalWindowNativeSelect.java
new file mode 100644 (file)
index 0000000..d7672a8
--- /dev/null
@@ -0,0 +1,32 @@
+package com.vaadin.tests.components.window;\r
+\r
+import com.vaadin.tests.components.TestBase;\r
+import com.vaadin.ui.NativeSelect;\r
+import com.vaadin.ui.Window;\r
+\r
+public class ModalWindowNativeSelect extends TestBase {\r
+\r
+    @Override\r
+    protected void setup() {\r
+        NativeSelect ns = new NativeSelect();\r
+\r
+        Window modalWindow = new Window();\r
+        modalWindow.setModal(true);\r
+        modalWindow.center();\r
+\r
+        addComponent(ns);\r
+        getMainWindow().addWindow(modalWindow);\r
+\r
+    }\r
+\r
+    @Override\r
+    protected String getDescription() {\r
+        return "The native select should be behind the modality curtain and user should not be able to interact with it";\r
+    }\r
+\r
+    @Override\r
+    protected Integer getTicketNumber() {\r
+        return 4261;\r
+    }\r
+\r
+}
\ No newline at end of file