Directory src/test/org/apache/commons/lang/time/

Directory Created:
2002-12-18 23:30
Total Files:
6
Deleted Files:
1
Lines of Code:
2516

Browse with ViewVC

[root]/src/test/org/apache/commons/lang/time

Lines of Code

src/test/org/apache/commons/lang/time/ Lines of Code

Developers

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

Most Recent Commits

bayard 2007-02-09 19:58

Commenting out the unit test for LANG-312. It's not resolved yet, so failure will happen

2 lines of code changed in:

bayard 2007-02-06 23:02

Switching the JDK test to a warning as we can't control the JDK

8 lines of code changed in:

bayard 2007-02-06 22:49

Applying test and fix for LANG-315

12 lines of code changed in:

bayard 2007-01-05 05:36

Also test the JDK

8 lines of code changed in:

bayard 2007-01-05 05:30

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:

bayard 2006-12-26 22:10

Improved #LANG-303 test to prove the formatting works on each side of the serializing

6 lines of code changed in:

bayard 2006-12-26 22:05

Applying test for #LANG-303, and a fix.

7 lines of code changed in:

bayard 2006-12-20 06:24

Added a test for the under a day range in formatPeriod

15 lines of code changed in:

bayard 2006-12-20 06:10

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:

bayard 2006-12-20 00:00

Added new tests (failing) in comments. Improved output for debugging brute force tests.

6 lines of code changed in:

bayard 2006-12-13 07:12

Let a few tab characters slip in - Eclipse wasn't configured yet. Replacing with spaces.

2 lines of code changed in:

bayard 2006-12-13 07:09

More unit tests and bugfixes. The currently failing test is commented out, so more bugfixes to come.

57 lines of code changed in:

bayard 2006-12-11 03:33

More tests added to DurationFormatUtilsTest and discovered bugs fixed in the DurationFormatUtils.formatPeriod method.

24 lines of code changed in:

bayard 2006-11-06 04:02

Removing my @author tags

0 lines of code changed in:

bayard 2006-10-09 16:57

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:

bayard 2006-10-07 00:22

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:

bayard 2006-09-19 08:18

#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:

bayard 2006-08-28 06:21

Fixing the ASF copyright and placing it in the NOTICE file

36 lines of code changed in:

ggregory 2006-08-26 21:52

Change "Copyright ....-2005" to "Copyright ....-2006"

6 lines of code changed in:

bayard 2006-08-25 06:27

Added test for StopWatch.toSplitString

4 lines of code changed in:

(61 more)

Generated by StatSVN 0.3.2-SNAPSHOT