aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/main/java/com/vaadin/tests/dd
diff options
context:
space:
mode:
authorPekka Hyvönen <pekka@vaadin.com>2016-10-07 16:06:01 +0300
committerVaadin Code Review <review@vaadin.com>2016-10-13 06:41:15 +0000
commitfb4248119d77a6865a42ffdf0d80f10d683769a5 (patch)
tree60692a31b04a85958fefb6959e06e7039a3ea879 /uitest/src/main/java/com/vaadin/tests/dd
parentb66631c3dc5d79caa6a78274d2ea4107ccae7973 (diff)
downloadvaadin-framework-fb4248119d77a6865a42ffdf0d80f10d683769a5.tar.gz
vaadin-framework-fb4248119d77a6865a42ffdf0d80f10d683769a5.zip
Remove AbstractComponent.immediate
All components are now in immediate mode by default. V7 compatibility components will use AbstractLegacyComponent that has immediate. V7 ColorPickerPopup will not have setImmediate, since it extends V8 Window, which is not in V7 compatibility packages. Removed OutOfSync and ResynchronizeAfterAsyncRemoval Tests, since those tested UI in not immediate mode, which is invalid now. Removed WindowResizeListener, LazyWindowResize, test UIs, since both used immediate and there were no test run for either. Change-Id: Ie1c8cfa4c48461db944ff9b13efe8473c5a3298f
Diffstat (limited to 'uitest/src/main/java/com/vaadin/tests/dd')
-rw-r--r--uitest/src/main/java/com/vaadin/tests/dd/TreeDragStart.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/uitest/src/main/java/com/vaadin/tests/dd/TreeDragStart.java b/uitest/src/main/java/com/vaadin/tests/dd/TreeDragStart.java
index eec30f5b40..6ebffe7029 100644
--- a/uitest/src/main/java/com/vaadin/tests/dd/TreeDragStart.java
+++ b/uitest/src/main/java/com/vaadin/tests/dd/TreeDragStart.java
@@ -33,13 +33,11 @@ public class TreeDragStart extends TestBase {
final Tree tree = new Tree("Inventory");
CheckBox checkBox = new CheckBox("Enabled");
- checkBox.setImmediate(true);
checkBox.setValue(true);
checkBox.addValueChangeListener(
event -> tree.setEnabled(!tree.isEnabled()));
addComponent(checkBox);
checkBox = new CheckBox("Drag start");
- checkBox.setImmediate(true);
checkBox.setValue(true);
checkBox.addValueChangeListener(event -> {
if (event.getValue()) {
@@ -99,8 +97,7 @@ public class TreeDragStart extends TestBase {
if (sourceItemId instanceof BeanItem<?>) {
beanItem = (BeanItem<?>) sourceItemId;
} else if (sourceItemId instanceof InventoryObject) {
- beanItem = new BeanItem<>(
- (InventoryObject) sourceItemId);
+ beanItem = new BeanItem<>((InventoryObject) sourceItemId);
}
// Remove the item from the source container and