aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/geocaching/connector/opencaching/OkapiClientTest.java
blob: d5dfac191284c9595db30497823b998ee5966b1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package cgeo.geocaching.connector.opencaching;

import cgeo.geocaching.cgCache;

import android.test.AndroidTestCase;

public class OkapiClientTest extends AndroidTestCase {

    public static void testGetOCCache() {
        String geoCode = "OU0331";
        cgCache cache = OkapiClient.getCache(geoCode);
        assertNotNull(cache);
        assertEquals(geoCode, cache.getGeocode());
        assertEquals("Oshkosh Municipal Tank", cache.getName());
    }

}