You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2014/04/14 21:54:37 UTC
git commit: [CXF-5687] Remove printed stack trace and replace with
proper assert
Repository: cxf
Updated Branches:
refs/heads/master 048a77ad8 -> 76fc9eb40
[CXF-5687] Remove printed stack trace and replace with proper assert
Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/76fc9eb4
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/76fc9eb4
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/76fc9eb4
Branch: refs/heads/master
Commit: 76fc9eb408f0547fde2703fac57997f265d95a10
Parents: 048a77a
Author: Daniel Kulp <dk...@apache.org>
Authored: Mon Apr 14 15:52:47 2014 -0400
Committer: Daniel Kulp <dk...@apache.org>
Committed: Mon Apr 14 15:54:23 2014 -0400
----------------------------------------------------------------------
.../cxf/systest/schema_validation/ValidationClientServerTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cxf/blob/76fc9eb4/systests/uncategorized/src/test/java/org/apache/cxf/systest/schema_validation/ValidationClientServerTest.java
----------------------------------------------------------------------
diff --git a/systests/uncategorized/src/test/java/org/apache/cxf/systest/schema_validation/ValidationClientServerTest.java b/systests/uncategorized/src/test/java/org/apache/cxf/systest/schema_validation/ValidationClientServerTest.java
index 4ebf76c..b04eda2 100644
--- a/systests/uncategorized/src/test/java/org/apache/cxf/systest/schema_validation/ValidationClientServerTest.java
+++ b/systests/uncategorized/src/test/java/org/apache/cxf/systest/schema_validation/ValidationClientServerTest.java
@@ -149,7 +149,8 @@ public class ValidationClientServerTest extends AbstractBusClientServerTestBase
} catch (DoSomethingFault e) {
fail("Should not have happened");
} catch (WebServiceException e) {
- e.printStackTrace();
+ String expected = "Value '1' is not facet-valid";
+ assertTrue(e.getMessage().indexOf(expected) != -1);
}
}