Changeset 10386 in josm for trunk/test


Ignore:
Timestamp:
2016-06-15T17:25:04+02:00 (4 years ago)
Author:
Don-vip
Message:

gsoc-core - remove more deprecation warnings

File:
1 edited

Legend:

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

    r10364 r10386  
    4444            try {
    4545                Main.main.addLayer(gpxLayer);
    46                 assertEquals(1, Main.map.mapView.getNumLayers());
     46                assertEquals(1, Main.getLayerManager().getLayers().size());
    4747                new Loader(
    4848                        Collections.singleton(new File(TestUtils.getRegressionDataFile(12255, "G0016941.JPG"))),
    4949                        gpxLayer).run();
    50                 assertEquals(2, Main.map.mapView.getNumLayers());
     50                assertEquals(2, Main.getLayerManager().getLayers().size());
    5151                GeoImageLayer layer = Main.getLayerManager().getLayersOfType(GeoImageLayer.class).iterator().next();
    5252                try {
Note: See TracChangeset for help on using the changeset viewer.