You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2007/06/29 00:26:18 UTC
svn commit: r551724 -
/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/soap12/Soap12ClientServerTest.java
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());