Author: asoldano
Date: 2014-11-13 18:05:38 -0500 (Thu, 13 Nov 2014)
New Revision: 19105
Modified:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3813/JBWS3813AnnotationTestCase.java
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3813/JBWS3813TestCase.java
Log:
[JBWS-3813] Fixing test checks according to CXF-4242 changes
Modified:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3813/JBWS3813AnnotationTestCase.java
===================================================================
---
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3813/JBWS3813AnnotationTestCase.java 2014-11-13
09:03:49 UTC (rev 19104)
+++
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3813/JBWS3813AnnotationTestCase.java 2014-11-13
23:05:38 UTC (rev 19105)
@@ -67,7 +67,7 @@
} catch (javax.xml.ws.soap.SOAPFaultException ex) {
String text =
ex.getFault().getDetail().getFirstChild().getFirstChild().getTextContent();
assertTrue("stack data not found",
text.contains(EndpointTwoImpl.class.getName()));
- assertTrue("Root exception name not found",
text.startsWith("java.lang.RuntimeException : my error"));
+ assertTrue("Root exception name not found",
text.startsWith("Caused by: java.lang.RuntimeException: my error"));
}
}
}
Modified:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3813/JBWS3813TestCase.java
===================================================================
---
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3813/JBWS3813TestCase.java 2014-11-13
09:03:49 UTC (rev 19104)
+++
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3813/JBWS3813TestCase.java 2014-11-13
23:05:38 UTC (rev 19105)
@@ -68,7 +68,7 @@
} catch (javax.xml.ws.soap.SOAPFaultException ex) {
String text =
ex.getFault().getDetail().getFirstChild().getFirstChild().getTextContent();
assertTrue("stack data not found",
text.contains(EndpointOneImpl.class.getName()));
- assertTrue("Root exception name not found",
text.startsWith("java.lang.RuntimeException : my error"));
+ assertTrue("Root exception name not found",
text.startsWith("Caused by: java.lang.RuntimeException: my error"));
}
}
}
Show replies by date