Changeset 11543 in josm for trunk/test
- Timestamp:
- 2017-02-08T08:41:24+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/PreferencesTest.java
r10947 r11543 43 43 assertEquals(0x12, new ColorProperty("foo", new Color(0x12345678, true)).get().getAlpha()); 44 44 assertTrue(Main.pref.putColor("bar", new Color(0x12345678, true))); 45 assertEquals(0x12, new ColorProperty("bar", (String) null).get().getAlpha());45 assertEquals(0x12, new ColorProperty("bar", Color.RED).get().getAlpha()); 46 46 } 47 47
Note:
See TracChangeset
for help on using the changeset viewer.