aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/geocaching/SettingsTest.java
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2012-11-18 09:04:04 +0100
committerBananeweizen <bananeweizen@gmx.de>2012-11-18 09:04:04 +0100
commit651965129fbc5704bc2ca2845efe0d182357ab65 (patch)
tree98f632f1142d6c4921b099ad6656fb30f03454bc /tests/src/cgeo/geocaching/SettingsTest.java
parent5034aa1042d0349c3d6ae7b7d56ee88d43b13df7 (diff)
downloadcgeo-651965129fbc5704bc2ca2845efe0d182357ab65.zip
cgeo-651965129fbc5704bc2ca2845efe0d182357ab65.tar.gz
cgeo-651965129fbc5704bc2ca2845efe0d182357ab65.tar.bz2
wrong assertion in mapfile test
* interface to settings changed, now there can be null for new devices
Diffstat (limited to 'tests/src/cgeo/geocaching/SettingsTest.java')
-rw-r--r--tests/src/cgeo/geocaching/SettingsTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/cgeo/geocaching/SettingsTest.java b/tests/src/cgeo/geocaching/SettingsTest.java
index 04fe2cb..0d395f4 100644
--- a/tests/src/cgeo/geocaching/SettingsTest.java
+++ b/tests/src/cgeo/geocaching/SettingsTest.java
@@ -24,9 +24,9 @@ public class SettingsTest extends ActivityInstrumentationTestCase2<cgeo> {
*/
public static void testSettingsException() {
final String mapFile = Settings.getMapFile();
- assertNotNull(mapFile);
// We just want to ensure that it does not throw any exception but we do not know anything about the result
MapsforgeMapProvider.isValidMapFile(mapFile);
+ assertTrue(true);
}
public static void testSettings() {