diff options
author | Artur Signell <artur.signell@itmill.com> | 2009-09-25 11:17:46 +0000 |
---|---|---|
committer | Artur Signell <artur.signell@itmill.com> | 2009-09-25 11:17:46 +0000 |
commit | 24f61fc3044ffba08ad83e3fe5ef9e832526b324 (patch) | |
tree | 95392a1434b36c9677b2f80aa9de0469e0d4e3d0 | |
parent | 1b7ca5421fcf1f66151d990bff765a9579d67804 (diff) | |
download | vaadin-framework-24f61fc3044ffba08ad83e3fe5ef9e832526b324.tar.gz vaadin-framework-24f61fc3044ffba08ad83e3fe5ef9e832526b324.zip |
Test case for #3407
svn changeset:8923/svn branch:6.1
-rw-r--r-- | src/com/vaadin/tests/components/window/FullSizedWindow.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/com/vaadin/tests/components/window/FullSizedWindow.java b/src/com/vaadin/tests/components/window/FullSizedWindow.java new file mode 100644 index 0000000000..3cb5f45712 --- /dev/null +++ b/src/com/vaadin/tests/components/window/FullSizedWindow.java @@ -0,0 +1,31 @@ +package com.vaadin.tests.components.window;
+
+import com.vaadin.tests.components.TestBase;
+import com.vaadin.ui.NativeButton;
+import com.vaadin.ui.Window;
+
+public class FullSizedWindow extends TestBase {
+
+ @Override
+ protected void setup() {
+ Window w = new Window("full sized window");
+ w.setSizeFull();
+ w.getContent().setSizeFull();
+ NativeButton b = new NativeButton("A large button");
+ b.setSizeFull();
+ w.getContent().addComponent(b);
+ getMainWindow().addWindow(w);
+ setTheme("runo");
+ }
+
+ @Override
+ protected String getDescription() {
+ return "A 100%x100% sub window should not produce scrollbars in the main view or in the sub window. The button inside the sub window is 100%x100%, as is the layout";
+ }
+
+ @Override
+ protected Integer getTicketNumber() {
+ return 3407;
+ }
+
+}
|