cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r551724 - /incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/soap12/Soap12ClientServerTest.java
Date Thu, 28 Jun 2007 22:26:18 GMT
Author: dkulp
Date: Thu Jun 28 15:26:17 2007
New Revision: 551724

URL: http://svn.apache.org/viewvc?view=rev&rev=551724
Log:
Fix test failure

Modified:
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/soap12/Soap12ClientServerTest.java

Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/soap12/Soap12ClientServerTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/soap12/Soap12ClientServerTest.java?view=diff&rev=551724&r1=551723&r2=551724
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/soap12/Soap12ClientServerTest.java
(original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/soap12/Soap12ClientServerTest.java
Thu Jun 28 15:26:17 2007
@@ -87,7 +87,7 @@
         
         InputStream in = httpConnection.getInputStream();        
         assertNotNull(in);
-        assertEquals("application/soap+xml; charset=utf-8", httpConnection.getContentType());
+        assertEquals("application/soap+xml; charset=utf-8", httpConnection.getContentType().toLowerCase());
        
         Document doc = XMLUtils.parse(in);
         assertNotNull(doc);
@@ -115,7 +115,7 @@
 
         InputStream in = httpConnection.getErrorStream();
         assertNotNull(in);     
-        assertEquals("application/soap+xml; charset=utf-8", httpConnection.getContentType());
+        assertEquals("application/soap+xml; charset=utf-8", httpConnection.getContentType().toLowerCase());
         
         Document doc = XMLUtils.parse(in);
         assertNotNull(doc);        
@@ -152,7 +152,7 @@
         
         assertEquals(500, httpConnection.getResponseCode());
 
-        assertEquals("application/soap+xml; charset=utf-8", httpConnection.getContentType());
+        assertEquals("application/soap+xml; charset=utf-8", httpConnection.getContentType().toLowerCase());
         
         assertEquals("Internal Server Error", httpConnection.getResponseMessage());
 



Mime
View raw message