playframework/play-samples

Use Play's WebSocketClient in samples

ignasi35 opened this issue · 2 comments

There are 4 different variants of WebSocket.java in variosu samples on play-samples:

MD5 (play-java-chatroom-example/test/controllers/WebSocketClient.java) = dd467ea512ecd3b5e4075a456cec6ec4
MD5 (play-java-websocket-example/test/controllers/WebSocketClient.java) = 4eabd6c7627da67173ecd32713b8547c
MD5 (play-scala-chatroom-example/test/controllers/WebSocketClient.java) = dd3b5b4c72dcaaed02e32d287aca6708
MD5 (play-scala-websocket-example/test/controllers/WebSocketClient.java) = ce5101be52df25961bc51ace1a213c96

Despite being different, it's very likely they can be merged and even promoted to Play's testkit tools.

So, let's change this to: Use Play's WebSocketClient in samples