aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/components/datefield/NarrowPopupDateFieldInTable.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/com/vaadin/tests/components/datefield/NarrowPopupDateFieldInTable.java')
-rw-r--r--uitest/src/com/vaadin/tests/components/datefield/NarrowPopupDateFieldInTable.java34
1 files changed, 34 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/components/datefield/NarrowPopupDateFieldInTable.java b/uitest/src/com/vaadin/tests/components/datefield/NarrowPopupDateFieldInTable.java
new file mode 100644
index 0000000000..dab47ebdd9
--- /dev/null
+++ b/uitest/src/com/vaadin/tests/components/datefield/NarrowPopupDateFieldInTable.java
@@ -0,0 +1,34 @@
+package com.vaadin.tests.components.datefield;
+
+import com.vaadin.tests.components.TestBase;
+import com.vaadin.ui.Component;
+import com.vaadin.ui.PopupDateField;
+import com.vaadin.ui.Table;
+
+public class NarrowPopupDateFieldInTable extends TestBase {
+
+ private final Object DATE = "Date";
+
+ @Override
+ public void setup() {
+ PopupDateField df = new PopupDateField();
+ df.setWidth("100%");
+
+ Table t = new Table();
+ t.setWidth("100px");
+ t.addContainerProperty(DATE, Component.class, null);
+ t.addItem(new Object[] { df }, "1");
+ addComponent(t);
+ }
+
+ @Override
+ protected String getDescription() {
+ return "Simple test to ensure a narrow PopupDateField can be used in a Table.";
+ }
+
+ @Override
+ protected Integer getTicketNumber() {
+ return 6166;
+ }
+
+} \ No newline at end of file