aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/test
diff options
context:
space:
mode:
authorPekka Hyvönen <pekka@vaadin.com>2017-03-27 16:06:27 +0300
committerAleksi Hietanen <aleksi@vaadin.com>2017-03-27 16:06:27 +0300
commite3e96a674c13eae5516a5d8d2085917a3859e4d0 (patch)
tree06282bc67dd5671cd08d9bfc50b1aa25c1ec45e0 /server/src/test
parentafc697f8d03f85958c995af5f0e74e7a3fd2ff10 (diff)
downloadvaadin-framework-e3e96a674c13eae5516a5d8d2085917a3859e4d0.tar.gz
vaadin-framework-e3e96a674c13eae5516a5d8d2085917a3859e4d0.zip
Move select all visible to multi selection model interface (#8627)
Diffstat (limited to 'server/src/test')
-rw-r--r--server/src/test/java/com/vaadin/tests/components/grid/GridMultiSelectionModelTest.java7
1 files changed, 4 insertions, 3 deletions
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