diff options
| author | Bananeweizen <bananeweizen@gmx.de> | 2014-01-11 17:00:00 +0100 |
|---|---|---|
| committer | Bananeweizen <bananeweizen@gmx.de> | 2014-01-11 17:00:00 +0100 |
| commit | 9c036c506d78c4b927a91ea65326eb09424a3795 (patch) | |
| tree | cbada5c7fe6d05a7a2373cae0f8a4f9f5ca0b6c1 /tests/src/cgeo/geocaching/enumerations/CacheAttributeTest.java | |
| parent | 6a8244166bf3a3eef35024df9e0818e88e80513f (diff) | |
| download | cgeo-9c036c506d78c4b927a91ea65326eb09424a3795.zip cgeo-9c036c506d78c4b927a91ea65326eb09424a3795.tar.gz cgeo-9c036c506d78c4b927a91ea65326eb09424a3795.tar.bz2 | |
refactoring: remove unused code
Diffstat (limited to 'tests/src/cgeo/geocaching/enumerations/CacheAttributeTest.java')
| -rw-r--r-- | tests/src/cgeo/geocaching/enumerations/CacheAttributeTest.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/src/cgeo/geocaching/enumerations/CacheAttributeTest.java b/tests/src/cgeo/geocaching/enumerations/CacheAttributeTest.java index 54db279..d126c0b 100644 --- a/tests/src/cgeo/geocaching/enumerations/CacheAttributeTest.java +++ b/tests/src/cgeo/geocaching/enumerations/CacheAttributeTest.java @@ -25,7 +25,7 @@ public class CacheAttributeTest extends AndroidTestCase { public static void testGetL10n() { final CacheAttribute attribute = CacheAttribute.HIKING; - // This test is language dependend. It does not make sense to test it + // This test is language dependent. It does not make sense to test it // with every attribute. We just want to know if getL10n works // correctly assertFalse("_yes and _no must not have the same translation", @@ -37,7 +37,6 @@ public class CacheAttributeTest extends AndroidTestCase { assertTrue("Test cannot be run with this attribute", attribute.gcid >= 0); assertTrue("Test cannot be run with this attribute", attribute.ocacode >= 0); assertSame(CacheAttribute.getByRawName(attribute.rawName), attribute); - assertSame(CacheAttribute.getByGcId(attribute.gcid), attribute); assertSame(CacheAttribute.getByOcACode(attribute.ocacode), attribute); } |
