geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r548490 - /geronimo/server/trunk/testsuite/webservices-testsuite/jaxrpc-jaxws-tests/jaxrpc-jaxws-war/src/test/java/org/apache/geronimo/testsuite/testset/WSTest.java
Date Mon, 18 Jun 2007 20:55:30 GMT
Author: gawor
Date: Mon Jun 18 13:55:28 2007
New Revision: 548490

URL: http://svn.apache.org/viewvc?view=rev&rev=548490
Log:
just minor cleanup

Modified:
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxrpc-jaxws-tests/jaxrpc-jaxws-war/src/test/java/org/apache/geronimo/testsuite/testset/WSTest.java

Modified: geronimo/server/trunk/testsuite/webservices-testsuite/jaxrpc-jaxws-tests/jaxrpc-jaxws-war/src/test/java/org/apache/geronimo/testsuite/testset/WSTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxrpc-jaxws-tests/jaxrpc-jaxws-war/src/test/java/org/apache/geronimo/testsuite/testset/WSTest.java?view=diff&rev=548490&r1=548489&r2=548490
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxrpc-jaxws-tests/jaxrpc-jaxws-war/src/test/java/org/apache/geronimo/testsuite/testset/WSTest.java
(original)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxrpc-jaxws-tests/jaxrpc-jaxws-war/src/test/java/org/apache/geronimo/testsuite/testset/WSTest.java
Mon Jun 18 13:55:28 2007
@@ -39,7 +39,7 @@
 public class WSTest extends TestSupport {
 
     private String baseURL = "http://localhost:8080/";
-
+    
     @Test
     public void testJAXRPCInvocation() throws Exception {
         testInvocation("servlet1", "/request1.xml");
@@ -81,7 +81,6 @@
 
             boolean found = false;
 
-            // FIXME: Simple test is required for now, as CXF has problems
             BufferedReader in = 
                 new BufferedReader(new InputStreamReader(conn.getInputStream()));
             String inputLine;
@@ -97,26 +96,6 @@
 
             assertTrue("Reply", found);
 
-            /* Better test, disabled for now
-            InputSource is = new InputSource(conn.getInputStream());
-
-            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-            dbf.setNamespaceAware(true);
-            DocumentBuilder db = dbf.newDocumentBuilder();
-
-            Document doc = db.parse(is);
-            
-            NodeList nodes = doc.getElementsByTagNameNS("http://apache.org/hello_world_soap_http/types",
-                                                        "responseType");
-            assertEquals(1, nodes.getLength());
-
-            Element element = (Element)nodes.item(0);
-
-            assertTrue(element.getFirstChild() != null);
-
-            assertEquals("Hello foo bar", element.getFirstChild().getNodeValue());
-            */
-
         } finally {
             conn.disconnect();
         }
@@ -167,7 +146,6 @@
         } finally {
             conn.disconnect();
         }
-
     }
 
 }



Mime
View raw message