diff options
| author | Bananeweizen <bananeweizen@gmx.de> | 2015-02-13 23:10:47 +0100 |
|---|---|---|
| committer | Bananeweizen <bananeweizen@gmx.de> | 2015-02-13 23:10:47 +0100 |
| commit | 0b77441d721dbd444c0a4675978fecf753ad79f6 (patch) | |
| tree | 281dc5950ab800412e36c23f619d09554d59c5ab /tests/src/cgeo/geocaching/connector/gc | |
| parent | 1d9a1922ca9ab563d686150ca20a153b20a378d7 (diff) | |
| download | cgeo-0b77441d721dbd444c0a4675978fecf753ad79f6.zip cgeo-0b77441d721dbd444c0a4675978fecf753ad79f6.tar.gz cgeo-0b77441d721dbd444c0a4675978fecf753ad79f6.tar.bz2 | |
some more connector tests
Diffstat (limited to 'tests/src/cgeo/geocaching/connector/gc')
| -rw-r--r-- | tests/src/cgeo/geocaching/connector/gc/GCConnectorTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/src/cgeo/geocaching/connector/gc/GCConnectorTest.java b/tests/src/cgeo/geocaching/connector/gc/GCConnectorTest.java index 24f65fd..30a9af9 100644 --- a/tests/src/cgeo/geocaching/connector/gc/GCConnectorTest.java +++ b/tests/src/cgeo/geocaching/connector/gc/GCConnectorTest.java @@ -82,7 +82,7 @@ public class GCConnectorTest extends AbstractResourceInstrumentationTestCase { assertTileAt(7536, 4915, new Tile(new Geopoint("S 33° 50.326 E 151° 12.426"), 13)); } - private static void assertTileAt(int x, int y, final Tile tile) { + private static void assertTileAt(final int x, final int y, final Tile tile) { assertThat(tile.getX()).isEqualTo(x); assertThat(tile.getY()).isEqualTo(y); } @@ -96,5 +96,6 @@ public class GCConnectorTest extends AbstractResourceInstrumentationTestCase { assertThat(GCConnector.getInstance().getGeocodeFromUrl("http://coord.info/TB1234")).isNull(); assertThat(GCConnector.getInstance().getGeocodeFromUrl("http://www.coord.info/TB1234")).isNull(); + assertThat(GCConnector.getInstance().getGeocodeFromUrl("http://www.coord.info/WM1234")).isNull(); } } |
