aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/geocaching/StoredListTest.java
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2013-01-07 22:23:41 +0100
committerBananeweizen <bananeweizen@gmx.de>2013-01-07 22:23:41 +0100
commit7d3bc4a36c32b073f07772afff2dcabf8e0ed266 (patch)
tree77a9e37f00b71167be4b088e302ca746cddd2550 /tests/src/cgeo/geocaching/StoredListTest.java
parent60ef814599dfac0959eb1fea758916089c54845c (diff)
downloadcgeo-7d3bc4a36c32b073f07772afff2dcabf8e0ed266.zip
cgeo-7d3bc4a36c32b073f07772afff2dcabf8e0ed266.tar.gz
cgeo-7d3bc4a36c32b073f07772afff2dcabf8e0ed266.tar.bz2
new: suppress current list in "move to list"
Diffstat (limited to 'tests/src/cgeo/geocaching/StoredListTest.java')
-rw-r--r--tests/src/cgeo/geocaching/StoredListTest.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/src/cgeo/geocaching/StoredListTest.java b/tests/src/cgeo/geocaching/StoredListTest.java
new file mode 100644
index 0000000..6d8fd64
--- /dev/null
+++ b/tests/src/cgeo/geocaching/StoredListTest.java
@@ -0,0 +1,18 @@
+package cgeo.geocaching;
+
+import junit.framework.TestCase;
+
+public class StoredListTest extends TestCase {
+
+ public static void testStandardListExists() {
+ StoredList list = cgData.getList(StoredList.STANDARD_LIST_ID);
+ assertNotNull(list);
+ }
+
+ public static void testEquals() {
+ StoredList list1 = cgData.getList(StoredList.STANDARD_LIST_ID);
+ StoredList list2 = cgData.getList(StoredList.STANDARD_LIST_ID);
+ assertEquals(list1, list2);
+ }
+
+}