From 0e449ed70401c66701bf4f9d021486d0e99fc140 Mon Sep 17 00:00:00 2001 From: vibul Date: Mon, 19 Dec 2011 08:49:51 +1100 Subject: [PATCH] Change test names to web socket wire version --- ...shaker10Test.java => WebSocketServerHandshaker08Test.java} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename src/test/java/io/netty/handler/codec/http/websocketx/{WebSocketServerHandshaker10Test.java => WebSocketServerHandshaker08Test.java} (95%) diff --git a/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketServerHandshaker10Test.java b/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketServerHandshaker08Test.java similarity index 95% rename from src/test/java/io/netty/handler/codec/http/websocketx/WebSocketServerHandshaker10Test.java rename to src/test/java/io/netty/handler/codec/http/websocketx/WebSocketServerHandshaker08Test.java index 17f6e67ea8..aa3470b745 100644 --- a/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketServerHandshaker10Test.java +++ b/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketServerHandshaker08Test.java @@ -36,7 +36,7 @@ import org.easymock.EasyMock; import org.junit.Assert; import org.junit.Test; -public class WebSocketServerHandshaker10Test { +public class WebSocketServerHandshaker08Test { private DefaultChannelPipeline createPipeline() { DefaultChannelPipeline pipeline = new DefaultChannelPipeline(); @@ -68,7 +68,7 @@ public class WebSocketServerHandshaker10Test { req.setHeader(Names.SEC_WEBSOCKET_PROTOCOL, "chat, superchat"); req.setHeader(Names.SEC_WEBSOCKET_VERSION, "8"); - WebSocketServerHandshaker10 handsaker = new WebSocketServerHandshaker10("ws://example.com/chat", "chat", false); + WebSocketServerHandshaker08 handsaker = new WebSocketServerHandshaker08("ws://example.com/chat", "chat", false); handsaker.performOpeningHandshake(channelMock, req); Assert.assertEquals("s3pPLMBiTxaQ9kYGzzhZRbK+xOo=", res.getValue().getHeader(Names.SEC_WEBSOCKET_ACCEPT));