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:45:25 GMT
Repository: cxf
Updated Branches:
  refs/heads/2.7.x-fixes 27ddeb8b1 -> 4efcd8bd4


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/4efcd8bd
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/4efcd8bd
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/4efcd8bd

Branch: refs/heads/2.7.x-fixes
Commit: 4efcd8bd42955fc30732c83180c0663d96389a55
Parents: 27ddeb8
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:37:04 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/4efcd8bd/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 3f7b181..d69334f 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