From a02fe9aa44d97b6230a50678ab8d8536e03264e5 Mon Sep 17 00:00:00 2001 From: Bananeweizen Date: Fri, 29 Jun 2012 19:37:05 +0200 Subject: #1833: recognize localized waypoint type names * we may want to fix the export of those nonetheless --- tests/src/cgeo/geocaching/files/GPXParserTest.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/src') diff --git a/tests/src/cgeo/geocaching/files/GPXParserTest.java b/tests/src/cgeo/geocaching/files/GPXParserTest.java index 8193fd8..5ba4081 100644 --- a/tests/src/cgeo/geocaching/files/GPXParserTest.java +++ b/tests/src/cgeo/geocaching/files/GPXParserTest.java @@ -107,6 +107,8 @@ public class GPXParserTest extends AbstractResourceInstrumentationTestCase { assertEquals(WaypointType.TRAILHEAD, GPXParser.convertWaypointSym2Type("Trailhead")); assertEquals(WaypointType.FINAL, GPXParser.convertWaypointSym2Type("Final location")); assertEquals(WaypointType.WAYPOINT, GPXParser.convertWaypointSym2Type("Reference point")); + + assertEquals(WaypointType.PARKING, GPXParser.convertWaypointSym2Type(WaypointType.PARKING.getL10n())); } private static void assertGc31j2h(final cgCache cache) { -- cgit v1.1