From e3e96a674c13eae5516a5d8d2085917a3859e4d0 Mon Sep 17 00:00:00 2001 From: Pekka Hyvönen <pekka@vaadin.com> Date: Mon, 27 Mar 2017 16:06:27 +0300 Subject: Move select all visible to multi selection model interface (#8627) --- .../vaadin/tests/components/grid/GridMultiSelectionModelTest.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'server/src/test') diff --git a/server/src/test/java/com/vaadin/tests/components/grid/GridMultiSelectionModelTest.java b/server/src/test/java/com/vaadin/tests/components/grid/GridMultiSelectionModelTest.java index c45bad66f0..3b107d6c9b 100644 --- a/server/src/test/java/com/vaadin/tests/components/grid/GridMultiSelectionModelTest.java +++ b/server/src/test/java/com/vaadin/tests/components/grid/GridMultiSelectionModelTest.java @@ -34,8 +34,9 @@ import com.vaadin.ui.Grid; import com.vaadin.ui.Grid.SelectionMode; import com.vaadin.ui.UI; import com.vaadin.ui.components.grid.GridSelectionModel; +import com.vaadin.ui.components.grid.MultiSelectionModel; +import com.vaadin.ui.components.grid.MultiSelectionModel.SelectAllCheckBoxVisibility; import com.vaadin.ui.components.grid.MultiSelectionModelImpl; -import com.vaadin.ui.components.grid.MultiSelectionModelImpl.SelectAllCheckBoxVisibility; import elemental.json.JsonObject; @@ -616,7 +617,7 @@ public class GridMultiSelectionModelTest { UI ui = new MockUI(); Grid<String> grid = new Grid<>(); - MultiSelectionModelImpl<String> model = (MultiSelectionModelImpl<String>) grid + MultiSelectionModel<String> model = (MultiSelectionModel<String>) grid .setSelectionMode(SelectionMode.MULTI); ui.setContent(grid); @@ -655,7 +656,7 @@ public class GridMultiSelectionModelTest { UI ui = new MockUI(); ui.setContent(grid); - MultiSelectionModelImpl<String> model = (MultiSelectionModelImpl<String>) grid + MultiSelectionModel<String> model = (MultiSelectionModel<String>) grid .setSelectionMode(SelectionMode.MULTI); // no items yet, default data provider is empty not in memory one -- cgit v1.2.3