aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/components/combobox
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2014-12-29 14:11:12 +0200
committerArtur Signell <artur@vaadin.com>2014-12-29 14:12:27 +0200
commit32a5d8f3827fbf0ba2c0c3102f0d818d7b7a3873 (patch)
treea060131679bfeb133934c800b00a01f893feb1bd /uitest/src/com/vaadin/tests/components/combobox
parentb89213ee880dd1197bc7696f6f5a1919c0ff02c1 (diff)
downloadvaadin-framework-32a5d8f3827fbf0ba2c0c3102f0d818d7b7a3873.tar.gz
vaadin-framework-32a5d8f3827fbf0ba2c0c3102f0d818d7b7a3873.zip
Reformat project using Eclipse Luna SR1
Change-Id: I58748499c87d470e70304d882d3227cda5803481
Diffstat (limited to 'uitest/src/com/vaadin/tests/components/combobox')
-rw-r--r--uitest/src/com/vaadin/tests/components/combobox/ComboBoxValueInput.java9
-rw-r--r--uitest/src/com/vaadin/tests/components/combobox/ComboBoxValueInputTest.java5
-rw-r--r--uitest/src/com/vaadin/tests/components/combobox/ComboSelectedValueBeyondTheFirstDropdownPage.java3
3 files changed, 11 insertions, 6 deletions
diff --git a/uitest/src/com/vaadin/tests/components/combobox/ComboBoxValueInput.java b/uitest/src/com/vaadin/tests/components/combobox/ComboBoxValueInput.java
index 1d2c85c974..a35bc46390 100644
--- a/uitest/src/com/vaadin/tests/components/combobox/ComboBoxValueInput.java
+++ b/uitest/src/com/vaadin/tests/components/combobox/ComboBoxValueInput.java
@@ -14,18 +14,21 @@ public class ComboBoxValueInput extends AbstractTestUI {
ComboBox cb = getComboBox("A combobox", false, "default");
addComponent(cb);
- cb = getComboBox("A combobox with input prompt", false, "default-prompt");
+ cb = getComboBox("A combobox with input prompt", false,
+ "default-prompt");
cb.setInputPrompt("Please select");
addComponent(cb);
cb = getComboBox("A combobox with null item", true, "null");
addComponent(cb);
- cb = getComboBox("A combobox with null item and input prompt", true, "null-prompt");
+ cb = getComboBox("A combobox with null item and input prompt", true,
+ "null-prompt");
cb.setInputPrompt("Please select");
addComponent(cb);
- cb = getComboBox("A combobox with filteringMode off", false, "filtering-off");
+ cb = getComboBox("A combobox with filteringMode off", false,
+ "filtering-off");
cb.setFilteringMode(FilteringMode.OFF);
addComponent(cb);
diff --git a/uitest/src/com/vaadin/tests/components/combobox/ComboBoxValueInputTest.java b/uitest/src/com/vaadin/tests/components/combobox/ComboBoxValueInputTest.java
index b2b3c29098..318ffbe549 100644
--- a/uitest/src/com/vaadin/tests/components/combobox/ComboBoxValueInputTest.java
+++ b/uitest/src/com/vaadin/tests/components/combobox/ComboBoxValueInputTest.java
@@ -131,9 +131,10 @@ public class ComboBoxValueInputTest extends MultiBrowserTest {
assertThat(getComboBoxValue(comboBox), is(""));
- //selectByText doesn't work when filtering is off.
+ // selectByText doesn't work when filtering is off.
comboBox.openPopup();
- List<WebElement> filteredItems = findElements(By.className("gwt-MenuItem"));
+ List<WebElement> filteredItems = findElements(By
+ .className("gwt-MenuItem"));
filteredItems.get(1).click();
sendKeysToComboBox(comboBox, "mnop");
diff --git a/uitest/src/com/vaadin/tests/components/combobox/ComboSelectedValueBeyondTheFirstDropdownPage.java b/uitest/src/com/vaadin/tests/components/combobox/ComboSelectedValueBeyondTheFirstDropdownPage.java
index 41b61c9062..acfb7b165f 100644
--- a/uitest/src/com/vaadin/tests/components/combobox/ComboSelectedValueBeyondTheFirstDropdownPage.java
+++ b/uitest/src/com/vaadin/tests/components/combobox/ComboSelectedValueBeyondTheFirstDropdownPage.java
@@ -8,7 +8,8 @@ import com.vaadin.ui.ComboBox;
import com.vaadin.ui.Label;
@SuppressWarnings("serial")
-public class ComboSelectedValueBeyondTheFirstDropdownPage extends AbstractTestUI {
+public class ComboSelectedValueBeyondTheFirstDropdownPage extends
+ AbstractTestUI {
protected static final int ITEM_COUNT = 21;
protected static final String ITEM_NAME_TEMPLATE = "Item %d";