diff options
Diffstat (limited to 'tests/src/cgeo/geocaching/connector/ec/ECConnectorTest.java')
-rw-r--r-- | tests/src/cgeo/geocaching/connector/ec/ECConnectorTest.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/src/cgeo/geocaching/connector/ec/ECConnectorTest.java b/tests/src/cgeo/geocaching/connector/ec/ECConnectorTest.java index aa6a185..f4073a9 100644 --- a/tests/src/cgeo/geocaching/connector/ec/ECConnectorTest.java +++ b/tests/src/cgeo/geocaching/connector/ec/ECConnectorTest.java @@ -32,4 +32,8 @@ public class ECConnectorTest extends TestCase { return geocache; } + public static void testGetGeocodeFromUrl() throws Exception { + assertThat(ECConnector.getInstance().getGeocodeFromUrl("http://extremcaching.com/index.php/output-2/738")).isEqualTo("EC738"); + } + } |