cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r1157699 - /cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/soapfault/details/Soap11ClientServerTest.java
Date Mon, 15 Aug 2011 02:28:52 GMT
Author: ningjiang
Date: Mon Aug 15 02:28:51 2011
New Revision: 1157699

URL: http://svn.apache.org/viewvc?rev=1157699&view=rev
Log:
CXF-3736 Fixed the systest test error

Modified:
    cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/soapfault/details/Soap11ClientServerTest.java

Modified: cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/soapfault/details/Soap11ClientServerTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/soapfault/details/Soap11ClientServerTest.java?rev=1157699&r1=1157698&r2=1157699&view=diff
==============================================================================
--- cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/soapfault/details/Soap11ClientServerTest.java
(original)
+++ cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/soapfault/details/Soap11ClientServerTest.java
Mon Aug 15 02:28:51 2011
@@ -58,7 +58,7 @@ public class Soap11ClientServerTest exte
             ex.printStackTrace();
             boolean findNPE = false;
             for (StackTraceElement element : elements) {
-                if (element.getClassName().startsWith("Caused by:class java.lang.NullPointerException:
")) {
+                if (element.getClassName().indexOf("java.lang.NullPointerException") >
0) {
                     findNPE = true;
                     break;
                 }



Mime
View raw message