diff options
| author | mucek4 <tomaz@gorenc.org> | 2013-01-23 22:04:50 +0100 |
|---|---|---|
| committer | mucek4 <tomaz@gorenc.org> | 2013-01-23 22:08:17 +0100 |
| commit | 0ad8509d689a7a5a02609da0ec018b73ed6dbfbb (patch) | |
| tree | d9dac5d69daa8f08eaa465c673a103b9eab08dc7 /tests/src/cgeo/geocaching/connector/gc/IconDecoderTest.java | |
| parent | 90337a9543c5d35007703a566d87337e8c8f28e0 (diff) | |
| download | cgeo-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/gc/IconDecoderTest.java')
| -rw-r--r-- | tests/src/cgeo/geocaching/connector/gc/IconDecoderTest.java | 1 |
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; } |
