Changeset 16319 in josm for trunk/test/unit/org


Ignore:
Timestamp:
2020-04-17T15:01:21+02:00 (5 years ago)
Author:
simon04
Message:

see #8352 - PropertiesDialog: fix 3-char CSS color names such as "red"

Location:
trunk/test/unit/org/openstreetmap/josm
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/tools/ColorHelperTest.java

    r16293 r16319  
    2626        assertEquals(Color.CYAN, ColorHelper.html2color("#00ffff"));
    2727        assertEquals(Color.CYAN, ColorHelper.html2color("#00FFFF"));
    28         assertEquals(Color.CYAN, ColorHelper.html2color("cyan"));
    29         assertEquals(new Color(0xa52a2a), ColorHelper.html2color("brown"));
    30         assertEquals(new Color(0x6495ed), ColorHelper.html2color("cornflowerblue"));
    3128        assertEquals(new Color(0x12345678, true), ColorHelper.html2color("#34567812"));
    3229    }
Note: See TracChangeset for help on using the changeset viewer.