[root]/src/test/org/apache/commons/lang/time
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 130 (100.0%) | 3954 (100.0%) | 30.4 |
scolebourne | 30 (23.1%) | 1911 (48.3%) | 63.7 |
bayard | 57 (43.8%) | 1065 (26.9%) | 18.6 |
stevencaswell | 8 (6.2%) | 533 (13.5%) | 66.6 |
ggregory | 26 (20.0%) | 397 (10.0%) | 15.2 |
fredrik | 2 (1.5%) | 38 (1.0%) | 19.0 |
psteitz | 1 (0.8%) | 8 (0.2%) | 8.0 |
dirkv | 6 (4.6%) | 2 (0.1%) | 0.3 |
Commenting out the unit test for LANG-312. It's not resolved yet, so failure will happen
2 lines of code changed in:
Switching the JDK test to a warning as we can't control the JDK
8 lines of code changed in:
Applying test and fix for LANG-315
12 lines of code changed in:
Also test the JDK
8 lines of code changed in:
Adding test for LANG-312. It passes for me, so I'm interested in whether it fails for anybody else.
14 lines of code changed in:
Improved #LANG-303 test to prove the formatting works on each side of the serializing
6 lines of code changed in:
Applying test for #LANG-303, and a fix.
7 lines of code changed in:
Added a test for the under a day range in formatPeriod
15 lines of code changed in:
More tests, more bugfixes (aka rewrite of the guts).
It's looking much better, the only edge case that throws it for a loop is if things start on the 29th of February in a year. I've hacked it in the day mode, but I'm not sure why I had to do that - however I trust the brute force test to be right in day mode.
In month mode, it's even trickier as to what the correct answer is. How many months between 29th Feb and 28th of Feb the next year? The answer is 11, or with days included it's 11 months and 28 days. I can't see any reason to define that better, so I'm declaring that law.
Things are weird if you start on Feb 29 :)
56 lines of code changed in:
Added new tests (failing) in comments. Improved output for debugging brute force tests.
6 lines of code changed in:
Let a few tab characters slip in - Eclipse wasn't configured yet. Replacing with spaces.
2 lines of code changed in:
More unit tests and bugfixes. The currently failing test is commented out, so more bugfixes to come.
57 lines of code changed in:
More tests added to DurationFormatUtilsTest and discovered bugs fixed in the DurationFormatUtils.formatPeriod method.
24 lines of code changed in:
Removing my @author tags
0 lines of code changed in:
Refactored duration tests to make it simpler to add new ones. Added a few edge cases to test the replacement for the += 31 code
24 lines of code changed in:
Adding a unit test for #LANG-281 and a fix. The fix involves removing the reduceAndCorrect method. It appears that this method was doing sod all - which is worrying as it used to be important. I'm guessing that it was a bad fix for a bug that was then subsequently fixed with other code. I'll create a JIRA issue to create more tests to test out the +31 block of code.
23 lines of code changed in:
#LANG-59 fails under JDK 1.3, so much as with the earlier code in this class, I've modified it so that it only runs with 1.4 and above. A warning is output, and I improved the other warning message at the same time.
5 lines of code changed in:
Fixing the ASF copyright and placing it in the NOTICE file
36 lines of code changed in:
Change "Copyright ....-2005" to "Copyright ....-2006"
6 lines of code changed in:
Added test for StopWatch.toSplitString
4 lines of code changed in:
(61 more)