diff options
author | Johannes Dahlström <johannes.dahlstrom@vaadin.com> | 2011-12-30 13:45:56 +0000 |
---|---|---|
committer | Johannes Dahlström <johannes.dahlstrom@vaadin.com> | 2011-12-30 13:45:56 +0000 |
commit | 5be5334eb4c85f1ebaf1baece3296b7c9e6fb268 (patch) | |
tree | 2eba95e244f2cb6488d2b17a78866493471f780b /tests | |
parent | 6b17598182a7fd2162adf03c21b079569c6d6195 (diff) | |
download | vaadin-framework-5be5334eb4c85f1ebaf1baece3296b7c9e6fb268.tar.gz vaadin-framework-5be5334eb4c85f1ebaf1baece3296b7c9e6fb268.zip |
Some test tweaks for #6870
svn changeset:22502/svn branch:6.7
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testbench/com/vaadin/tests/components/table/TableHeaderZoom.java | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/testbench/com/vaadin/tests/components/table/TableHeaderZoom.java b/tests/testbench/com/vaadin/tests/components/table/TableHeaderZoom.java index 90a9191036..f7d85f1a3c 100644 --- a/tests/testbench/com/vaadin/tests/components/table/TableHeaderZoom.java +++ b/tests/testbench/com/vaadin/tests/components/table/TableHeaderZoom.java @@ -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()); |