Document why tests seem to fail

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1389681 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2012-09-25 02:02:21 +00:00
parent 62d5c0eecb
commit f621ea87cc
1 changed files with 3 additions and 1 deletions

View File

@ -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()));
}
}