]> source.dussan.org Git - vaadin-framework.git/commitdiff
Some test tweaks for #6870
authorJohannes Dahlström <johannes.dahlstrom@vaadin.com>
Fri, 30 Dec 2011 13:45:56 +0000 (13:45 +0000)
committerJohannes Dahlström <johannes.dahlstrom@vaadin.com>
Fri, 30 Dec 2011 13:45:56 +0000 (13:45 +0000)
svn changeset:22502/svn branch:6.7

tests/testbench/com/vaadin/tests/components/table/TableHeaderZoom.java

index 90a91910365f281bea15d43604760e06ccbd1dde..f7d85f1a3c85b22394009b43ffbee6eb23d2dabb 100644 (file)
@@ -10,10 +10,14 @@ public class TableHeaderZoom extends TestBase {
     @Override
     protected void setup() {
         Table table = new Table();
-        table.setHeight("100px");
-        table.setWidth("200px");
-        table.setEnabled(false);
+        table.setHeight("400px");
+        table.setWidth("400px");
         table.addContainerProperty("Column 1", String.class, "");
+        table.addContainerProperty("Column 2", String.class, "");
+
+        for (int i = 0; i < 100; ++i) {
+            table.addItem(new Object[] { "" + i, "foo" }, i);
+        }
 
         Window main = getMainWindow();
         main.setContent(new CssLayout());