blob: 985236a8be0aa6a9162de27221c0806ce4e240a9 (
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.list;
import cgeo.geocaching.DataStore;
import junit.framework.TestCase;
public class StoredListTest extends TestCase {
public static void testStandardListExists() {
final StoredList list = getStandardList();
assertNotNull(list);
}
private static StoredList getStandardList() {
return DataStore.getList(StoredList.STANDARD_LIST_ID);
}
public static void testEquals() {
final StoredList list1 = getStandardList();
final StoredList list2 = getStandardList();
assertEquals(list1, list2);
}
public static void testConcrete() {
assertTrue(getStandardList().isConcrete());
}
}
|