Ignore:
Timestamp:
2017-10-12T22:17:38+02:00 (2 years ago)
Author:
bastiK
Message:

see #15410 - update tests + minor fixes (2)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSParserTest.groovy

    r10837 r12990  
    66import org.junit.Test
    77import org.openstreetmap.josm.JOSMFixture
    8 import org.openstreetmap.josm.Main
    98import org.openstreetmap.josm.data.coor.LatLon
    109import org.openstreetmap.josm.data.osm.DataSet
     
    308307        def expected = new Color(0x88DD22)
    309308        assert e.getCascade(Environment.DEFAULT_LAYER).get("color") == expected
    310         assert Main.pref.getDefaultColor("mappaint.mapcss.testcolour1") == expected
    311309    }
    312310
     
    317315        def expected = new Color(0x12, 0x34, 0x56, 0x78)
    318316        assert e.getCascade(Environment.DEFAULT_LAYER).get("color") == expected
    319         assert Main.pref.getDefaultColor("mappaint.mapcss.testcolour2") == expected
    320317    }
    321318
Note: See TracChangeset for help on using the changeset viewer.