Ignore:
Timestamp:
2020-02-24T21:44:35+01:00 (5 years ago)
Author:
Don-vip
Message:

fix #18761 - only consider source=survey for local GPX files, not the public ones

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/layer/GpxLayerTest.java

    r15496 r15924  
    239239        }
    240240    }
     241
     242    /**
     243     * Unit test of {@link GpxLayer#getChangesetSourceTag}.
     244     */
     245    @Test
     246    public void testGetChangesetSourceTag() {
     247        assertEquals("survey", new GpxLayer(new GpxData(), "", true).getChangesetSourceTag());
     248        assertNull(new GpxLayer(new GpxData(), "", false).getChangesetSourceTag());
     249    }
    241250}
Note: See TracChangeset for help on using the changeset viewer.