diff options
| author | Bananeweizen <bananeweizen@gmx.de> | 2013-08-19 23:16:17 +0200 |
|---|---|---|
| committer | Bananeweizen <bananeweizen@gmx.de> | 2013-08-19 23:16:17 +0200 |
| commit | dbfad2a1987eb3437e69945b2f9f4c75e8abda08 (patch) | |
| tree | b87f339ed5ce604168d47974790a77e908b92986 /tests/src | |
| parent | 4961c91fd36c9d255633c21e7dcbe0487f7a3ad0 (diff) | |
| download | cgeo-dbfad2a1987eb3437e69945b2f9f4c75e8abda08.zip cgeo-dbfad2a1987eb3437e69945b2f9f4c75e8abda08.tar.gz cgeo-dbfad2a1987eb3437e69945b2f9f4c75e8abda08.tar.bz2 | |
fix #3144: GPX import problem
Diffstat (limited to 'tests/src')
| -rw-r--r-- | tests/src/cgeo/geocaching/files/GPXParserTest.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/src/cgeo/geocaching/files/GPXParserTest.java b/tests/src/cgeo/geocaching/files/GPXParserTest.java index 642ca08..892b2a0 100644 --- a/tests/src/cgeo/geocaching/files/GPXParserTest.java +++ b/tests/src/cgeo/geocaching/files/GPXParserTest.java @@ -295,6 +295,14 @@ public class GPXParserTest extends AbstractResourceInstrumentationTestCase { assertEquals(CacheSize.UNKNOWN, waymark.getSize()); } + /** + * This one uses geocodes where the first character is actually a digit, not a character + */ + public void testGCTour() throws Exception { + final List<Geocache> caches = readGPX10(R.raw.gctour_gpx); + assertEquals(54, caches.size()); + } + public void testOX() throws IOException, ParserException { final List<Geocache> caches = readGPX10(R.raw.ox1ry0y_gpx); assertEquals(1, caches.size()); |
