diff options
Diffstat (limited to 'tests/src/cgeo/geocaching/files/GPXParserTest.java')
-rw-r--r-- | tests/src/cgeo/geocaching/files/GPXParserTest.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/src/cgeo/geocaching/files/GPXParserTest.java b/tests/src/cgeo/geocaching/files/GPXParserTest.java index 53b6c33..8193fd8 100644 --- a/tests/src/cgeo/geocaching/files/GPXParserTest.java +++ b/tests/src/cgeo/geocaching/files/GPXParserTest.java @@ -231,4 +231,14 @@ public class GPXParserTest extends AbstractResourceInstrumentationTestCase { // previously these caches overwrote each other during parsing assertEquals(130, caches.size()); } + + public void testGeoToad() throws Exception { + final List<cgCache> caches = readGPX10(R.raw.geotoad); + assertEquals(2, caches.size()); + cgCache cache; + cache = caches.get(0); + assertEquals("GC2KN6K", cache.getGeocode()); + cache = caches.get(1); + assertEquals("GC1T3MK", cache.getGeocode()); + } } |