aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/components/tree
diff options
context:
space:
mode:
authorMarkus Koivisto <markus@vaadin.com>2014-08-28 15:46:04 +0300
committerMarkus Koivisto <markus@vaadin.com>2014-08-28 15:47:39 +0300
commit1e8a4199fd40641b38c056bc391c98c6fcb2917b (patch)
treecd25a8a378a23af9cb666d44bc4d313cb88a1928 /uitest/src/com/vaadin/tests/components/tree
parent53c826f3851e03af5f199c7736d8aa7f0b854a95 (diff)
downloadvaadin-framework-1e8a4199fd40641b38c056bc391c98c6fcb2917b.tar.gz
vaadin-framework-1e8a4199fd40641b38c056bc391c98c6fcb2917b.zip
Revert "Make getMouseEvent() method available in the TargetDetailsImpl (#13416)."
This reverts commit 9ea4409bbe7079887a5a3c497494d4986ddabefd. The commit fails its own tests on IE and Firefox. Change-Id: I443f8d1b9ce322124b19d74bbeb2e6780bbff201
Diffstat (limited to 'uitest/src/com/vaadin/tests/components/tree')
-rw-r--r--uitest/src/com/vaadin/tests/components/tree/DndTreeTargetDetails.java48
-rw-r--r--uitest/src/com/vaadin/tests/components/tree/DndTreeTargetDetailsTest.java37
2 files changed, 0 insertions, 85 deletions
diff --git a/uitest/src/com/vaadin/tests/components/tree/DndTreeTargetDetails.java b/uitest/src/com/vaadin/tests/components/tree/DndTreeTargetDetails.java
deleted file mode 100644
index 853e6fe35e..0000000000
--- a/uitest/src/com/vaadin/tests/components/tree/DndTreeTargetDetails.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Copyright 2000-2013 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.tests.components.tree;
-
-import com.vaadin.server.VaadinRequest;
-import com.vaadin.tests.components.table.DndTableTargetDetails;
-import com.vaadin.ui.Tree;
-
-/**
- * Test UI for tree as a drop target: AbstractSelectTargetDetails should provide
- * getMouseEvent() method.
- *
- * @since 7.3
- * @author Vaadin Ltd
- */
-public class DndTreeTargetDetails extends DndTableTargetDetails {
-
- @Override
- protected void setup(VaadinRequest request) {
- createSourceTable();
-
- Tree target = new Tree();
- target.addStyleName("target");
- target.setWidth(100, Unit.PERCENTAGE);
- target.addItem("treeItem");
- target.setDropHandler(new TestDropHandler());
- addComponent(target);
- }
-
- @Override
- protected String getTestDescription() {
- return "Mouse details should be available for AbstractSelectTargetDetails DnD when tree is a target";
- }
-
-}
diff --git a/uitest/src/com/vaadin/tests/components/tree/DndTreeTargetDetailsTest.java b/uitest/src/com/vaadin/tests/components/tree/DndTreeTargetDetailsTest.java
deleted file mode 100644
index 384034b70f..0000000000
--- a/uitest/src/com/vaadin/tests/components/tree/DndTreeTargetDetailsTest.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright 2000-2013 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.tests.components.tree;
-
-import org.openqa.selenium.WebElement;
-
-import com.vaadin.testbench.By;
-import com.vaadin.tests.components.table.DndTableTargetDetailsTest;
-
-/**
- * Test for mouse details in AbstractSelectTargetDetails class when DnD target
- * is a tree.
- *
- * @since 7.3
- * @author Vaadin Ltd
- */
-public class DndTreeTargetDetailsTest extends DndTableTargetDetailsTest {
-
- @Override
- protected WebElement getTarget() {
- return driver.findElement(By.className("target"));
- }
-
-}