Addressing review comments.

This commit is contained in:
Jared Casper
2011-02-09 15:13:54 -08:00
parent d50d4ae1c9
commit 2e24eab5ad
2 changed files with 16 additions and 15 deletions
@@ -82,10 +82,10 @@ public class GpxTrackWriterTest extends TrackFormatWriterTest {
Location.convert(loc.getLongitude(), GpxTrackWriter.LATLONG_FORMAT),
tag.getAttribute("lon"));
assertEquals(
GpxTrackWriter.TIMESTAMP_FORMAT.format(new Date(loc.getTime())),
GpxTrackWriter.TIMESTAMP_FORMATTER.format(new Date(loc.getTime())),
getChildTextValue(tag, "time"));
assertEquals(
GpxTrackWriter.ELEVATION_FORMAT.format(loc.getAltitude()),
GpxTrackWriter.ELEVATION_FORMATTER.format(loc.getAltitude()),
getChildTextValue(tag, "ele"));
}
}