diff options
| author | Bananeweizen <Bananeweizen@gmx.de> | 2012-04-10 08:08:18 +0200 |
|---|---|---|
| committer | Bananeweizen <Bananeweizen@gmx.de> | 2012-04-10 08:08:18 +0200 |
| commit | 6f0722b7e104ad0370b939a2983bd596fac6c5d2 (patch) | |
| tree | 8d652a556efaedf522bfe2851a057c3ee78f044e /tests/src/cgeo/geocaching/enumerations/CacheAttributeTest.java | |
| parent | 882dc52efc9695ceac3c90ebb4dc2dd93056b3ad (diff) | |
| download | cgeo-6f0722b7e104ad0370b939a2983bd596fac6c5d2.zip cgeo-6f0722b7e104ad0370b939a2983bd596fac6c5d2.tar.gz cgeo-6f0722b7e104ad0370b939a2983bd596fac6c5d2.tar.bz2 | |
fix cache attribute from 08d132878d4e8818c8090169e6f0ece257ac4732
Diffstat (limited to 'tests/src/cgeo/geocaching/enumerations/CacheAttributeTest.java')
| -rw-r--r-- | tests/src/cgeo/geocaching/enumerations/CacheAttributeTest.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/src/cgeo/geocaching/enumerations/CacheAttributeTest.java b/tests/src/cgeo/geocaching/enumerations/CacheAttributeTest.java new file mode 100644 index 0000000..a15bd17 --- /dev/null +++ b/tests/src/cgeo/geocaching/enumerations/CacheAttributeTest.java @@ -0,0 +1,13 @@ +package cgeo.geocaching.enumerations; + +import android.test.AndroidTestCase; + +public class CacheAttributeTest extends AndroidTestCase { + + public static void testTrimAttributeName() { + for (CacheAttribute attribute : CacheAttribute.values()) { + final String rawName = attribute.gcRawName; + assertTrue("bad attribute name " + rawName, CacheAttribute.trimAttributeName(rawName).equals(rawName)); + } + } +} |
