diff options
| author | Michael Keppler <michael.keppler@gmx.de> | 2014-04-23 10:40:55 +0200 |
|---|---|---|
| committer | Michael Keppler <michael.keppler@gmx.de> | 2014-04-23 10:40:55 +0200 |
| commit | 97b047e525aaab3df7e5f6b2481f3109f193516e (patch) | |
| tree | 91547b426c92f2c8cad20fac8f17208fc4aa4e2c /tests/src | |
| parent | cc9aa8b1d2b9ec24f2c41e4a523c69edcf8c8ac0 (diff) | |
| download | cgeo-97b047e525aaab3df7e5f6b2481f3109f193516e.zip cgeo-97b047e525aaab3df7e5f6b2481f3109f193516e.tar.gz cgeo-97b047e525aaab3df7e5f6b2481f3109f193516e.tar.bz2 | |
#3783: support giga event type
New icons are still missing.
Diffstat (limited to 'tests/src')
| -rw-r--r-- | tests/src/cgeo/geocaching/enumerations/CacheTypeTest.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/src/cgeo/geocaching/enumerations/CacheTypeTest.java b/tests/src/cgeo/geocaching/enumerations/CacheTypeTest.java index ce42e0c..1573f6e 100644 --- a/tests/src/cgeo/geocaching/enumerations/CacheTypeTest.java +++ b/tests/src/cgeo/geocaching/enumerations/CacheTypeTest.java @@ -48,4 +48,14 @@ public class CacheTypeTest extends AndroidTestCase { assertThat(CacheType.TRADITIONAL.contains(traditional)).isTrue(); assertThat(CacheType.MYSTERY.contains(traditional)).isFalse(); } + + public static void testEventCacheTypes() throws Exception { + assertThat(CacheType.EVENT.isEvent()).isTrue(); + assertThat(CacheType.MEGA_EVENT.isEvent()).isTrue(); + assertThat(CacheType.GIGA_EVENT.isEvent()).isTrue(); + assertThat(CacheType.BLOCK_PARTY.isEvent()).isTrue(); + assertThat(CacheType.CITO.isEvent()).isTrue(); + assertThat(CacheType.LOSTANDFOUND.isEvent()).isTrue(); + assertThat(CacheType.TRADITIONAL.isEvent()).isFalse(); + } } |
