aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/geocaching/ParserTest.java
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2011-10-22 11:46:58 +0200
committerSamuel Tardieu <sam@rfc1149.net>2011-10-22 11:46:58 +0200
commit15c43ea435b878ef96d7ba6857aad851a373d6e7 (patch)
tree050109f30db611128e37777fb699489b7612f513 /tests/src/cgeo/geocaching/ParserTest.java
parente76dddb4892cfc75823a59c925e46e70b1fe5674 (diff)
downloadcgeo-15c43ea435b878ef96d7ba6857aad851a373d6e7.zip
cgeo-15c43ea435b878ef96d7ba6857aad851a373d6e7.tar.gz
cgeo-15c43ea435b878ef96d7ba6857aad851a373d6e7.tar.bz2
Split cache loading in offline + online modes
Also, add a new "loading elevation data" step in progress dialog. This closes #701.
Diffstat (limited to 'tests/src/cgeo/geocaching/ParserTest.java')
-rw-r--r--tests/src/cgeo/geocaching/ParserTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/cgeo/geocaching/ParserTest.java b/tests/src/cgeo/geocaching/ParserTest.java
index 26e5182..1f61554 100644
--- a/tests/src/cgeo/geocaching/ParserTest.java
+++ b/tests/src/cgeo/geocaching/ParserTest.java
@@ -15,7 +15,7 @@ public class ParserTest extends InstrumentationTestCase {
}
public void testOwnerDecoding() {
- cgCacheWrap caches = cgBase.parseCache(getFileContent(R.raw.gc1zxez), 0, null);
+ cgCacheWrap caches = cgBase.parseCacheFromText(getFileContent(R.raw.gc1zxez), 0, null);
assertEquals(1, caches.cacheList.size());
final cgCache cache = caches.cacheList.get(0);
assertEquals("Ms.Marple/Mr.Stringer", cache.ownerReal);