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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development