cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject cxf git commit: Fixing casting error in test
Date Tue, 10 Mar 2015 15:35:02 GMT
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 <coheigea@apache.org>
Authored: Tue Mar 10 15:34:30 2015 +0000
Committer: Colm O hEigeartaigh <coheigea@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");


Mime
View raw message