aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/geocaching/files/GPXParserTest.java
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2014-05-31 09:41:16 +0200
committerBananeweizen <bananeweizen@gmx.de>2014-05-31 09:41:16 +0200
commit6f3a6e60f8a8ca44494a021c911c01fa26b931bc (patch)
tree2238327dc2e8df792a2fb2b07c3e8d9a2b3ef0a5 /tests/src/cgeo/geocaching/files/GPXParserTest.java
parent2bc6c925216b2b2b8cd921cd7996b4cb8657bac4 (diff)
downloadcgeo-6f3a6e60f8a8ca44494a021c911c01fa26b931bc.zip
cgeo-6f3a6e60f8a8ca44494a021c911c01fa26b931bc.tar.gz
cgeo-6f3a6e60f8a8ca44494a021c911c01fa26b931bc.tar.bz2
fix broken unit tests
Diffstat (limited to 'tests/src/cgeo/geocaching/files/GPXParserTest.java')
-rw-r--r--tests/src/cgeo/geocaching/files/GPXParserTest.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/src/cgeo/geocaching/files/GPXParserTest.java b/tests/src/cgeo/geocaching/files/GPXParserTest.java
index 0f85109..49b0d53 100644
--- a/tests/src/cgeo/geocaching/files/GPXParserTest.java
+++ b/tests/src/cgeo/geocaching/files/GPXParserTest.java
@@ -16,8 +16,6 @@ import cgeo.geocaching.test.AbstractResourceInstrumentationTestCase;
import cgeo.geocaching.test.R;
import cgeo.geocaching.utils.SynchronizedDateFormat;
-import org.apache.commons.lang3.StringUtils;
-
import java.io.IOException;
import java.io.InputStream;
import java.text.ParseException;
@@ -320,7 +318,7 @@ public class GPXParserTest extends AbstractResourceInstrumentationTestCase {
assertThat(waymark).isNotNull();
assertThat(waymark.getGeocode()).isEqualTo("WM7BM7");
assertThat(waymark.getName()).isEqualTo("Roman water pipe Kornwestheim");
- assertThat(StringUtils.isNotBlank(waymark.getBrowserUrl())).isTrue(); // connector must be able to create it
+ assertThat(waymark.getUrl()).isNotEmpty(); // connector must be able to create it
assertThat(waymark.getType()).isEqualTo(CacheType.UNKNOWN);
assertThat(waymark.getSize()).isEqualTo(CacheSize.UNKNOWN);
}