Changeset 9680 in josm for trunk/test


Ignore:
Timestamp:
2016-01-29T22:52:01+01:00 (8 years ago)
Author:
Don-vip
Message:

fix NPE seen in unit tests

File:
1 edited

Legend:

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

    r9669 r9680  
    4949
    5050    private static void test(ImageryType expected, TMSLayer layer) {
    51         Main.main.addLayer(layer);
    5251        try {
     52            Main.main.addLayer(layer);
    5353            assertEquals(expected, layer.getInfo().getImageryType());
    5454        } finally {
Note: See TracChangeset for help on using the changeset viewer.