aboutsummaryrefslogtreecommitdiffstats
path: root/test/servlet-containers/generic-ui
diff options
context:
space:
mode:
authorZhe Sun <31067185+ZheSun88@users.noreply.github.com>2021-05-31 10:15:11 +0300
committerGitHub <noreply@github.com>2021-05-31 10:15:11 +0300
commit45e7afb51c8e5610c363b2afe73cc43381431f1c (patch)
tree3299775678e2b17c7fbf655583e78ccd9593bca9 /test/servlet-containers/generic-ui
parent49b2ec6b506b441226200641916f4b9220a8ced8 (diff)
downloadvaadin-framework-45e7afb51c8e5610c363b2afe73cc43381431f1c.tar.gz
vaadin-framework-45e7afb51c8e5610c363b2afe73cc43381431f1c.zip
Small updates to servlet container test setup. (#12318)
* Small updates to servlet container test setup. - Upgraded to use cargo-maven3-plugin since cargo-maven2-plugin is now EOL. - Defined supported packagings as the current jetty-maven-plugin default only covers war. - Changed a test pojo to implement Serializable in order to prevent an error in cargo-maven3-plugin stop-container phase.
Diffstat (limited to 'test/servlet-containers/generic-ui')
-rw-r--r--test/servlet-containers/generic-ui/src/main/java/com/vaadin/tests/integration/ServletIntegrationUI.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/servlet-containers/generic-ui/src/main/java/com/vaadin/tests/integration/ServletIntegrationUI.java b/test/servlet-containers/generic-ui/src/main/java/com/vaadin/tests/integration/ServletIntegrationUI.java
index 0d4010beaa..670d0ca8d5 100644
--- a/test/servlet-containers/generic-ui/src/main/java/com/vaadin/tests/integration/ServletIntegrationUI.java
+++ b/test/servlet-containers/generic-ui/src/main/java/com/vaadin/tests/integration/ServletIntegrationUI.java
@@ -1,5 +1,7 @@
package com.vaadin.tests.integration;
+import java.io.Serializable;
+
import com.vaadin.annotations.DesignRoot;
import com.vaadin.annotations.Widgetset;
import com.vaadin.server.ClassResource;
@@ -15,7 +17,7 @@ import com.vaadin.ui.declarative.Design;
@Widgetset("com.vaadin.DefaultWidgetSet")
public class ServletIntegrationUI extends UI {
- public static class Country {
+ public static class Country implements Serializable {
private final String name;
private final String id;
private final Resource icon;