From efc3617cf50d4e190db3c3891aed01b30b322120 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Thu, 23 Apr 2015 12:54:59 +0300 Subject: Simplified tracking of servers which support websockets Change-Id: Ibc1d82a9751c93506bb69970d55adfa810ad0b50 --- .../com/vaadin/tests/tb3/ServletIntegrationTests.java | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/uitest/src/com/vaadin/tests/tb3/ServletIntegrationTests.java b/uitest/src/com/vaadin/tests/tb3/ServletIntegrationTests.java index 1883e5f601..885d3521b7 100644 --- a/uitest/src/com/vaadin/tests/tb3/ServletIntegrationTests.java +++ b/uitest/src/com/vaadin/tests/tb3/ServletIntegrationTests.java @@ -35,32 +35,19 @@ public class ServletIntegrationTests { public static Set notJSR356Compatible = new HashSet(); public static Set notWebsocketCompatible = new HashSet(); static { - notJSR356Compatible.add("jboss4"); - notJSR356Compatible.add("jboss5"); - notJSR356Compatible.add("jboss6"); - notJSR356Compatible.add("jboss7"); notJSR356Compatible.add("jetty7"); notJSR356Compatible.add("jetty8"); - - notJSR356Compatible.add("glassfish3"); - - notJSR356Compatible.add("tomcat6"); notJSR356Compatible.add("tomcat7"); notJSR356Compatible.add("tomcat7apacheproxy"); - notJSR356Compatible.add("weblogic10"); notJSR356Compatible.add("osgi"); // Karaf 3, Jetty 8 - notWebsocketCompatible.add("glassfish2"); // In theory GF3 could work but in reality broken notWebsocketCompatible.add("glassfish3"); notWebsocketCompatible.add("jboss4"); notWebsocketCompatible.add("jboss5"); notWebsocketCompatible.add("jboss6"); notWebsocketCompatible.add("jboss7"); - notWebsocketCompatible.add("jetty5"); - notWebsocketCompatible.add("jetty6"); - notWebsocketCompatible.add("tomcat5"); notWebsocketCompatible.add("tomcat6"); notWebsocketCompatible.add("tomcat7apacheproxy"); notWebsocketCompatible.add("weblogic10"); @@ -69,6 +56,10 @@ public class ServletIntegrationTests { // https://dev.vaadin.com/ticket/16354 // https://developer.ibm.com/answers/questions/186066/websocket-paths-using-uri-templates-do-not-work-pr/ notWebsocketCompatible.add("websphere8"); + + // If a server does not support any kind of websockets it does not + // support JSR-356 either.. + notJSR356Compatible.addAll(notWebsocketCompatible); } public static class ServletIntegrationTestSuite extends TB3TestSuite { -- cgit v1.2.3