diff options
Diffstat (limited to 'tests/src/cgeo/geocaching/cgBaseTest.java')
-rw-r--r-- | tests/src/cgeo/geocaching/cgBaseTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/cgeo/geocaching/cgBaseTest.java b/tests/src/cgeo/geocaching/cgBaseTest.java index e9e65a8..f772ead 100644 --- a/tests/src/cgeo/geocaching/cgBaseTest.java +++ b/tests/src/cgeo/geocaching/cgBaseTest.java @@ -79,8 +79,8 @@ public class cgBaseTest extends AndroidTestCase { for (MockedCache mockedCache : RegExPerformanceTest.MOCKED_CACHES) { // to get the same results we have to use the date format used when the mocked data was created Settings.setGcCustomDate(mockedCache.getDateFormat()); - cgCacheWrap caches = cgBase.parseCacheFromText(mockedCache.getData(), 0, null); - cgCache parsedCache = caches.cacheList.get(0); + ParseResult parseResult = cgBase.parseCacheFromText(mockedCache.getData(), 0, null); + cgCache parsedCache = parseResult.cacheList.get(0); cgBaseTest.testCompareCaches(mockedCache, parsedCache); } Settings.setGcCustomDate(gcCustomDate); |