aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/geocaching/CgeoApplicationTest.java
diff options
context:
space:
mode:
authorrsudev <rasch@munin-soft.de>2014-01-23 16:07:36 +0100
committerrsudev <rasch@munin-soft.de>2014-01-23 16:07:36 +0100
commit536bdbb726986282dba14f0924f11eddfd32ecab (patch)
tree44cb00fc686a96fd7d790671aa798d99c1e60094 /tests/src/cgeo/geocaching/CgeoApplicationTest.java
parent4b55eaec9ce615597e7b21dee48a3c9bad66c0a1 (diff)
downloadcgeo-536bdbb726986282dba14f0924f11eddfd32ecab.zip
cgeo-536bdbb726986282dba14f0924f11eddfd32ecab.tar.gz
cgeo-536bdbb726986282dba14f0924f11eddfd32ecab.tar.bz2
Corrections for null analysis
Diffstat (limited to 'tests/src/cgeo/geocaching/CgeoApplicationTest.java')
-rw-r--r--tests/src/cgeo/geocaching/CgeoApplicationTest.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/src/cgeo/geocaching/CgeoApplicationTest.java b/tests/src/cgeo/geocaching/CgeoApplicationTest.java
index 183b246..b9c03a4 100644
--- a/tests/src/cgeo/geocaching/CgeoApplicationTest.java
+++ b/tests/src/cgeo/geocaching/CgeoApplicationTest.java
@@ -26,7 +26,6 @@ import cgeo.geocaching.utils.CancellableHandler;
import cgeo.geocaching.utils.Log;
import cgeo.test.Compare;
-import junit.framework.Assert;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.tuple.ImmutablePair;
@@ -35,6 +34,8 @@ import android.test.suitebuilder.annotation.SmallTest;
import java.util.GregorianCalendar;
+import junit.framework.Assert;
+
/**
* The c:geo application test. It can be used for tests that require an
* application and/or context.
@@ -72,6 +73,7 @@ public class CgeoApplicationTest extends CGeoTestCase {
public static void testSearchTrackable() {
final Trackable tb = GCParser.searchTrackable("TB2J1VZ", null, null);
assertNotNull(tb);
+ assert (tb != null); // eclipse bug
// fix data
assertEquals("aefffb86-099f-444f-b132-605436163aa8", tb.getGuid());
assertEquals("TB2J1VZ", tb.getGeocode());