summaryrefslogtreecommitdiffstats
path: root/uitest/src
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2015-01-09 14:50:01 +0200
committerVaadin Code Review <review@vaadin.com>2015-01-11 14:34:30 +0000
commit0c41a0271ad996b9c07a16c59e7c3af0f8f4c324 (patch)
tree6831185306f899d5179d36f7cfcd701f2629b87f /uitest/src
parentb16e3db2e5e46f2881353f2f269c61df7052c21a (diff)
downloadvaadin-framework-0c41a0271ad996b9c07a16c59e7c3af0f8f4c324.tar.gz
vaadin-framework-0c41a0271ad996b9c07a16c59e7c3af0f8f4c324.zip
A few small renames and typo fixes for Grid
* SortNotifier.removeSortistener -> removeSortListener * DisabledGridClientTest now extends GridBasicClientFeatures * GridServerRpc.selectionChange -> select Change-Id: Id01b1d51f84c996444de28b262df3db7a6c35a09
Diffstat (limited to 'uitest/src')
-rw-r--r--uitest/src/com/vaadin/tests/components/grid/basicfeatures/client/DisabledGridClientTest.java4
-rw-r--r--uitest/src/com/vaadin/tests/widgetset/client/grid/GridBasicClientFeaturesWidget.java8
2 files changed, 10 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/client/DisabledGridClientTest.java b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/client/DisabledGridClientTest.java
index 0038d3dabe..63d031bc85 100644
--- a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/client/DisabledGridClientTest.java
+++ b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/client/DisabledGridClientTest.java
@@ -24,9 +24,9 @@ import org.openqa.selenium.Keys;
import org.openqa.selenium.interactions.Actions;
import com.vaadin.testbench.elements.GridElement.GridRowElement;
-import com.vaadin.tests.components.grid.basicfeatures.GridBasicFeaturesTest;
+import com.vaadin.tests.components.grid.basicfeatures.GridBasicClientFeaturesTest;
-public class DisabledGridClientTest extends GridBasicFeaturesTest {
+public class DisabledGridClientTest extends GridBasicClientFeaturesTest {
@Before
public void setUp() {
diff --git a/uitest/src/com/vaadin/tests/widgetset/client/grid/GridBasicClientFeaturesWidget.java b/uitest/src/com/vaadin/tests/widgetset/client/grid/GridBasicClientFeaturesWidget.java
index b5b416eeb1..64fc60e488 100644
--- a/uitest/src/com/vaadin/tests/widgetset/client/grid/GridBasicClientFeaturesWidget.java
+++ b/uitest/src/com/vaadin/tests/widgetset/client/grid/GridBasicClientFeaturesWidget.java
@@ -606,6 +606,14 @@ public class GridBasicClientFeaturesWidget extends
}
}, "Component", "State", "Frozen column count");
}
+
+ addMenuCommand("Enabled", new ScheduledCommand() {
+
+ @Override
+ public void execute() {
+ grid.setEnabled(!grid.isEnabled());
+ }
+ }, "Component", "State");
}
private void createColumnsMenu() {