aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/geocaching/SettingsTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/cgeo/geocaching/SettingsTest.java')
-rw-r--r--tests/src/cgeo/geocaching/SettingsTest.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/src/cgeo/geocaching/SettingsTest.java b/tests/src/cgeo/geocaching/SettingsTest.java
index f113180..cedf777 100644
--- a/tests/src/cgeo/geocaching/SettingsTest.java
+++ b/tests/src/cgeo/geocaching/SettingsTest.java
@@ -32,4 +32,9 @@ public class SettingsTest extends ActivityInstrumentationTestCase2<cgeo> {
public static void testSettings() {
assertEquals(GCConstants.MEMBER_STATUS_PM, Settings.getMemberStatus());
}
+
+ public static void testDeviceHasNormalLogin() {
+ // if the unit tests were interrupted in a previous run, the device might still have the "temporary" login data from the last tests
+ assertFalse("c:geo".equals(Settings.getUsername()));
+ }
}