cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r1089410 - /cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/interceptor/InterceptorFaultTest.java
Date Wed, 06 Apr 2011 11:47:15 GMT
Author: ningjiang
Date: Wed Apr  6 11:47:14 2011
New Revision: 1089410

URL: http://svn.apache.org/viewvc?rev=1089410&view=rev
Log:
CXF-3442 Fixed the system test error of InterceptorFaultTest

Modified:
    cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/interceptor/InterceptorFaultTest.java

Modified: cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/interceptor/InterceptorFaultTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/interceptor/InterceptorFaultTest.java?rev=1089410&r1=1089409&r2=1089410&view=diff
==============================================================================
--- cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/interceptor/InterceptorFaultTest.java
(original)
+++ cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/interceptor/InterceptorFaultTest.java
Wed Apr  6 11:47:14 2011
@@ -246,7 +246,7 @@ public class InterceptorFaultTest extend
             if (!expectOnewayFault) {
                 fail("Oneway operation unexpectedly failed.");
             }
-            assertEquals(FAULT_MESSAGE, ex.getMessage());
+            assertTrue("Get the wrong fault message.", ex.getMessage().startsWith(FAULT_MESSAGE));
         }
         
         String expectedMsg = getExpectedInterceptorFaultMessage(location.getPhase());



Mime
View raw message