Changeset 18373 in josm for trunk/test/unit/org


Ignore:
Timestamp:
2022-02-09T18:48:09+01:00 (3 years ago)
Author:
taylor.smock
Message:

checkstyle: LineLength > 149 in files from r18372

Location:
trunk/test/unit/org/openstreetmap/josm/data/imagery
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/imagery/TemplatedWMSTileSourceTest.java

    r18372 r18373  
    235235            testImageryWMS.setId("TemplatedWMSTileSourceTest#testApiKeyInvalid");
    236236            Projection projection = Projections.getProjectionByCode("EPSG:4326");
    237             IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, () -> new TemplatedWMSTileSource(testImageryWMS, projection));
     237            IllegalArgumentException exception = assertThrows(IllegalArgumentException.class,
     238                            () -> new TemplatedWMSTileSource(testImageryWMS, projection));
    238239            assertEquals(tr("Could not retrieve API key for imagery with id={0}. Cannot add layer.", testImageryWMS.getId()),
    239240                    exception.getMessage());
  • trunk/test/unit/org/openstreetmap/josm/data/imagery/WMTSTileSourceTest.java

    r18372 r18373  
    474474            testImageryWMTS.setId("TemplatedWMSTileSourceTest#testApiKeyInvalid");
    475475            org.openstreetmap.josm.data.projection.Projection projection = Projections.getProjectionByCode("EPSG:4326");
    476             IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, () -> new WMTSTileSource(testImageryWMTS, projection));
     476            IllegalArgumentException exception = assertThrows(IllegalArgumentException.class,
     477                            () -> new WMTSTileSource(testImageryWMTS, projection));
    477478            assertEquals(tr("Could not retrieve API key for imagery with id={0}. Cannot add layer.", testImageryWMTS.getId()),
    478479                    exception.getMessage());
Note: See TracChangeset for help on using the changeset viewer.