You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2015/03/10 16:35:02 UTC
cxf git commit: Fixing casting error in test
Repository: cxf
Updated Branches:
refs/heads/master 8bf53f976 -> eadcd2ce0
Fixing casting error in test
Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/eadcd2ce
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/eadcd2ce
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/eadcd2ce
Branch: refs/heads/master
Commit: eadcd2ce004d9bfefdbe0f4309570c1b104364db
Parents: 8bf53f9
Author: Colm O hEigeartaigh <co...@apache.org>
Authored: Tue Mar 10 15:34:30 2015 +0000
Committer: Colm O hEigeartaigh <co...@apache.org>
Committed: Tue Mar 10 15:34:57 2015 +0000
----------------------------------------------------------------------
.../apache/cxf/ws/security/wss4j/SignatureConfirmationTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cxf/blob/eadcd2ce/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/SignatureConfirmationTest.java
----------------------------------------------------------------------
diff --git a/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/SignatureConfirmationTest.java b/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/SignatureConfirmationTest.java
index 6ea49f1..02418a5 100644
--- a/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/SignatureConfirmationTest.java
+++ b/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/SignatureConfirmationTest.java
@@ -98,7 +98,7 @@ public class SignatureConfirmationTest extends AbstractSecurityTest {
//
// Save the signature for future confirmation
//
- List<WSHandlerResult> sigv = CastUtils.cast((List<?>)msg.get(WSHandlerConstants.SEND_SIGV));
+ List<byte[]> sigv = CastUtils.cast((List<?>)msg.get(WSHandlerConstants.SEND_SIGV));
assertNotNull(sigv);
assertTrue(sigv.size() != 0);
@@ -144,7 +144,7 @@ public class SignatureConfirmationTest extends AbstractSecurityTest {
private void testSignatureConfirmationResponse(
- List<WSHandlerResult> sigSaved,
+ List<byte[]> sigSaved,
List<WSHandlerResult> sigReceived
) throws Exception {
Document doc = readDocument("wsse-request-clean.xml");