summaryrefslogtreecommitdiffstats
path: root/compatibility-server
diff options
context:
space:
mode:
authorLeif Åstrand <legioth@gmail.com>2017-11-23 07:54:53 +0200
committerAleksi Hietanen <aleksi@vaadin.com>2017-11-23 07:54:53 +0200
commit2fc7554779cb3df2e58dab9057a9b51839e84930 (patch)
tree6756c03d2f8a86082af175211985a1987d951bb8 /compatibility-server
parentacfd75ee2ec8ad97f8dd54e2ae454257e7284159 (diff)
downloadvaadin-framework-2fc7554779cb3df2e58dab9057a9b51839e84930.tar.gz
vaadin-framework-2fc7554779cb3df2e58dab9057a9b51839e84930.zip
Update to JSoup 1.11.2 (#10353)
Also update declarative writing to use true instead of "" for empty attributes because of changed defaults in JSoup. For v7, the tests are updated instead of touching the implementations.
Diffstat (limited to 'compatibility-server')
-rw-r--r--compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/abstractselect/AbstractSelectDeclarativeTest.java2
-rw-r--r--compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/abstractselect/OptionGroupDeclarativeTest.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/abstractselect/AbstractSelectDeclarativeTest.java b/compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/abstractselect/AbstractSelectDeclarativeTest.java
index be22583697..fb6b368d5e 100644
--- a/compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/abstractselect/AbstractSelectDeclarativeTest.java
+++ b/compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/abstractselect/AbstractSelectDeclarativeTest.java
@@ -158,7 +158,7 @@ public class AbstractSelectDeclarativeTest
private String getDesignForInlineData() {
return "<vaadin7-list-select>\n"
+ " <option icon='http://some.url/icon.png'>Value 1</option>\n" //
- + " <option selected>Value 2</option>\n"//
+ + " <option selected=''>Value 2</option>\n"//
+ "</vaadin7-list-select>";
}
diff --git a/compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/abstractselect/OptionGroupDeclarativeTest.java b/compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/abstractselect/OptionGroupDeclarativeTest.java
index 455ffdd782..aed67d9c5b 100644
--- a/compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/abstractselect/OptionGroupDeclarativeTest.java
+++ b/compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/abstractselect/OptionGroupDeclarativeTest.java
@@ -70,7 +70,7 @@ public class OptionGroupDeclarativeTest
"<vaadin7-option-group>"
+ "<option>foo</option>"
+ "<option>bar</option>"
- + "<option disabled>baz</option>"
+ + "<option disabled=''>baz</option>"
+ "<option>bang</option>"
+ "</vaadin7-option-group>";
//@formatter:on