Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review javax-websocket-server tests #3165

Closed
gregw opened this issue Nov 29, 2018 · 2 comments
Closed

Review javax-websocket-server tests #3165

gregw opened this issue Nov 29, 2018 · 2 comments
Assignees
Labels
Milestone

Comments

@gregw
Copy link
Contributor

gregw commented Nov 29, 2018

There is only a single unit test in javax-websocket-server, yet about 10 classes. I suspect most of those classes are not used. Please review and cleanup.

@joakime joakime added this to the 10.0.x milestone Nov 29, 2018
@joakime joakime changed the title Jetty-10 javax-websocket-server tests Review javax-websocket-server tests Nov 29, 2018
@joakime joakime added the Test label Nov 29, 2018
lachlan-roberts added a commit to lachlan-roberts/jetty.project that referenced this issue Jan 2, 2019
moved DummyServerContainer to an nested class in PathParamTest
removed some example classes

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
@lachlan-roberts
Copy link
Contributor

@gregw these unused classes are example classes which may be used in documentation and for debugging purposes

lachlan-roberts added a commit to lachlan-roberts/jetty.project that referenced this issue Feb 13, 2019
- Redesigned the proxy into a new class called WebSocketProxy containing
a Client2Proxy FrameHandler and a Server2Proxy FrameHandler

- WebSocketProxy uses synchronized blocks with an enum state instead
of the previous compare and sets

- Created a new test similar to ProxyFrameHandlerTest to test the new
WebSocketProxy

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit to lachlan-roberts/jetty.project that referenced this issue Feb 18, 2019
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit to lachlan-roberts/jetty.project that referenced this issue Feb 18, 2019
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit to lachlan-roberts/jetty.project that referenced this issue Feb 18, 2019
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit to lachlan-roberts/jetty.project that referenced this issue Feb 18, 2019
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit to lachlan-roberts/jetty.project that referenced this issue Feb 19, 2019
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit to lachlan-roberts/jetty.project that referenced this issue Feb 19, 2019
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit to lachlan-roberts/jetty.project that referenced this issue Feb 19, 2019
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit to lachlan-roberts/jetty.project that referenced this issue Feb 20, 2019
Signed-off-by: lachan-roberts <lachlan@webtide.com>
gregw added a commit that referenced this issue Feb 20, 2019
…-websocket-server-tests

Issue #3165 - javax-websocket-server tests
lachlan-roberts added a commit to lachlan-roberts/jetty.project that referenced this issue Feb 22, 2019
…ver pom

Signed-off-by: lachan-roberts <lachlan@webtide.com>
sbordet added a commit that referenced this issue Feb 22, 2019
…-websocket-server-tests

Issue #3165 use add-exports instead of add-opens in javax WS-Server pom
lachlan-roberts added a commit to lachlan-roberts/jetty.project that referenced this issue Mar 1, 2019
…ver pom

Signed-off-by: lachan-roberts <lachlan@webtide.com>
@lachlan-roberts
Copy link
Contributor

There is now WebSocketServerExamplesTest which runs and tests all of the example classes. The remaining classes for JsrBrowserDebugTool are important for debugging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants