aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/main/java/com/vaadin/v7
diff options
context:
space:
mode:
authorArtur <artur@vaadin.com>2017-03-06 13:20:35 +0200
committerPekka Hyvönen <pekka@vaadin.com>2017-03-06 13:20:35 +0200
commit42064ade8f01440432792b27ecd16a98f29fb74d (patch)
tree6f6616e856fb8c1d693d45102d8fcdc828f39c32 /uitest/src/main/java/com/vaadin/v7
parent2eea115f410b19ae9b387151240921feac7c0db7 (diff)
downloadvaadin-framework-42064ade8f01440432792b27ecd16a98f29fb74d.tar.gz
vaadin-framework-42064ade8f01440432792b27ecd16a98f29fb74d.zip
Fix exception when no columns are shown (#8733)
* Fix exception when no columns are shown or all columns are frozen Fixes #8329
Diffstat (limited to 'uitest/src/main/java/com/vaadin/v7')
-rw-r--r--uitest/src/main/java/com/vaadin/v7/tests/components/grid/InitialFrozenColumns.java41
1 files changed, 0 insertions, 41 deletions
diff --git a/uitest/src/main/java/com/vaadin/v7/tests/components/grid/InitialFrozenColumns.java b/uitest/src/main/java/com/vaadin/v7/tests/components/grid/InitialFrozenColumns.java
deleted file mode 100644
index 07a41337f2..0000000000
--- a/uitest/src/main/java/com/vaadin/v7/tests/components/grid/InitialFrozenColumns.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright 2000-2016 Vaadin Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-package com.vaadin.v7.tests.components.grid;
-
-import com.vaadin.server.VaadinRequest;
-import com.vaadin.tests.components.AbstractReindeerTestUI;
-import com.vaadin.v7.ui.Grid;
-import com.vaadin.v7.ui.Grid.SelectionMode;
-
-public class InitialFrozenColumns extends AbstractReindeerTestUI {
-
- @Override
- protected void setup(VaadinRequest request) {
- Grid grid = new Grid();
- grid.setSelectionMode(SelectionMode.NONE);
-
- grid.addColumn("foo").setWidth(200);
- grid.addColumn("bar").setWidth(200);
- grid.addColumn("baz").setWidth(200);
-
- grid.addRow("a", "b", "c");
-
- grid.setFrozenColumnCount(2);
-
- addComponent(grid);
- }
-
-}