NanoHttpd / nanohttpd

Tiny, easily embeddable HTTP server in Java.
http://nanohttpd.org
BSD 3-Clause "New" or "Revised" License
6.92k stars 1.69k forks source link

Add unit tests for org.nanohttpd.protocols.websockets.WebSocketFrame #532

Closed paulkennethkent closed 4 years ago

paulkennethkent commented 5 years ago

Hi, I've analysed your codebase and seen some gaps in the coverage of:

• org.nanohttpd.protocols.websockets.WebSocketFrame (87% of lines now covered)

I've written the tests for these functions with the help of Diffblue Cover.

Hopefully, these tests should help you detect regressions caused by future code changes.

coveralls commented 5 years ago

Coverage Status

Coverage increased (+1.6%) to 86.736% when pulling 78c90555272bb76e0d2db85505145c3270509df2 on Diffblue-benchmarks:add-diffblue-tests into b04a342a4bcd0ff44be65138acffc73a29381c72 on NanoHttpd:master.