blob: bb3bee87defb71926594ed407b3d0db86d6fe3f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
package cgeo.geocaching.test;
import cgeo.geocaching.Settings;
import cgeo.geocaching.cgeo;
import android.test.ActivityInstrumentationTestCase2;
public class SettingsTest extends ActivityInstrumentationTestCase2<cgeo> {
public SettingsTest() {
super("cgeo.geocaching", cgeo.class);
}
@Override
protected void setUp() throws Exception {
super.setUp();
}
/**
* access settings.
* this should work fine without an exception (once there was an exception because of the empty map file string)
*/
public void testSettingsException() {
// asserts A OR NOT A, because we don't know what the settings are on any device or emulator
assertTrue(Settings.isValidMapFile() || !Settings.isValidMapFile());
}
}
|