ws-addressing-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r405602 - /webservices/addressing/trunk/test/addressing/TestSerDeser.java
Date Wed, 10 May 2006 02:47:55 GMT
Author: gawor
Date: Tue May  9 19:47:55 2006
New Revision: 405602

URL: http://svn.apache.org/viewcvs?rev=405602&view=rev
Log:
minor fixes

Modified:
    webservices/addressing/trunk/test/addressing/TestSerDeser.java

Modified: webservices/addressing/trunk/test/addressing/TestSerDeser.java
URL: http://svn.apache.org/viewcvs/webservices/addressing/trunk/test/addressing/TestSerDeser.java?rev=405602&r1=405601&r2=405602&view=diff
==============================================================================
--- webservices/addressing/trunk/test/addressing/TestSerDeser.java (original)
+++ webservices/addressing/trunk/test/addressing/TestSerDeser.java Tue May  9 19:47:55 2006
@@ -154,8 +154,9 @@
         System.out.println(msg.getSOAPPartAsString());
         System.out.println("=================================");
 
+        msg.getSOAPEnvelope().getHeader().removeContents();
         headers.toEnvelope(msg.getSOAPEnvelope());
-
+        
         checkForRepeatedHeaderElements(msg.getSOAPEnvelope());
 
         System.out.println("=================================");
@@ -286,7 +287,7 @@
             count++;
         }
         
-        assertEquals(count, 1);
+        assertEquals("Action headers", 1, count);
 
         headers = env.getHeadersByName(
             Constants.NS_URI_ADDRESSING_DEFAULT, "To", true);
@@ -297,7 +298,7 @@
             count++;
         }
         
-        assertEquals(count, 1);
+        assertEquals("To headers", 1, count);
     }
     
     



---------------------------------------------------------------------
To unsubscribe, e-mail: addressing-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: addressing-dev-help@ws.apache.org


Mime
View raw message