summaryrefslogtreecommitdiffstats
path: root/server/tests
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2015-05-15 22:02:17 +0300
committerVaadin Code Review <review@vaadin.com>2015-05-18 06:41:32 +0000
commitb9a6402e45d50b0bb265e4b138dc5677c9463af4 (patch)
tree8dabd08d9d67f4d8112866e7a830f727ecfcfbf9 /server/tests
parentc7392301d0c6afde429d7c6e66d3175f36ab5360 (diff)
downloadvaadin-framework-b9a6402e45d50b0bb265e4b138dc5677c9463af4.tar.gz
vaadin-framework-b9a6402e45d50b0bb265e4b138dc5677c9463af4.zip
Fix clear/isEmpty in TextArea/PasswordField/RichTextArea/ProgressBar (#17089)
Change-Id: Ic793cbb7eb36408c765a01cc987ba7fe8800b80c
Diffstat (limited to 'server/tests')
-rw-r--r--server/tests/src/com/vaadin/tests/server/component/FieldDefaultValues.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/server/tests/src/com/vaadin/tests/server/component/FieldDefaultValues.java b/server/tests/src/com/vaadin/tests/server/component/FieldDefaultValues.java
index 5c9993e6dd..16bbd7008f 100644
--- a/server/tests/src/com/vaadin/tests/server/component/FieldDefaultValues.java
+++ b/server/tests/src/com/vaadin/tests/server/component/FieldDefaultValues.java
@@ -23,11 +23,7 @@ import org.junit.Test;
import com.vaadin.tests.VaadinClasses;
import com.vaadin.ui.Field;
-import com.vaadin.ui.PasswordField;
-import com.vaadin.ui.ProgressBar;
-import com.vaadin.ui.RichTextArea;
import com.vaadin.ui.Slider;
-import com.vaadin.ui.TextArea;
public class FieldDefaultValues {
@@ -36,13 +32,6 @@ public class FieldDefaultValues {
for (Field<?> field : createFields()) {
Object originalValue = field.getValue();
- // Some fields are not initialized to the "empty" value. #17089
- if (field instanceof PasswordField || field instanceof ProgressBar
- || field instanceof RichTextArea
- || field instanceof TextArea) {
- originalValue = null;
- }
-
field.clear();
Object clearedValue = field.getValue();