Changeset 16329 in josm for trunk/test
- Timestamp:
- 2020-04-17T21:45:33+02:00 (6 years ago)
- Location:
- trunk/test
- Files:
-
- 2 edited
-
data/customconfigurator/append.xml (modified) (1 diff)
-
unit/org/openstreetmap/josm/gui/io/CustomConfiguratorTest.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/data/customconfigurator/append.xml
r9958 r16329 1 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2 2 <config> 3 <var name="secret" value="JOSM"/> 3 4 <preferences operation="append"> 4 5 <list key="test"> 5 6 <entry value="11111111"/> 6 7 <entry value="2222222"/> 7 <entry value=" 333333333"/>8 <entry value="${secret}"/> 8 9 </list> 9 10 </preferences> -
trunk/test/unit/org/openstreetmap/josm/gui/io/CustomConfiguratorTest.java
r15716 r16329 84 84 String log = PreferencesUtils.getLog(); 85 85 assertFalse(log, log.contains("Error")); 86 assert False(Config.getPref().getList("test").isEmpty());86 assertEquals(Arrays.asList("11111111", "2222222", "JOSM"), Config.getPref().getList("test")); 87 87 88 88 // Test 2 - read(file, pref) + replace
Note:
See TracChangeset
for help on using the changeset viewer.
