From d891fb7079d75024f9844451e61b9232e1ff6b38 Mon Sep 17 00:00:00 2001 From: Ilia Motornyi Date: Fri, 3 Feb 2017 17:28:07 +0200 Subject: [PATCH] Fix JBoss 6 integration tests --- test/servlet-containers/generic/build.xml | 7 +- .../generic/integration_tests.xml | 1 + test/servlet-containers/generic/pom.xml | 66 ++++----- .../src/main/jboss-6/WEB-INF/jboss-web.xml | 7 + uitest/src/main/webapp/WEB-INF/web.xml | 26 ---- uitest/src/main/webapp/WEB-INF/web.xml.2.4 | 131 ------------------ 6 files changed, 42 insertions(+), 196 deletions(-) create mode 100644 test/servlet-containers/generic/src/main/jboss-6/WEB-INF/jboss-web.xml delete mode 100644 uitest/src/main/webapp/WEB-INF/web.xml.2.4 diff --git a/test/servlet-containers/generic/build.xml b/test/servlet-containers/generic/build.xml index ee16b2c0e1..da6731ea0d 100644 --- a/test/servlet-containers/generic/build.xml +++ b/test/servlet-containers/generic/build.xml @@ -13,6 +13,9 @@ + + @@ -23,12 +26,12 @@ - - + + diff --git a/test/servlet-containers/generic/integration_tests.xml b/test/servlet-containers/generic/integration_tests.xml index a46670b6a3..c10af3042b 100644 --- a/test/servlet-containers/generic/integration_tests.xml +++ b/test/servlet-containers/generic/integration_tests.xml @@ -121,6 +121,7 @@ + diff --git a/test/servlet-containers/generic/pom.xml b/test/servlet-containers/generic/pom.xml index 545ef8b52e..8ff752483c 100644 --- a/test/servlet-containers/generic/pom.xml +++ b/test/servlet-containers/generic/pom.xml @@ -14,37 +14,26 @@ - - ${project.groupId} + com.vaadin vaadin-compatibility-server - ${project.version} - ${project.groupId} + com.vaadin vaadin-compatibility-client-compiled - ${project.version} - - - ${project.groupId} - vaadin-client-compiled - ${project.version} - ${project.groupId} - vaadin-themes - ${project.version} + com.vaadin + vaadin-push - ${project.groupId} - vaadin-push - ${project.version} + com.vaadin + vaadin-client-compiled - - ${project.groupId} + com.vaadin vaadin-uitest-common ${project.version} test @@ -57,7 +46,9 @@ - maven-install-plugin + org.eclipse.jetty + jetty-maven-plugin + ${jetty.version} true @@ -75,24 +66,25 @@ - org.codehaus.mojo - animal-sniffer-maven-plugin - - true - - - - org.sonatype.plugins - nexus-staging-maven-plugin - - true - - - - maven-javadoc-plugin - - true - + maven-war-plugin + + + + jboss6-war + package + + war + + + jboss6 + + + src/main/jboss-6 + + + + + diff --git a/test/servlet-containers/generic/src/main/jboss-6/WEB-INF/jboss-web.xml b/test/servlet-containers/generic/src/main/jboss-6/WEB-INF/jboss-web.xml new file mode 100644 index 0000000000..bfa4bac003 --- /dev/null +++ b/test/servlet-containers/generic/src/main/jboss-6/WEB-INF/jboss-web.xml @@ -0,0 +1,7 @@ + + + true + diff --git a/uitest/src/main/webapp/WEB-INF/web.xml b/uitest/src/main/webapp/WEB-INF/web.xml index 4f7ed062a8..5a1e3357da 100644 --- a/uitest/src/main/webapp/WEB-INF/web.xml +++ b/uitest/src/main/webapp/WEB-INF/web.xml @@ -86,16 +86,6 @@ true - - VaadinApplicationRunnerWithJSR356 - com.vaadin.launcher.ApplicationRunnerServlet - - - org.atmosphere.cpr.asyncSupport - org.atmosphere.container.JSR356AsyncSupport - - true - CommErrorEmulator com.vaadin.tests.application.CommErrorEmulatorServlet @@ -156,17 +146,6 @@ true - - - IntegrationTest - com.vaadin.server.VaadinServlet - - UI - com.vaadin.tests.integration.ServletIntegrationUI - - true - - Embed App 1 /embed1/* @@ -205,11 +184,6 @@ /run-push-timeout/* - - VaadinApplicationRunnerWithJSR356 - /run-jsr356/* - - CommErrorEmulator /commerror/* diff --git a/uitest/src/main/webapp/WEB-INF/web.xml.2.4 b/uitest/src/main/webapp/WEB-INF/web.xml.2.4 deleted file mode 100644 index 96144b8036..0000000000 --- a/uitest/src/main/webapp/WEB-INF/web.xml.2.4 +++ /dev/null @@ -1,131 +0,0 @@ - - - - - Vaadin - Vaadin examples - - - productionMode - false - - - - resourceCacheTime - 3600 - - - Embed App 1 - com.vaadin.server.LegacyVaadinServlet - - application - com.vaadin.tests.components.button.Buttons - - - - Embed App 2 - com.vaadin.server.VaadinServlet - - UI - com.vaadin.tests.components.label.MarginsInLabels - - - - UI provider app - com.vaadin.server.VaadinServlet - - UIProvider - com.vaadin.tests.applicationservlet.InitParamUIProvider - - - UI - com.vaadin.tests.VerifyAssertionsEnabled - - - - - VaadinApplicationRunner - com.vaadin.launcher.ApplicationRunnerServlet - - - legacyPropertyToString - false - - - heartbeatInterval - 301 - - - resourceCacheTime - 3601 - - - closeIdleSessions - true - - - testParam - 42 - - - - - VaadinApplicationRunnerWithPush - com.vaadin.launcher.ApplicationRunnerServlet - - pushmode - automatic - - - - - - IntegrationTest - com.vaadin.server.VaadinServlet - - UI - com.vaadin.tests.integration.ServletIntegrationUI - - - - Embed App 1 - /embed1/* - - - - Embed App 2 - /embed2/* - - - - UI provider app - /uiprovider/* - - - - VaadinApplicationRunner - /run/* - - - - VaadinApplicationRunnerWithPush - /run-push/* - - - - IntegrationTest - /integration/* - - - - IntegrationTest - /VAADIN/* - - - - index.html - - - -- 2.39.5