summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2009-12-22 08:11:28 +0000
committerArtur Signell <artur.signell@itmill.com>2009-12-22 08:11:28 +0000
commit4d4e4df575aaf4f9917d739ad2b1454d2b02ebb1 (patch)
tree06c705aacf94b4cd7cb0f328b847befeecbd4add /tests
parentb6e1c57f743fc825de8333c07804ef8011f426b6 (diff)
downloadvaadin-framework-4d4e4df575aaf4f9917d739ad2b1454d2b02ebb1.tar.gz
vaadin-framework-4d4e4df575aaf4f9917d739ad2b1454d2b02ebb1.zip
Updated test case for #3710
svn changeset:10505/svn branch:6.2
Diffstat (limited to 'tests')
-rw-r--r--tests/src/com/vaadin/tests/components/form/UndefinedWideFormWithRelativeWideFooter.html32
-rw-r--r--tests/src/com/vaadin/tests/components/form/UndefinedWideFormWithRelativeWideFooter.java (renamed from tests/src/com/vaadin/tests/tickets/Ticket3710.java)7
2 files changed, 36 insertions, 3 deletions
diff --git a/tests/src/com/vaadin/tests/components/form/UndefinedWideFormWithRelativeWideFooter.html b/tests/src/com/vaadin/tests/components/form/UndefinedWideFormWithRelativeWideFooter.html
new file mode 100644
index 0000000000..fbeb0ee2fe
--- /dev/null
+++ b/tests/src/com/vaadin/tests/components/form/UndefinedWideFormWithRelativeWideFooter.html
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>New Test</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">New Test</td></tr>
+</thead><tbody>
+<tr>
+ <td>open</td>
+ <td>/run/com.vaadin.tests.components.form.UndefinedWideFormWithRelativeWideFooter?debug&amp;restartApplication</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForVaadin</td>
+ <td></td>
+ <td></td>
+</tr>
+<tr>
+ <td>screenCapture</td>
+ <td></td>
+ <td>initial</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
diff --git a/tests/src/com/vaadin/tests/tickets/Ticket3710.java b/tests/src/com/vaadin/tests/components/form/UndefinedWideFormWithRelativeWideFooter.java
index 430f3967a0..4c47c8a58d 100644
--- a/tests/src/com/vaadin/tests/tickets/Ticket3710.java
+++ b/tests/src/com/vaadin/tests/components/form/UndefinedWideFormWithRelativeWideFooter.java
@@ -1,4 +1,4 @@
-package com.vaadin.tests.tickets;
+package com.vaadin.tests.components.form;
import com.vaadin.Application;
import com.vaadin.ui.Button;
@@ -8,7 +8,7 @@ import com.vaadin.ui.TextField;
import com.vaadin.ui.Window;
@SuppressWarnings("serial")
-public class Ticket3710 extends Application {
+public class UndefinedWideFormWithRelativeWideFooter extends Application {
@Override
public void init() {
@@ -19,6 +19,8 @@ public class Ticket3710 extends Application {
final Form f = new Form();
w.addComponent(f);
f.setSizeUndefined();
+ f.getLayout().setSizeUndefined();
+
f.setCaption("Test form with a really long caption");
f.addField("foo", new TextField("Foo"));
f.addField("bar", new TextField("A bit longer field caption"));
@@ -30,5 +32,4 @@ public class Ticket3710 extends Application {
hl.setComponentAlignment(b, "r");
f.setFooter(hl);
}
-
}