aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2014-12-08 08:57:09 +0100
committerBananeweizen <bananeweizen@gmx.de>2014-12-08 08:57:09 +0100
commit7be9899f446abc79209a0a2f2b3ddc8a5a7e3c70 (patch)
tree5a5cce06e031f3bf322b680b3b8908d76d336920 /tests
parent79c6daef89cd873b3a5b8d495b15493d7b1c773f (diff)
downloadcgeo-7be9899f446abc79209a0a2f2b3ddc8a5a7e3c70.zip
cgeo-7be9899f446abc79209a0a2f2b3ddc8a5a7e3c70.tar.gz
cgeo-7be9899f446abc79209a0a2f2b3ddc8a5a7e3c70.tar.bz2
avoid static warning in Eclipse
Diffstat (limited to 'tests')
-rw-r--r--tests/src/cgeo/geocaching/connector/gc/GCLoginTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/src/cgeo/geocaching/connector/gc/GCLoginTest.java b/tests/src/cgeo/geocaching/connector/gc/GCLoginTest.java
index 07ba646..fc23ab3 100644
--- a/tests/src/cgeo/geocaching/connector/gc/GCLoginTest.java
+++ b/tests/src/cgeo/geocaching/connector/gc/GCLoginTest.java
@@ -6,10 +6,10 @@ import cgeo.geocaching.enumerations.StatusCode;
import org.apache.commons.lang3.StringUtils;
-import junit.framework.TestCase;
-
import android.test.suitebuilder.annotation.Suppress;
+import junit.framework.TestCase;
+
public class GCLoginTest extends TestCase {
final GCLogin instance = GCLogin.getInstance();
@@ -20,7 +20,7 @@ public class GCLoginTest extends TestCase {
assertThat(instance.login()).isEqualTo(StatusCode.NO_ERROR);
}
- public void testHomeLocation() {
+ public static void testHomeLocation() {
assertThat(StringUtils.isNotBlank(GCLogin.retrieveHomeLocation())).isTrue();
}