src/test/java/de/blau/android/osm/TagsTest.java
/**
     * Test that name keys are recognized
     */
Test that name keys are recognized
Test that name keys are recognized
@Test
    public void nameKeys() {
        assertTrue(Tags.isLikeAName(Tags.KEY_NAME));
        assertTrue(Tags.isLikeAName(Tags.KEY_ADDR_STREET));
        assertTrue(Tags.isLikeAName(Tags.KEY_NAME + ":test"));
        assertFalse(Tags.isLikeAName(Tags.KEY_ACCESS));
    }
@ Test public void nameKeys ( ) { assertTrue ( Tags . isLikeAName ( Tags . KEY_NAME ) ) ; assertTrue ( Tags . isLikeAName ( Tags . KEY_ADDR_STREET ) ) ; assertTrue ( Tags . isLikeAName ( Tags . KEY_NAME + ":test" ) ) ; assertFalse ( Tags . isLikeAName ( Tags . KEY_ACCESS ) ) ; }
Test that name keys are recognized
Test that name keys are recognized