fixed joda test

This commit is contained in:
Adrian Cole 2012-03-20 09:52:41 -07:00
parent d7bbfe9cd8
commit 0560ba124b
1 changed files with 1 additions and 3 deletions

View File

@ -54,13 +54,11 @@ public class JodaDateServiceTest extends DateServiceTest {
assert dateService instanceof JodaDateService; assert dateService instanceof JodaDateService;
} }
/* FIXME Joda routines cannot parse or correctly format the 'z' format specifier, e.g. 'GMT' used in RFC822 pattern. */
@Override @Override
@Test @Test
public void testRfc822DateFormat() throws ExecutionException, InterruptedException { public void testRfc822DateFormat() throws ExecutionException, InterruptedException {
String dsString = dateService.rfc822DateFormat(testData[0].date); String dsString = dateService.rfc822DateFormat(testData[0].date);
assertEquals(dsString, testData[0].rfc822DateString.replace("GMT", "+00:00")); assertEquals(dsString, testData[0].rfc822DateString);
} }
@Override @Override