cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1178485 - /cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/cxf2006/RespectBindingFeatureClientServerTest.java
Date Mon, 03 Oct 2011 18:11:20 GMT
Author: dkulp
Date: Mon Oct  3 18:11:20 2011
New Revision: 1178485

URL: http://svn.apache.org/viewvc?rev=1178485&view=rev
Log:
Fix test case with comparison to new error message

Modified:
    cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/cxf2006/RespectBindingFeatureClientServerTest.java

Modified: cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/cxf2006/RespectBindingFeatureClientServerTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/cxf2006/RespectBindingFeatureClientServerTest.java?rev=1178485&r1=1178484&r2=1178485&view=diff
==============================================================================
--- cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/cxf2006/RespectBindingFeatureClientServerTest.java
(original)
+++ cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/cxf2006/RespectBindingFeatureClientServerTest.java
Mon Oct  3 18:11:20 2011
@@ -47,8 +47,8 @@ public class RespectBindingFeatureClient
             fail("WebServiceException is expected");
         } catch (Exception ex) {
             assertTrue("WebServiceException is expected", ex instanceof javax.xml.ws.WebServiceException);
-            assertTrue("RespectBindingFeature message is expceted",
-                       ex.getMessage().indexOf("extensions that have the required=true attribute")
> -1);
+            assertTrue("RespectBindingFeature message is expceted: " + ex.getMessage(),
+                       ex.getMessage().indexOf("extension with required=true attribute")
> -1);
         }
     }
 



Mime
View raw message