Last change
on this file since 6671 was 6671, checked in by simon04, 11 years ago |
fix #9560 - IllegalArgumentException when color.layer contains "{ }"
|
File size:
374 bytes
|
Line | |
---|
1 | package org.openstreetmap.josm.data
|
---|
2 |
|
---|
3 | import org.openstreetmap.josm.Main
|
---|
4 |
|
---|
5 | class 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.