-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Add unit tests for org.apache.hadoop.hbase.util.Strings #363
Add unit tests for org.apache.hadoop.hbase.util.Strings #363
Conversation
💔 -1 overall
This message was automatically generated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you fix the Checkstyle issues related to indentation? HBase project uses 2 spaces instead of 4.
You can check our Checkstyle rules here and import it to your favorite IDE. :)
hbase-common/src/test/java/org/apache/hadoop/hbase/util/TestStrings.java
Show resolved
Hide resolved
hbase-common/src/test/java/org/apache/hadoop/hbase/util/TestStrings.java
Show resolved
Hide resolved
hbase-common/src/test/java/org/apache/hadoop/hbase/util/TestStrings.java
Outdated
Show resolved
Hide resolved
hbase-common/src/test/java/org/apache/hadoop/hbase/util/TestStrings.java
Outdated
Show resolved
Hide resolved
Please create an HBASE Jira for this change at https://issues.apache.org/jira/secure/Dashboard.jspa and use it in the commit name. |
810b02e
to
07eee10
Compare
🎊 +1 overall
This message was automatically generated. |
These tests were written using Diffblue Cover.
07eee10
to
910bfb5
Compare
🎊 +1 overall
This message was automatically generated. |
…363) These tests were written using Diffblue Cover.
…363) These tests were written using Diffblue Cover.
…363) These tests were written using Diffblue Cover.
…363) These tests were written using Diffblue Cover.
…363) These tests were written using Diffblue Cover.
…363) These tests were written using Diffblue Cover.
…pache#363) These tests were written using Diffblue Cover. (cherry picked from commit f5cff4b) Change-Id: Ida942c2efe1c69e3eec2f70a6dc0e3fb86c63753
I've analysed your codebase and noticed that
org.apache.hadoop.hbase.util.Strings
is not fully tested.I've written some tests for the methods in this class with the help of Diffblue Cover.
Hopefully, these tests will 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 classes that you consider important in a subsequent PR.