Author: sebb
Date: Tue Sep 25 02:02:21 2012
New Revision: 1389681

URL: http://svn.apache.org/viewvc?rev=1389681&view=rev
Log:
Document why tests seem to fail

Modified:
    
commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/FastDateParserTest.java

Modified: 
commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/FastDateParserTest.java
URL: 
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/FastDateParserTest.java?rev=1389681&r1=1389680&r2=1389681&view=diff
==============================================================================
--- 
commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/FastDateParserTest.java
 (original)
+++ 
commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/FastDateParserTest.java
 Tue Sep 25 02:02:21 2012
@@ -253,7 +253,9 @@ public class FastDateParserTest {
             try {
                 checkParse(locale, cal, sdf, fdf);
             } catch(ParseException ex) {
-                // TODO: why do ja_JP_JP, hi_IN, th_TH, and th_TH_TH fail?
+                // TODO: are these Java bugs?
+                // ja_JP_JP, th_TH, and th_TH_TH fail with both eras because 
the generated era name does not match
+                // ja_JP_JP fails with era BC because it converts to -2002
                 System.out.println("Locale "+locale+ " failed with "+format+" 
era "+(eraBC?"BC":"AD")+"\n" + trimMessage(ex.toString()));
             }
         }


Reply via email to