diff options
author | Ahmed Ashour <asashour@yahoo.com> | 2017-09-20 12:16:21 +0200 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-09-20 13:16:21 +0300 |
commit | 8657a5ff49f22d87005e93771415129dfc657d88 (patch) | |
tree | 67e55d72684c6dbf7b247a00bff4edd4fcde7a01 /uitest | |
parent | f3ae6c2c2b1245d20d94cb4eeee4efee8c2b06c6 (diff) | |
download | vaadin-framework-8657a5ff49f22d87005e93771415129dfc657d88.tar.gz vaadin-framework-8657a5ff49f22d87005e93771415129dfc657d88.zip |
Remove unused methods (#10020)
Diffstat (limited to 'uitest')
7 files changed, 0 insertions, 67 deletions
diff --git a/uitest/src/main/java/com/vaadin/tests/components/menubar/MenuBarTooltipsNearEdge.java b/uitest/src/main/java/com/vaadin/tests/components/menubar/MenuBarTooltipsNearEdge.java index f0717bbada..4af8820d27 100644 --- a/uitest/src/main/java/com/vaadin/tests/components/menubar/MenuBarTooltipsNearEdge.java +++ b/uitest/src/main/java/com/vaadin/tests/components/menubar/MenuBarTooltipsNearEdge.java @@ -63,17 +63,6 @@ public class MenuBarTooltipsNearEdge extends AbstractReindeerTestUI { return menu; } - private Command buildCommand() { - Command command = new Command() { - - @Override - public void menuSelected(MenuItem selectedItem) { - - } - }; - return command; - } - /* * (non-Javadoc) * diff --git a/uitest/src/main/java/com/vaadin/tests/components/menubar/MenuTooltip.java b/uitest/src/main/java/com/vaadin/tests/components/menubar/MenuTooltip.java index 213544c900..59e5cf7734 100644 --- a/uitest/src/main/java/com/vaadin/tests/components/menubar/MenuTooltip.java +++ b/uitest/src/main/java/com/vaadin/tests/components/menubar/MenuTooltip.java @@ -55,17 +55,6 @@ public class MenuTooltip extends AbstractReindeerTestUI { return menu; } - private Command buildCommand() { - Command command = new Command() { - - @Override - public void menuSelected(MenuItem selectedItem) { - - } - }; - return command; - } - /* * (non-Javadoc) * diff --git a/uitest/src/main/java/com/vaadin/tests/elements/ComponentElementGetValue.java b/uitest/src/main/java/com/vaadin/tests/elements/ComponentElementGetValue.java index 11c2ac2840..819548cff8 100644 --- a/uitest/src/main/java/com/vaadin/tests/elements/ComponentElementGetValue.java +++ b/uitest/src/main/java/com/vaadin/tests/elements/ComponentElementGetValue.java @@ -63,14 +63,6 @@ public class ComponentElementGetValue extends AbstractTestUI { public static final String DATEFIELD_VALUE_CHANGE = "dateFieldValueChange"; public static final String MULTI_SELECT_VALUE_CHANGE = "multiSelectValueChange"; - private List<String> createTestItems() { - List<String> options = new ArrayList<String>(); - options.add("item 1"); - options.add(TEST_STRING_VALUE); - options.add("item 3"); - return options; - } - private void addSingleSelectComponents() { List<String> options = new ArrayList<String>(); options.add("item 1"); diff --git a/uitest/src/main/java/com/vaadin/tests/themes/valo/CalendarTest.java b/uitest/src/main/java/com/vaadin/tests/themes/valo/CalendarTest.java index 6155be7f93..ad5a13e744 100644 --- a/uitest/src/main/java/com/vaadin/tests/themes/valo/CalendarTest.java +++ b/uitest/src/main/java/com/vaadin/tests/themes/valo/CalendarTest.java @@ -10,7 +10,6 @@ import com.vaadin.annotations.Theme; import com.vaadin.data.Binder; import com.vaadin.data.ValidationException; import com.vaadin.navigator.View; -import com.vaadin.navigator.ViewChangeListener.ViewChangeEvent; import com.vaadin.ui.Alignment; import com.vaadin.ui.Button; import com.vaadin.ui.Button.ClickEvent; @@ -1195,23 +1194,4 @@ public class CalendarTest extends GridLayout implements View { return calendarClone.getTime(); } - private static Date getStartOfDay(java.util.Calendar calendar, Date date) { - java.util.Calendar calendarClone = (java.util.Calendar) calendar - .clone(); - - calendarClone.setTime(date); - calendarClone.set(java.util.Calendar.MILLISECOND, 0); - calendarClone.set(java.util.Calendar.SECOND, 0); - calendarClone.set(java.util.Calendar.MINUTE, 0); - calendarClone.set(java.util.Calendar.HOUR, 0); - calendarClone.set(java.util.Calendar.HOUR_OF_DAY, 0); - - return calendarClone.getTime(); - } - - @Override - public void enter(ViewChangeEvent event) { - // TODO Auto-generated method stub - - } } diff --git a/uitest/src/test/java/com/vaadin/tests/components/textfield/SelectionAndCursorPositionTest.java b/uitest/src/test/java/com/vaadin/tests/components/textfield/SelectionAndCursorPositionTest.java index 8b540b1095..950c64c8b2 100644 --- a/uitest/src/test/java/com/vaadin/tests/components/textfield/SelectionAndCursorPositionTest.java +++ b/uitest/src/test/java/com/vaadin/tests/components/textfield/SelectionAndCursorPositionTest.java @@ -72,11 +72,6 @@ public class SelectionAndCursorPositionTest extends SingleBrowserTest { getSelection(textField)); } - private void clearSelection() { - setSelectionRange(0, 0); - - } - private WebElement getSelectAll() { return findElement(By.id(SelectionAndCursorPosition.SELECT_ALL_ID)); } diff --git a/uitest/src/test/java/com/vaadin/tests/tooltip/TooltipInWindowTest.java b/uitest/src/test/java/com/vaadin/tests/tooltip/TooltipInWindowTest.java index 4b8db08736..b005fd07a1 100644 --- a/uitest/src/test/java/com/vaadin/tests/tooltip/TooltipInWindowTest.java +++ b/uitest/src/test/java/com/vaadin/tests/tooltip/TooltipInWindowTest.java @@ -57,11 +57,4 @@ public class TooltipInWindowTest extends TooltipTest { + tooltipX + " < " + textfieldX + ")", tooltipX, textfieldX); } - private void ensureHiddenTooltipPositionedCorrectly() { - int tooltipX = getTooltipContainerElement().getLocation().getX(); - assertLessThanOrEqual( - "Tooltip should be positioned outside of viewport (was at " - + tooltipX + ")", - tooltipX, -1000); - } } diff --git a/uitest/src/test/java/com/vaadin/v7/tests/components/grid/GridClientRenderers.java b/uitest/src/test/java/com/vaadin/v7/tests/components/grid/GridClientRenderers.java index ba8970d167..c120e17262 100644 --- a/uitest/src/test/java/com/vaadin/v7/tests/components/grid/GridClientRenderers.java +++ b/uitest/src/test/java/com/vaadin/v7/tests/components/grid/GridClientRenderers.java @@ -274,9 +274,4 @@ public class GridClientRenderers extends MultiBrowserTest { return $(MyClientGridElement.class).first(); } - private void addColumn(Renderers renderer) { - // Add widget renderer column - $(NativeSelectElement.class).first().selectByText(renderer.toString()); - $(NativeButtonElement.class).caption("Add").first().click(); - } } |