aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2014-02-18 19:58:06 +0100
committerSamuel Tardieu <sam@rfc1149.net>2014-02-18 19:58:06 +0100
commit5038771fb55c0ab77243bbbaaa6d487c4d02ec9b (patch)
tree0ee6a75183b05951dd53752ebc54a6d0a84c2107 /tests
parent778b56ceb9e860afdbeea00b923b3b0521fc98ce (diff)
downloadcgeo-5038771fb55c0ab77243bbbaaa6d487c4d02ec9b.zip
cgeo-5038771fb55c0ab77243bbbaaa6d487c4d02ec9b.tar.gz
cgeo-5038771fb55c0ab77243bbbaaa6d487c4d02ec9b.tar.bz2
Fix failing tests
Fix failing tests due to changes introduced in 63b7d6b0454cd8ac4bbcbfe82f589f64581c82d7.
Diffstat (limited to 'tests')
-rw-r--r--tests/src/cgeo/geocaching/enumerations/LogTypeTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/src/cgeo/geocaching/enumerations/LogTypeTest.java b/tests/src/cgeo/geocaching/enumerations/LogTypeTest.java
index 81ca33b..47879a0 100644
--- a/tests/src/cgeo/geocaching/enumerations/LogTypeTest.java
+++ b/tests/src/cgeo/geocaching/enumerations/LogTypeTest.java
@@ -17,8 +17,7 @@ public class LogTypeTest extends AndroidTestCase {
}
public static void testGetByType() {
- assertEquals(LogType.UNKNOWN, LogType.getByIconName(""));
- assertEquals(LogType.UNKNOWN, LogType.getByIconName(null));
+ assertEquals(LogType.UNKNOWN, LogType.getByType("obviously unknown type"));
assertEquals(LogType.GRABBED_IT, LogType.getByType("grabbed it"));
assertEquals(LogType.GRABBED_IT, LogType.getByType(" gRAbbed IT "));
}