Skip to content

Conversation

@ThomasPerkins1123
Copy link
Contributor

Description

Hi,

I've analysed your code base and noticed that org.java_websocket.util.Base64 and org.java_websocket.util.Charsetfunctions are not fully tested.

I've written some tests that cover these classes with the help of Diffblue Cover.

Motivation and Context

Hopefully, these tests should help you detect any regressions caused by future code changes. If you would find it useful to have additional tests written for this repository, I would be more than happy to look at other particular classes that you consider important.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@PhilipRoman PhilipRoman self-requested a review August 12, 2019 11:13
Copy link
Collaborator

@marci4 marci4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please include the LICENSE at the start of both files? Thx

These tests were written using Diffblue Cover.
@ThomasPerkins1123
Copy link
Contributor Author

@marci4 Done!

@marci4
Copy link
Collaborator

marci4 commented Nov 20, 2019

@PhilipRoman you're good with the changes?

@PhilipRoman
Copy link
Collaborator

Yeah, sure

@marci4 marci4 merged commit 6230be5 into TooTallNate:master Nov 20, 2019
@marci4 marci4 added this to the Release 1.4.1 milestone Nov 20, 2019
@marci4
Copy link
Collaborator

marci4 commented Nov 20, 2019

@PhilipRoman thx! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants