You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ni...@apache.org on 2011/08/15 04:28:52 UTC

svn commit: r1157699 - /cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/soapfault/details/Soap11ClientServerTest.java

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;
                 }