Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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.