aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/geocaching/enumerations/CacheAttributeTest.java
blob: a15bd17c5215151097b6ce937f583b2ea7930bdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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));
        }
    }
}