aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/geocaching/utils
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2013-02-03 14:32:06 +0100
committerSamuel Tardieu <sam@rfc1149.net>2013-02-03 14:39:11 +0100
commit0f2eb5549ee2177ba1725213804dd712b740ef0b (patch)
tree70db7d1cb9b0ac3640e5441abbc2dbcfa4af8dfc /tests/src/cgeo/geocaching/utils
parentb53b6303ae321276d8c25d6a492372ac615580a2 (diff)
downloadcgeo-0f2eb5549ee2177ba1725213804dd712b740ef0b.zip
cgeo-0f2eb5549ee2177ba1725213804dd712b740ef0b.tar.gz
cgeo-0f2eb5549ee2177ba1725213804dd712b740ef0b.tar.bz2
Make LazyInitializedList<E> a List<E>
Diffstat (limited to 'tests/src/cgeo/geocaching/utils')
-rw-r--r--tests/src/cgeo/geocaching/utils/LazyInitializedListTest.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/src/cgeo/geocaching/utils/LazyInitializedListTest.java b/tests/src/cgeo/geocaching/utils/LazyInitializedListTest.java
index b3eaedf..e570b1d 100644
--- a/tests/src/cgeo/geocaching/utils/LazyInitializedListTest.java
+++ b/tests/src/cgeo/geocaching/utils/LazyInitializedListTest.java
@@ -34,14 +34,4 @@ public class LazyInitializedListTest extends TestCase {
list.set((ArrayList<String>) null);
}
- public static void testUnmodifiable() {
- final MockedLazyInitializedList list = new MockedLazyInitializedList();
- boolean unsupported = false;
- try {
- list.asList().add("this is not possible");
- } catch (UnsupportedOperationException e) {
- unsupported = true;
- }
- assertTrue(unsupported);
- }
}