]> source.dussan.org Git - vaadin-framework.git/commitdiff
Test case for #6870
authorJohannes Dahlström <johannes.dahlstrom@vaadin.com>
Mon, 19 Dec 2011 14:58:59 +0000 (14:58 +0000)
committerJohannes Dahlström <johannes.dahlstrom@vaadin.com>
Mon, 19 Dec 2011 14:58:59 +0000 (14:58 +0000)
svn changeset:22445/svn branch:6.7

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

index f7d85f1a3c85b22394009b43ffbee6eb23d2dabb..90a91910365f281bea15d43604760e06ccbd1dde 100644 (file)
@@ -10,14 +10,10 @@ public class TableHeaderZoom extends TestBase {
     @Override
     protected void setup() {
         Table table = new Table();
-        table.setHeight("400px");
-        table.setWidth("400px");
+        table.setHeight("100px");
+        table.setWidth("200px");
+        table.setEnabled(false);
         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());