diff options
author | Pekka Hyvönen <pekka@vaadin.com> | 2016-10-07 16:06:01 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2016-10-13 06:41:15 +0000 |
commit | fb4248119d77a6865a42ffdf0d80f10d683769a5 (patch) | |
tree | 60692a31b04a85958fefb6959e06e7039a3ea879 /uitest/src/main/java/com/vaadin/tests/components/AbstractComponentTest.java | |
parent | b66631c3dc5d79caa6a78274d2ea4107ccae7973 (diff) | |
download | vaadin-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/components/AbstractComponentTest.java')
-rw-r--r-- | uitest/src/main/java/com/vaadin/tests/components/AbstractComponentTest.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/uitest/src/main/java/com/vaadin/tests/components/AbstractComponentTest.java b/uitest/src/main/java/com/vaadin/tests/components/AbstractComponentTest.java index de0f70ef88..e18fabee5b 100644 --- a/uitest/src/main/java/com/vaadin/tests/components/AbstractComponentTest.java +++ b/uitest/src/main/java/com/vaadin/tests/components/AbstractComponentTest.java @@ -228,8 +228,6 @@ public abstract class AbstractComponentTest<T extends AbstractComponent> extends * when overriding. */ protected void createActions() { - createBooleanAction("Immediate", CATEGORY_STATE, true, - immediateCommand); createBooleanAction("Enabled", CATEGORY_STATE, true, enabledCommand); createBooleanAction("Readonly", CATEGORY_STATE, false, readonlyCommand); createBooleanAction("Visible", CATEGORY_STATE, true, visibleCommand); @@ -543,7 +541,7 @@ public abstract class AbstractComponentTest<T extends AbstractComponent> extends } protected boolean isSelected(MenuItem item) { - return (item.getIcon() != null); + return item.getIcon() != null; } private <VALUETYPE> MenuBar.Command singleSelectMenuCommand( @@ -686,8 +684,7 @@ public abstract class AbstractComponentTest<T extends AbstractComponent> extends Registration registration; @Override - public void execute(T c, Boolean enabled, - Object data) { + public void execute(T c, Boolean enabled, Object data) { if (enabled) { registration = addListener.apply(c); } else if (registration != null) { |