summaryrefslogtreecommitdiffstats
path: root/WebContent
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2015-04-21 17:36:31 +0300
committerArtur Signell <artur@vaadin.com>2015-07-13 17:19:09 +0300
commit578aabe49c4135835a0ce976b8fcdcb2f74c2fd3 (patch)
tree446e696923a574e0f3c7cd22808ef68c86227231 /WebContent
parent132ca1e1b68bf813364a5f87e9afa5997804c07c (diff)
downloadvaadin-framework-578aabe49c4135835a0ce976b8fcdcb2f74c2fd3.tar.gz
vaadin-framework-578aabe49c4135835a0ce976b8fcdcb2f74c2fd3.zip
Test for various UIDL/heartbeat response codes from the server (#11733)
Change-Id: Iff0dd9e9f76b83c1d6f7c16f46317c42bfd770cc
Diffstat (limited to 'WebContent')
-rw-r--r--WebContent/WEB-INF/web.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/WebContent/WEB-INF/web.xml b/WebContent/WEB-INF/web.xml
index 51ac907843..c097fcf1b7 100644
--- a/WebContent/WEB-INF/web.xml
+++ b/WebContent/WEB-INF/web.xml
@@ -96,6 +96,19 @@
</init-param>
<async-supported>true</async-supported>
</servlet>
+ <servlet>
+ <servlet-name>CommErrorEmulator</servlet-name>
+ <servlet-class>com.vaadin.tests.application.CommErrorEmulatorServlet</servlet-class>
+ <init-param>
+ <param-name>heartbeatInterval</param-name>
+ <param-value>10</param-value>
+ </init-param>
+ <init-param>
+ <param-name>ui</param-name>
+ <param-value>com.vaadin.tests.application.CommErrorEmulatorUI</param-value>
+ </init-param>
+ <async-supported>true</async-supported>
+ </servlet>
<servlet>
<!-- This servlet is a separate instance for the sole purpose of
@@ -170,6 +183,11 @@
</servlet-mapping>
<servlet-mapping>
+ <servlet-name>CommErrorEmulator</servlet-name>
+ <url-pattern>/commerror/*</url-pattern>
+ </servlet-mapping>
+
+ <servlet-mapping>
<servlet-name>VaadinStaticFiles</servlet-name>
<url-pattern>/VAADIN/*</url-pattern>
</servlet-mapping>