diff options
author | Artur Signell <artur.signell@itmill.com> | 2009-12-14 13:04:02 +0000 |
---|---|---|
committer | Artur Signell <artur.signell@itmill.com> | 2009-12-14 13:04:02 +0000 |
commit | 3bd3924495386753afe47a15ec047837b5fa4c90 (patch) | |
tree | 3b5466699eb9a8501e24461ba2eed228661c301a /tests | |
parent | 23d56baff322c593436cc4db00661f401559e923 (diff) | |
download | vaadin-framework-3bd3924495386753afe47a15ec047837b5fa4c90.tar.gz vaadin-framework-3bd3924495386753afe47a15ec047837b5fa4c90.zip |
Test case for #3828
svn changeset:10283/svn branch:6.2
Diffstat (limited to 'tests')
-rw-r--r-- | tests/screenshots/errors/TextFieldInLayoutInTable_Windows_Chrome_3_1.png | bin | 0 -> 3780 bytes | |||
-rw-r--r-- | tests/screenshots/errors/TextFieldInLayoutInTable_Windows_Firefox_3_1.png | bin | 0 -> 3240 bytes | |||
-rw-r--r-- | tests/screenshots/errors/TextFieldInLayoutInTable_Windows_InternetExplorer_6_1.png | bin | 0 -> 4103 bytes | |||
-rw-r--r-- | tests/screenshots/errors/TextFieldInLayoutInTable_Windows_InternetExplorer_7_1.png | bin | 0 -> 4521 bytes | |||
-rw-r--r-- | tests/screenshots/errors/TextFieldInLayoutInTable_Windows_InternetExplorer_8_1.png | bin | 0 -> 3373 bytes | |||
-rw-r--r-- | tests/screenshots/errors/TextFieldInLayoutInTable_Windows_Opera_10_1.png | bin | 0 -> 3353 bytes | |||
-rw-r--r-- | tests/screenshots/errors/TextFieldInLayoutInTable_Windows_Safari_4_1.png | bin | 0 -> 3495 bytes | |||
-rw-r--r-- | tests/src/com/vaadin/tests/components/textfield/TextFieldInLayoutInTable.html | 32 | ||||
-rw-r--r-- | tests/src/com/vaadin/tests/components/textfield/TextFieldInLayoutInTable.java | 33 |
9 files changed, 65 insertions, 0 deletions
diff --git a/tests/screenshots/errors/TextFieldInLayoutInTable_Windows_Chrome_3_1.png b/tests/screenshots/errors/TextFieldInLayoutInTable_Windows_Chrome_3_1.png Binary files differnew file mode 100644 index 0000000000..c76ade2cf0 --- /dev/null +++ b/tests/screenshots/errors/TextFieldInLayoutInTable_Windows_Chrome_3_1.png diff --git a/tests/screenshots/errors/TextFieldInLayoutInTable_Windows_Firefox_3_1.png b/tests/screenshots/errors/TextFieldInLayoutInTable_Windows_Firefox_3_1.png Binary files differnew file mode 100644 index 0000000000..c640012911 --- /dev/null +++ b/tests/screenshots/errors/TextFieldInLayoutInTable_Windows_Firefox_3_1.png diff --git a/tests/screenshots/errors/TextFieldInLayoutInTable_Windows_InternetExplorer_6_1.png b/tests/screenshots/errors/TextFieldInLayoutInTable_Windows_InternetExplorer_6_1.png Binary files differnew file mode 100644 index 0000000000..733d481c9b --- /dev/null +++ b/tests/screenshots/errors/TextFieldInLayoutInTable_Windows_InternetExplorer_6_1.png diff --git a/tests/screenshots/errors/TextFieldInLayoutInTable_Windows_InternetExplorer_7_1.png b/tests/screenshots/errors/TextFieldInLayoutInTable_Windows_InternetExplorer_7_1.png Binary files differnew file mode 100644 index 0000000000..aff8fcb7dd --- /dev/null +++ b/tests/screenshots/errors/TextFieldInLayoutInTable_Windows_InternetExplorer_7_1.png diff --git a/tests/screenshots/errors/TextFieldInLayoutInTable_Windows_InternetExplorer_8_1.png b/tests/screenshots/errors/TextFieldInLayoutInTable_Windows_InternetExplorer_8_1.png Binary files differnew file mode 100644 index 0000000000..e7b007d062 --- /dev/null +++ b/tests/screenshots/errors/TextFieldInLayoutInTable_Windows_InternetExplorer_8_1.png diff --git a/tests/screenshots/errors/TextFieldInLayoutInTable_Windows_Opera_10_1.png b/tests/screenshots/errors/TextFieldInLayoutInTable_Windows_Opera_10_1.png Binary files differnew file mode 100644 index 0000000000..0da245d006 --- /dev/null +++ b/tests/screenshots/errors/TextFieldInLayoutInTable_Windows_Opera_10_1.png diff --git a/tests/screenshots/errors/TextFieldInLayoutInTable_Windows_Safari_4_1.png b/tests/screenshots/errors/TextFieldInLayoutInTable_Windows_Safari_4_1.png Binary files differnew file mode 100644 index 0000000000..55ecc25000 --- /dev/null +++ b/tests/screenshots/errors/TextFieldInLayoutInTable_Windows_Safari_4_1.png diff --git a/tests/src/com/vaadin/tests/components/textfield/TextFieldInLayoutInTable.html b/tests/src/com/vaadin/tests/components/textfield/TextFieldInLayoutInTable.html new file mode 100644 index 0000000000..d3ca502b60 --- /dev/null +++ b/tests/src/com/vaadin/tests/components/textfield/TextFieldInLayoutInTable.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="http://artur-laptop.office.itmill.com:8888/" /> +<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/TextFieldInLayoutInTable</td> + <td></td> +</tr> +<tr> + <td>waitForVaadin</td> + <td></td> + <td></td> +</tr> +<tr> + <td>screenCapture</td> + <td></td> + <td></td> +</tr> + +</tbody></table> +</body> +</html> diff --git a/tests/src/com/vaadin/tests/components/textfield/TextFieldInLayoutInTable.java b/tests/src/com/vaadin/tests/components/textfield/TextFieldInLayoutInTable.java new file mode 100644 index 0000000000..b5619d16e3 --- /dev/null +++ b/tests/src/com/vaadin/tests/components/textfield/TextFieldInLayoutInTable.java @@ -0,0 +1,33 @@ +package com.vaadin.tests.components.textfield;
+import com.vaadin.Application;
+import com.vaadin.ui.Component;
+import com.vaadin.ui.Panel;
+import com.vaadin.ui.Table;
+import com.vaadin.ui.TextField;
+import com.vaadin.ui.VerticalLayout;
+import com.vaadin.ui.Window;
+
+@SuppressWarnings("serial")
+public class TextFieldInLayoutInTable extends Application {
+
+ @Override
+ public void init() {
+
+ final Window mainWindow = new Window(this.getClass().getName());
+ setMainWindow(mainWindow);
+
+ final Table table = new Table();
+ table.addContainerProperty("column1", Component.class, null);
+ final Panel panel = new Panel("Panel");
+ ((VerticalLayout) panel.getContent()).setMargin(false);
+ VerticalLayout vl = new VerticalLayout();
+ final TextField textField = new TextField();
+ vl.addComponent(textField);
+
+ table.addItem(new Object[] { vl }, 1);
+
+ table.setSizeFull();
+ mainWindow.addComponent(table);
+ }
+
+}
|