Commons Lang
  1. Commons Lang
  2. LANG-37

[lang] unit test for org.apache.commons.lang.text.StrBuilder

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

      Description

      Gary Gregory wrote:

      I hate to put a damper on things so late in the game but Clover reports
      that we have 0% code coverage for three new 2.1 classes
      (MappedMessageFormat, StrBuilder, StrTokenizer.StringMatcher) in the new
      to 2.1 package:

      http://people.apache.org/~stevencaswell/commons-lang-2.1/docs/clover/org
      /apache/commons/lang/text/pkg-summary.html

      Sadly, this makes the coverage for this new package the lowest % in all
      of [lang].

      Did someone forget to commit unit tests? This surely must be an omission
      of some kind. I cannot see us releasing without unit tests for this new
      code.

      Gary

      Attached is the start of a unit test for StrBuilder. Sorry it is not complete – I ran out of steam.

        Activity

        Michael Heuer created issue -
        Henri Yandell made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 34715 12342221
        Henri Yandell made changes -
        Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
        Affects Version/s Nightly Builds [ 12311648 ]
        Fix Version/s 2.2 [ 12311686 ]
        Project Commons [ 12310458 ] Commons Lang [ 12310481 ]
        Key COM-2069 LANG-37
        Component/s Lang [ 12311121 ]
        Henri Yandell made changes -
        Affects Version/s Nightly Builds [ 12311718 ]
        Henri Yandell made changes -
        Fix Version/s 2.2 [ 12311702 ]
        Henri Yandell made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Workflow jira [ 12371126 ] Default workflow, editable Closed status [ 12602158 ]
        Henri Yandell made changes -
        Affects Version/s Nightly Builds [ 12311718 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Michael Heuer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development