cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject git commit: make websocket test utility to handle both string and byte[] transparently (correction)
Date Thu, 13 Mar 2014 13:45:54 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 0e8efba29 -> 5748b2981


make websocket test utility to handle both string and byte[] transparently (correction)


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/5748b298
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/5748b298
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/5748b298

Branch: refs/heads/master
Commit: 5748b2981da7c3e72d7fd2cd7701469c64c5c349
Parents: 0e8efba
Author: Akitoshi Yoshida <ay@apache.org>
Authored: Thu Mar 13 14:45:23 2014 +0100
Committer: Akitoshi Yoshida <ay@apache.org>
Committed: Thu Mar 13 14:45:39 2014 +0100

----------------------------------------------------------------------
 .../apache/cxf/systest/jaxrs/websocket/WebSocketTestClient.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/5748b298/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/websocket/WebSocketTestClient.java
----------------------------------------------------------------------
diff --git a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/websocket/WebSocketTestClient.java
b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/websocket/WebSocketTestClient.java
index d47b7eb..ef7834c 100644
--- a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/websocket/WebSocketTestClient.java
+++ b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/websocket/WebSocketTestClient.java
@@ -154,7 +154,7 @@ class WebSocketTestClient {
                                 it.remove();
                             }
                         }
-                        received.add(bao.toString());
+                        received.add(bao.toByteArray());
                     }
                 }
             }


Mime
View raw message