aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo
diff options
context:
space:
mode:
authorrsudev <rsudev@googlemail.com>2013-06-14 16:37:06 +0200
committerrsudev <rsudev@googlemail.com>2013-06-14 16:37:06 +0200
commit29ff7727b207b13f53571e17a2c067aff4aba91f (patch)
tree396216d09e2272ad63dc06b5a51c1b6bf71ce95a /tests/src/cgeo
parent285e3404543b3b99b495d27b36cf9c2b758f6416 (diff)
downloadcgeo-29ff7727b207b13f53571e17a2c067aff4aba91f.zip
cgeo-29ff7727b207b13f53571e17a2c067aff4aba91f.tar.gz
cgeo-29ff7727b207b13f53571e17a2c067aff4aba91f.tar.bz2
Fixing Loc parser tests
Diffstat (limited to 'tests/src/cgeo')
-rw-r--r--tests/src/cgeo/geocaching/files/LocParserTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/src/cgeo/geocaching/files/LocParserTest.java b/tests/src/cgeo/geocaching/files/LocParserTest.java
index 6e00b35..3039a1f 100644
--- a/tests/src/cgeo/geocaching/files/LocParserTest.java
+++ b/tests/src/cgeo/geocaching/files/LocParserTest.java
@@ -36,7 +36,7 @@ public class LocParserTest extends AbstractResourceInstrumentationTestCase {
assertNotNull(cache);
assertEquals("OC5952", cache.getGeocode());
assertEquals("Die Schatzinsel / treasure island", cache.getName());
- assertEquals("Die unbesiegbaren Geo - Geparden", cache.getOwnerDisplayName());
+ assertEquals("Die unbesiegbaren Geo - Geparden", cache.getOwnerUserId());
assertEquals(new Geopoint(48.85968, 9.18740), cache.getCoords());
}
@@ -47,7 +47,7 @@ public class LocParserTest extends AbstractResourceInstrumentationTestCase {
assertNotNull(cache);
assertEquals("GC1BKP3", cache.getGeocode());
assertEquals("Die Schatzinsel / treasure island", cache.getName());
- assertEquals("Die unbesiegbaren Geo - Geparden", cache.getOwnerDisplayName());
+ assertEquals("Die unbesiegbaren Geo - Geparden", cache.getOwnerUserId());
assertEquals(new Geopoint(48.859683, 9.1874), cache.getCoords());
assertEquals(1.0f, cache.getDifficulty());
assertEquals(5.0f, cache.getTerrain());
@@ -61,7 +61,7 @@ public class LocParserTest extends AbstractResourceInstrumentationTestCase {
assertNotNull(waymark);
assertEquals("WM7BK7", waymark.getGeocode());
assertEquals("Römerstrasse Kornwestheim", waymark.getName());
- assertEquals("travelling", waymark.getOwnerDisplayName());
+ assertEquals("travelling", waymark.getOwnerUserId());
assertEquals(new Geopoint(48.856733, 9.197683), waymark.getCoords());
// links are not yet stored for single caches
// assertEquals("http://www.waymarking.com/waymarks/WM7BK7_Rmerstrasse_Kornwestheim", waymark.getUrl());