From 0ad8509d689a7a5a02609da0ec018b73ed6dbfbb Mon Sep 17 00:00:00 2001 From: mucek4 Date: Wed, 23 Jan 2013 22:04:50 +0100 Subject: Caches need to have a geocode for tests --- tests/src/cgeo/geocaching/connector/gc/IconDecoderTest.java | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit v1.1