Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-37

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2
    • None
    • None
    • Operating System: other
      Platform: Other

    • 34715

    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.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--diff.txt
          2 kB
          Michael Heuer
        2. ASF.LICENSE.NOT.GRANTED--StrBuilderTest.java
          26 kB
          Michael Heuer

        Activity

          People

            Unassigned Unassigned
            heuermh@acm.org Michael Heuer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: