aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/geocaching/connector
diff options
context:
space:
mode:
authormucek4 <tomaz@gorenc.org>2013-01-23 22:04:50 +0100
committermucek4 <tomaz@gorenc.org>2013-01-23 22:08:17 +0100
commit0ad8509d689a7a5a02609da0ec018b73ed6dbfbb (patch)
treed9dac5d69daa8f08eaa465c673a103b9eab08dc7 /tests/src/cgeo/geocaching/connector
parent90337a9543c5d35007703a566d87337e8c8f28e0 (diff)
downloadcgeo-0ad8509d689a7a5a02609da0ec018b73ed6dbfbb.zip
cgeo-0ad8509d689a7a5a02609da0ec018b73ed6dbfbb.tar.gz
cgeo-0ad8509d689a7a5a02609da0ec018b73ed6dbfbb.tar.bz2
Caches need to have a geocode for tests
Diffstat (limited to 'tests/src/cgeo/geocaching/connector')
-rw-r--r--tests/src/cgeo/geocaching/connector/gc/IconDecoderTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/src/cgeo/geocaching/connector/gc/IconDecoderTest.java b/tests/src/cgeo/geocaching/connector/gc/IconDecoderTest.java
index 33f936e..0477cc7 100644
--- a/tests/src/cgeo/geocaching/connector/gc/IconDecoderTest.java
+++ b/tests/src/cgeo/geocaching/connector/gc/IconDecoderTest.java
@@ -31,6 +31,7 @@ public class IconDecoderTest extends AbstractResourceInstrumentationTestCase {
private static cgCache parseMapPNG(Bitmap bitmap, int x, int y, int zoomlevel) {
final cgCache cache = new cgCache();
+ cache.setGeocode("GC30");
IconDecoder.parseMapPNG(cache, bitmap, new UTFGridPosition(x / 4, y / 4), zoomlevel);
return cache;
}