Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-22677

Add unit tests for org.apache.hadoop.hbase.util.ByteRangeUtils and org.apache.hadoop.hbase.util.Classes

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0, 2.3.0, 2.0.6, 2.2.1, 2.1.6
    • Component/s: java, test
    • Labels:
      None
    • Environment:

      Junit

    • Hadoop Flags:
      Reviewed

      Description

      I've analysed your codebase and noticed that org.apache.hadoop.hbase.util.ByteRangeUtils and Classes 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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Braavos Eric Hettiaratchi
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: