aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2013-02-20 22:16:31 +0100
committerBananeweizen <bananeweizen@gmx.de>2013-02-20 22:16:31 +0100
commit0306388344e587c3f9466f70a0e4d4ea2b7be060 (patch)
tree208600ffaddad42b66d4736de38f1a0f5c260bb6 /tests/src
parente7424388bbbc3d944300abdd2d0fef9863cb1df4 (diff)
downloadcgeo-0306388344e587c3f9466f70a0e4d4ea2b7be060.zip
cgeo-0306388344e587c3f9466f70a0e4d4ea2b7be060.tar.gz
cgeo-0306388344e587c3f9466f70a0e4d4ea2b7be060.tar.bz2
#2498: login page changes
Diffstat (limited to 'tests/src')
-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 0d395f4..7713fae 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(Settings.getMemberStatus(), GCConstants.MEMBER_STATUS_PM);
}
+
+ 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()));
+ }
}