commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arbasha <...@git.apache.org>
Subject [GitHub] commons-lang pull request #265: LANG-1325: Increase test coverage of ToStrin...
Date Sat, 29 Apr 2017 13:18:23 GMT
GitHub user arbasha opened a pull request:

    https://github.com/apache/commons-lang/pull/265

    LANG-1325: Increase test coverage of ToStringBuilder class to 100%

    Adding test cases to test the following methods of "ToStringBuilder" class. With this,
the code coverage stands at 100%.
    1) append(final String fieldName, final boolean[] array)
    2) append(final String fieldName, final boolean[] array, final boolean fullDetail)
    3) append(final String fieldName, final byte[] array)
    4) append(final String fieldName, final byte[] array, final boolean fullDetail)
    5) append(final String fieldName, final char[] array)
    6) append(final String fieldName, final char[] array, final boolean fullDetail)
    7) append(final String fieldName, final double[] array)
    8) append(final String fieldName, final double[] array, final boolean fullDetail)
    9) append(final String fieldName, final float[] array)
    10) append(final String fieldName, final float[] array, final boolean fullDetail)
    11) append(final String fieldName, final int[] array)
    12) append(final String fieldName, final int[] array, final boolean fullDetail)
    13) append(final String fieldName, final long[] array)
    14) append(final String fieldName, final long[] array, final boolean fullDetail)
    15) append(final String fieldName, final Object[] array)
    16) append(final String fieldName, final Object[] array, final boolean fullDetail)
    17) append(final String fieldName, final short[] array)
    18) append(final String fieldName, final short[] array, final boolean fullDetail)
    19) appendAsObjectToString(final Object srcObject)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/arbasha/commons-lang inc_cov

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/commons-lang/pull/265.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #265
    
----
commit 32d7c570b2221b6c53a8523f518fe629d3cffc4d
Author: Basha <arbasha@paypalcorp.com>
Date:   2017-04-29T12:41:13Z

    Increase test coverage of ToStringBuilder class to 100%

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message