aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo
diff options
context:
space:
mode:
authorMarco Jacob <mjacob@union06.de>2013-03-27 20:48:27 +0100
committerMarco Jacob <mjacob@union06.de>2013-03-27 20:48:27 +0100
commitd2500fe31f90a9aedcde5676f1b02da9f58e88ef (patch)
tree98a7cc00625353ed6f9f7b8f7c37d072f62e3f6d /tests/src/cgeo
parent4e5357b0006400668e3cbbc513ae6ac2882eb369 (diff)
downloadcgeo-d2500fe31f90a9aedcde5676f1b02da9f58e88ef.zip
cgeo-d2500fe31f90a9aedcde5676f1b02da9f58e88ef.tar.gz
cgeo-d2500fe31f90a9aedcde5676f1b02da9f58e88ef.tar.bz2
more checks in static maps test
Diffstat (limited to 'tests/src/cgeo')
-rw-r--r--tests/src/cgeo/geocaching/StaticMapsProviderTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/src/cgeo/geocaching/StaticMapsProviderTest.java b/tests/src/cgeo/geocaching/StaticMapsProviderTest.java
index cbace10..60fb1d3 100644
--- a/tests/src/cgeo/geocaching/StaticMapsProviderTest.java
+++ b/tests/src/cgeo/geocaching/StaticMapsProviderTest.java
@@ -44,6 +44,8 @@ public class StaticMapsProviderTest extends TestCase {
assertFalse(StaticMapsProvider.hasStaticMapForWaypoint(geocode, theFinal));
assertFalse(StaticMapsProvider.hasStaticMapForWaypoint(geocode, trailhead));
+ StaticMapsProvider.DownloadState state = StaticMapsProvider.storeCachePreviewMap(cache);
+ assertEquals(StaticMapsProvider.DownloadState.OK, state);
// download
StaticMapsProvider.downloadMaps(cache);