summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-11-26 19:58:16 +0200
committerArtur Signell <artur@vaadin.com>2012-11-26 20:18:37 +0200
commit515c3993e81025515aefe1af18a5a9bf80ce5686 (patch)
treeed0463240fd9d05a91ebe281001845574a0181b6 /uitest
parentc27a7044bb0ed55eb51b53bd7b2bd9204d614383 (diff)
downloadvaadin-framework-515c3993e81025515aefe1af18a5a9bf80ce5686.tar.gz
vaadin-framework-515c3993e81025515aefe1af18a5a9bf80ce5686.zip
Fix resize of a Window with a single component (#10375)
Change-Id: I04d2d39b61ee5fb841511dd23d6f674089cff916
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/com/vaadin/tests/components/ui/WindowWithLabel.java27
1 files changed, 27 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/components/ui/WindowWithLabel.java b/uitest/src/com/vaadin/tests/components/ui/WindowWithLabel.java
new file mode 100644
index 0000000000..994c0692e0
--- /dev/null
+++ b/uitest/src/com/vaadin/tests/components/ui/WindowWithLabel.java
@@ -0,0 +1,27 @@
+package com.vaadin.tests.components.ui;
+
+import com.vaadin.server.VaadinRequest;
+import com.vaadin.tests.components.AbstractTestUI;
+import com.vaadin.ui.Label;
+import com.vaadin.ui.Window;
+
+public class WindowWithLabel extends AbstractTestUI {
+
+ @Override
+ protected void setup(VaadinRequest request) {
+ setContent(new Label("UI"));
+ Window window = new Window("A window");
+ addWindow(window);
+ }
+
+ @Override
+ protected String getTestDescription() {
+ return "Resize the window. It should work.";
+ }
+
+ @Override
+ protected Integer getTicketNumber() {
+ return 10375;
+ }
+
+}