[jbossws-commits] JBossWS SVN: r9610 - in framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws: samples/handlerchain and 2 other directories.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Tue Mar 17 09:20:49 EDT 2009


Author: richard.opalka at jboss.com
Date: 2009-03-17 09:20:49 -0400 (Tue, 17 Mar 2009)
New Revision: 9610

Modified:
   framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/HandlerScopeTestCase.java
   framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/HandlerChainTestCase.java
   framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerJAXBTestCase.java
   framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerSourceTestCase.java
   framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/smoke/tools/WSProviderPlugin.java
Log:
[CXF-1253][CXF-1507][CXF-2117] updating FIXMEs

Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/HandlerScopeTestCase.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/HandlerScopeTestCase.java	2009-03-17 11:40:11 UTC (rev 9609)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/handlerscope/HandlerScopeTestCase.java	2009-03-17 13:20:49 UTC (rev 9610)
@@ -53,36 +53,47 @@
 
       String retStr = port.echo("hello");
       
-      StringBuffer expStr = new StringBuffer("hello");
-      expStr.append(":SOAP12ClientHandler");
-      expStr.append(":SOAPClientHandler");
-      expStr.append(":ServiceClientHandler");
-      expStr.append(":ServiceWildcardClientHandler");
-      expStr.append(":PortClientHandler");
-      expStr.append(":PortWildcardClientHandler");
-      expStr.append(":GeneralClientHandler");
-      expStr.append(":GeneralServerHandler");
-      expStr.append(":PortWildcardServerHandler");
-      expStr.append(":PortServerHandler");
-      expStr.append(":ServiceWildcardServerHandler");
-      expStr.append(":ServiceServerHandler");
-      expStr.append(":SOAPServerHandler");
-      expStr.append(":SOAP12ServerHandler");
-      expStr.append(":endpoint");
-      expStr.append(":SOAP12ServerHandler");
-      expStr.append(":SOAPServerHandler");
-      expStr.append(":ServiceServerHandler");
-      expStr.append(":ServiceWildcardServerHandler");
-      expStr.append(":PortServerHandler");
-      expStr.append(":PortWildcardServerHandler");
-      expStr.append(":GeneralServerHandler");
-      expStr.append(":GeneralClientHandler");
-      expStr.append(":PortWildcardClientHandler");
-      expStr.append(":PortClientHandler");
-      expStr.append(":ServiceWildcardClientHandler");
-      expStr.append(":ServiceClientHandler");
-      expStr.append(":SOAPClientHandler");
-      expStr.append(":SOAP12ClientHandler");
-      assertEquals(expStr.toString(), retStr);
+      if (isIntegrationMetro())
+      {
+         System.out.println("FIXME: [JBWS-1672] Metro does not respect @HandlerChain on client SEI");
+      }
+      else if (isIntegrationCXF())
+      {
+         System.out.println("FIXME: [CXF-1253] CXF does not respect @HandlerChain on client SEI");
+      }
+      else
+      {
+         StringBuffer expStr = new StringBuffer("hello");
+         expStr.append(":SOAP12ClientHandler");
+         expStr.append(":SOAPClientHandler");
+         expStr.append(":ServiceClientHandler");
+         expStr.append(":ServiceWildcardClientHandler");
+         expStr.append(":PortClientHandler");
+         expStr.append(":PortWildcardClientHandler");
+         expStr.append(":GeneralClientHandler");
+         expStr.append(":GeneralServerHandler");
+         expStr.append(":PortWildcardServerHandler");
+         expStr.append(":PortServerHandler");
+         expStr.append(":ServiceWildcardServerHandler");
+         expStr.append(":ServiceServerHandler");
+         expStr.append(":SOAPServerHandler");
+         expStr.append(":SOAP12ServerHandler");
+         expStr.append(":endpoint");
+         expStr.append(":SOAP12ServerHandler");
+         expStr.append(":SOAPServerHandler");
+         expStr.append(":ServiceServerHandler");
+         expStr.append(":ServiceWildcardServerHandler");
+         expStr.append(":PortServerHandler");
+         expStr.append(":PortWildcardServerHandler");
+         expStr.append(":GeneralServerHandler");
+         expStr.append(":GeneralClientHandler");
+         expStr.append(":PortWildcardClientHandler");
+         expStr.append(":PortClientHandler");
+         expStr.append(":ServiceWildcardClientHandler");
+         expStr.append(":ServiceClientHandler");
+         expStr.append(":SOAPClientHandler");
+         expStr.append(":SOAP12ClientHandler");
+         assertEquals(expStr.toString(), retStr);
+      }
    }
 }

Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/HandlerChainTestCase.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/HandlerChainTestCase.java	2009-03-17 11:40:11 UTC (rev 9609)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/handlerchain/HandlerChainTestCase.java	2009-03-17 13:20:49 UTC (rev 9610)
@@ -74,6 +74,11 @@
          System.out.println("FIXME: [JBWS-1671] Metro client handler cannot set mime header");
          return;
       }
+      if (isIntegrationCXF())
+      {
+         System.out.println("FIXME: [CXF-1507] CXF client handler cannot set mime header");
+         return;
+      }
 
       assertEquals("server-cookie=true", ClientMimeHandler.inboundCookie);
    }
@@ -90,6 +95,10 @@
       {
          System.out.println("FIXME: [JBWS-1672] Metro does not respect @HandlerChain on client SEI");
       }
+      else if (isIntegrationCXF())
+      {
+         System.out.println("FIXME: [CXF-1253] CXF does not respect @HandlerChain on client SEI");
+      }
       else
       {
          String resStr = port.echo("Kermit");
@@ -101,6 +110,11 @@
          System.out.println("FIXME: [JBWS-1671] Metro client handler cannot set mime header");
          return;
       }
+      if (isIntegrationCXF())
+      {
+         System.out.println("FIXME: [CXF-1507] CXF client handler cannot set mime header");
+         return;
+      }
 
       assertEquals("server-cookie=true", ClientMimeHandler.inboundCookie);
    }

Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerJAXBTestCase.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerJAXBTestCase.java	2009-03-17 11:40:11 UTC (rev 9609)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerJAXBTestCase.java	2009-03-17 13:20:49 UTC (rev 9610)
@@ -58,12 +58,23 @@
       String retStr = port.echo("hello");
 
       StringBuffer expStr = new StringBuffer("hello");
-      if (!isIntegrationMetro()) //[JBWS-1672] Metro does not respect @HandlerChain on client SEI
+      if (isIntegrationNative())
       {
          expStr.append(":Outbound:LogicalJAXBHandler");
          expStr.append(":Outbound:ProtocolHandler");
          expStr.append(":Outbound:PortHandler");
       }
+      else
+      {
+         if (isIntegrationMetro())
+         {
+            System.out.println("FIXME: [JBWS-1672] Metro does not respect @HandlerChain on client SEI");
+         }
+         else
+         {
+            System.out.println("FIXME: [CXF-1253] CXF does not respect @HandlerChain on client SEI");
+         }
+      }
       expStr.append(":Inbound:PortHandler");
       expStr.append(":Inbound:ProtocolHandler");
       expStr.append(":Inbound:LogicalJAXBHandler");
@@ -71,12 +82,23 @@
       expStr.append(":Outbound:LogicalJAXBHandler");
       expStr.append(":Outbound:ProtocolHandler");
       expStr.append(":Outbound:PortHandler");
-      if (!isIntegrationMetro()) //FIXME: [JBWS-1672] Metro does not respect @HandlerChain on client SEI
+      if (isIntegrationNative())
       {
          expStr.append(":Inbound:PortHandler");
          expStr.append(":Inbound:ProtocolHandler");
          expStr.append(":Inbound:LogicalJAXBHandler");
       }
+      else
+      {
+         if (isIntegrationMetro())
+         {
+            System.out.println("FIXME: [JBWS-1672] Metro does not respect @HandlerChain on client SEI");
+         }
+         else
+         {
+            System.out.println("FIXME: [CXF-1253] CXF does not respect @HandlerChain on client SEI");
+         }
+      }
       assertEquals(expStr.toString(), retStr);
    }
 }

Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerSourceTestCase.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerSourceTestCase.java	2009-03-17 11:40:11 UTC (rev 9609)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerSourceTestCase.java	2009-03-17 13:20:49 UTC (rev 9610)
@@ -54,25 +54,61 @@
       String retStr = port.echo("hello");
       
       StringBuffer expStr = new StringBuffer("hello");
-      if (!isIntegrationMetro()) //[JBWS-1672] Metro does not respect @HandlerChain on client SEI
+      if (isIntegrationNative())
       {
          expStr.append(":Outbound:LogicalSourceHandler");
          expStr.append(":Outbound:ProtocolHandler");
          expStr.append(":Outbound:PortHandler");
       }
-      expStr.append(":Inbound:PortHandler");
+      else
+      {
+         if (isIntegrationMetro())
+         {
+            System.out.println("FIXME: [JBWS-1672] Metro does not respect @HandlerChain on client SEI");
+         }
+         else
+         {
+            System.out.println("FIXME: [CXF-1253] CXF does not respect @HandlerChain on client SEI");
+         }
+      }
+      if (!isIntegrationCXF())
+      {
+         expStr.append(":Inbound:PortHandler");
+      }
+      else
+      {
+         System.out.println("FIXME: [CXF-2117] method AnnotationHandlerChainBuilder.patternMatches() causes CXF portability issues with other JAX-WS stacks");
+      }
       expStr.append(":Inbound:ProtocolHandler");
       expStr.append(":Inbound:LogicalSourceHandler");
       expStr.append(":endpoint");
       expStr.append(":Outbound:LogicalSourceHandler");
       expStr.append(":Outbound:ProtocolHandler");
-      expStr.append(":Outbound:PortHandler");
-      if (!isIntegrationMetro()) //[JBWS-1672] Metro does not respect @HandlerChain on client SEI
+      if (!isIntegrationCXF())
       {
+         expStr.append(":Outbound:PortHandler");
+      }
+      else
+      {
+         System.out.println("FIXME: [CXF-2117] method AnnotationHandlerChainBuilder.patternMatches() causes CXF portability issues with other JAX-WS stacks");
+      }
+      if (isIntegrationNative())
+      {
          expStr.append(":Inbound:PortHandler");
          expStr.append(":Inbound:ProtocolHandler");
          expStr.append(":Inbound:LogicalSourceHandler");
       }
+      else
+      {
+         if (isIntegrationMetro())
+         {
+            System.out.println("FIXME: [JBWS-1672] Metro does not respect @HandlerChain on client SEI");
+         }
+         else
+         {
+            System.out.println("FIXME: [CXF-1253] CXF does not respect @HandlerChain on client SEI");
+         }
+      }
       assertEquals(expStr.toString(), retStr);
    }
 
@@ -87,25 +123,61 @@
       String retStr = port.echo("hello");
       
       StringBuffer expStr = new StringBuffer("hello");
-      if (!isIntegrationMetro()) //[JBWS-1672] Metro does not respect @HandlerChain on client SEI
+      if (isIntegrationNative())
       {
          expStr.append(":Outbound:LogicalSourceHandler");
          expStr.append(":Outbound:ProtocolHandler");
          expStr.append(":Outbound:PortHandler");
       }
-      expStr.append(":Inbound:PortHandler");
+      else
+      {
+         if (isIntegrationMetro())
+         {
+            System.out.println("FIXME: [JBWS-1672] Metro does not respect @HandlerChain on client SEI");
+         }
+         else
+         {
+            System.out.println("FIXME: [CXF-1253] CXF does not respect @HandlerChain on client SEI");
+         }
+      }
+      if (!isIntegrationCXF())
+      {
+         expStr.append(":Inbound:PortHandler");
+      }
+      else
+      {
+         System.out.println("FIXME: [CXF-2117] method AnnotationHandlerChainBuilder.patternMatches() causes CXF portability issues with other JAX-WS stacks");
+      }
       expStr.append(":Inbound:ProtocolHandler");
       expStr.append(":Inbound:LogicalSourceHandler");
       expStr.append(":endpoint");
       expStr.append(":Outbound:LogicalSourceHandler");
       expStr.append(":Outbound:ProtocolHandler");
-      expStr.append(":Outbound:PortHandler");
-      if (!isIntegrationMetro()) //[JBWS-1672] Metro does not respect @HandlerChain on client SEI
+      if (!isIntegrationCXF())
       {
+         expStr.append(":Outbound:PortHandler");
+      }
+      else
+      {
+         System.out.println("FIXME: [CXF-2117] method AnnotationHandlerChainBuilder.patternMatches() causes CXF portability issues with other JAX-WS stacks");
+      }
+      if (isIntegrationNative()) 
+      {
          expStr.append(":Inbound:PortHandler");
          expStr.append(":Inbound:ProtocolHandler");
          expStr.append(":Inbound:LogicalSourceHandler");
       }
+      else
+      {
+         if (isIntegrationMetro())
+         {
+            System.out.println("FIXME: [JBWS-1672] Metro does not respect @HandlerChain on client SEI");
+         }
+         else
+         {
+            System.out.println("FIXME: [CXF-1253] CXF does not respect @HandlerChain on client SEI");
+         }
+      }
       assertEquals(expStr.toString(), retStr);
    }
 }

Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/smoke/tools/WSProviderPlugin.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/smoke/tools/WSProviderPlugin.java	2009-03-17 11:40:11 UTC (rev 9609)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/smoke/tools/WSProviderPlugin.java	2009-03-17 13:20:49 UTC (rev 9610)
@@ -113,7 +113,7 @@
       String contents;
       if (isIntegrationCXF())
       {
-         System.out.println("FIXME [JBWS-2507] Support generics in wrapper classes");
+         System.out.println("FIXME: [JBWS-2507] Support generics in wrapper classes");
       }
       else
       {
@@ -174,11 +174,11 @@
       }
       else if (isIntegrationMetro())
       {
-         System.out.println("FIXME [JBWS-2479] @XmlJavaTypeAdapter on SEI causes exception");
+         System.out.println("FIXME: [JBWS-2479] @XmlJavaTypeAdapter on SEI causes exception");
       }
       else if (isIntegrationCXF())
       {
-         System.out.println("FIXME [JBWS-2506] Cannot find symbol javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter$DEFAULT");
+         System.out.println("FIXME: [JBWS-2506] Cannot find symbol javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter$DEFAULT");
       }
    }
 
@@ -271,12 +271,12 @@
 
       if(isIntegrationMetro())
       {
-         System.out.println("FIXME [JBWS-1777] WSProvide output is not correctly redirected");
+         System.out.println("FIXME: [JBWS-1777] WSProvide output is not correctly redirected");
          return;
       }
       else if(isIntegrationCXF())
       {
-         System.out.println("FIXME [JBWS-2508] Tools output is not correctly redirected");
+         System.out.println("FIXME: [JBWS-2508] Tools output is not correctly redirected");
          return;
       }
 




More information about the jbossws-commits mailing list