Changeset 9081 in josm for trunk/test


Ignore:
Timestamp:
2015-12-02T21:41:41+01:00 (6 years ago)
Author:
wiktorn
Message:

FIx missing scrollbar on WMTS layer selection list. Closes #12151.

Location:
trunk/test
Files:
1 added
1 edited

Legend:

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

    r8857 r9081  
    3030    private ImageryInfo testImageryWALLONIE = getImagery("test/data/wmts/WMTSCapabilities-Wallonie.xml");
    3131    private ImageryInfo testImageryOntario = getImagery("test/data/wmts/WMTSCapabilities-Ontario.xml");
     32    private ImageryInfo testLotsOfLayers = getImagery("test/data/wmts/getCapabilities-lots-of-layers.xml");
    3233
    3334    /**
     
    101102    }
    102103
    103     //TODO: @Test - disable this test, needs further working
     104    // XXX - disable this test, needs further working
     105    // @Test
    104106    public void testWALLONIENoMatrixDimension() throws MalformedURLException, IOException {
    105107        Main.setProjection(Projections.getProjectionByCode("EPSG:31370"));
     
    208210    }
    209211
    210     // disabled as this needs user action
    211     // @Test
     212    // XXX: disabled as this needs user action
     213    //@Test
    212214    public void testTwoTileSetsForOneProjection() throws Exception {
    213215        Main.setProjection(Projections.getProjectionByCode("EPSG:3857"));
     
    216218        verifyTile(new LatLon(45.4105023, -75.7153702), testSource, 303751, 375502, 12);
    217219        verifyTile(new LatLon(45.4601306, -75.7617187), testSource, 1186, 1466, 4);
     220
     221    }
     222
     223    // XXX: disabled as this needs user action
     224    // @Test
     225    public void testManyLayersScrollbars() throws Exception {
     226        Main.setProjection(Projections.getProjectionByCode("EPSG:3857"));
     227        WMTSTileSource testSource = new WMTSTileSource(testLotsOfLayers);
     228        testSource.initProjection(Main.getProjection());
    218229
    219230    }
Note: See TracChangeset for help on using the changeset viewer.