Ticket #21064: 21064.NameFinderAnnotation.patch

File 21064.NameFinderAnnotation.patch, 610 bytes (added by taylor.smock, 4 years ago)

NameFinder initializes NameFinder.NOMINATIM_URL_PROP before OsmDownloadReaderTest (depends upon ordering)

  • test/unit/org/openstreetmap/josm/io/NameFinderTest.java

    diff --git a/test/unit/org/openstreetmap/josm/io/NameFinderTest.java b/test/unit/org/openstreetmap/josm/io/NameFinderTest.java
    index dee6b497c..8a3f0569f 100644
    a b import java.util.Arrays;  
    88import java.util.stream.Collectors;
    99
    1010import org.junit.jupiter.api.Test;
     11import org.openstreetmap.josm.testutils.annotations.BasicPreferences;
    1112
    1213/**
    1314 * Unit tests of {@link NameFinder} class.
    1415 */
     16@BasicPreferences
    1517class NameFinderTest {
    1618
    1719    // CHECKSTYLE.OFF: LineLength