source: josm/trunk/test/unit/org/openstreetmap/josm/data/PreferencesTest.groovy@ 6671

Last change on this file since 6671 was 6671, checked in by simon04, 10 years ago

fix #9560 - IllegalArgumentException when color.layer contains "{ }"

File size: 374 bytes
Line 
1package org.openstreetmap.josm.data
2
3import org.openstreetmap.josm.Main
4
5class PreferencesTest extends GroovyTestCase {
6 @Override
7 void setUp() {
8 Main.initApplicationPreferences()
9 }
10
11 void testColorName() {
12 Main.pref.getColorName("color.layer {5DE308C0-916F-4B5A-B3DB-D45E17F30172}.gpx") == "{5DE308C0-916F-4B5A-B3DB-D45E17F30172}.gpx"
13 }
14}
Note: See TracBrowser for help on using the repository browser.