diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2014-07-07 12:07:43 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2014-07-07 09:45:37 +0000 |
commit | 20e2a3b5eefa03b2d4db8af15e30d1958bc7047f (patch) | |
tree | 8551f09bed60b49031496076d9939caf7f951f19 | |
parent | d19d9dc0fdc0fd45da340c3301e0cd08048c7959 (diff) | |
download | vaadin-framework-20e2a3b5eefa03b2d4db8af15e30d1958bc7047f.tar.gz vaadin-framework-20e2a3b5eefa03b2d4db8af15e30d1958bc7047f.zip |
Fix GridSingleColumnTest & CustomRendererTest
Change-Id: Ifa789542441e2560a57afe372c6b94d5d9e6b7e6
-rw-r--r-- | uitest/src/com/vaadin/tests/components/grid/CustomRenderer.java | 2 | ||||
-rw-r--r-- | uitest/src/com/vaadin/tests/components/grid/GridSingleColumn.java | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/components/grid/CustomRenderer.java b/uitest/src/com/vaadin/tests/components/grid/CustomRenderer.java index 9ac1a03df3..d217829bcb 100644 --- a/uitest/src/com/vaadin/tests/components/grid/CustomRenderer.java +++ b/uitest/src/com/vaadin/tests/components/grid/CustomRenderer.java @@ -24,6 +24,7 @@ import com.vaadin.tests.components.AbstractTestUI; import com.vaadin.tests.widgetset.TestingWidgetSet; import com.vaadin.ui.Label; import com.vaadin.ui.components.grid.Grid; +import com.vaadin.ui.components.grid.Grid.SelectionMode; @Widgetset(TestingWidgetSet.NAME) public class CustomRenderer extends AbstractTestUI { @@ -56,6 +57,7 @@ public class CustomRenderer extends AbstractTestUI { grid.getColumn(INT_ARRAY_PROPERTY).setRenderer(new IntArrayRenderer()); grid.getColumn(VOID_PROPERTY).setRenderer( new RowAwareRenderer(debugLabel)); + grid.setSelectionMode(SelectionMode.NONE); addComponent(grid); addComponent(debugLabel); } diff --git a/uitest/src/com/vaadin/tests/components/grid/GridSingleColumn.java b/uitest/src/com/vaadin/tests/components/grid/GridSingleColumn.java index 56fe904093..75b83ea3aa 100644 --- a/uitest/src/com/vaadin/tests/components/grid/GridSingleColumn.java +++ b/uitest/src/com/vaadin/tests/components/grid/GridSingleColumn.java @@ -20,6 +20,7 @@ import com.vaadin.data.util.IndexedContainer; import com.vaadin.server.VaadinRequest; import com.vaadin.tests.components.AbstractTestUI; import com.vaadin.ui.components.grid.Grid; +import com.vaadin.ui.components.grid.Grid.SelectionMode; import com.vaadin.ui.components.grid.GridColumn; public class GridSingleColumn extends AbstractTestUI { @@ -36,6 +37,7 @@ public class GridSingleColumn extends AbstractTestUI { } Grid grid = new Grid(indexedContainer); + grid.setSelectionMode(SelectionMode.NONE); GridColumn column = grid.getColumn("column1"); |