Changeset 4837 in josm
- Timestamp:
- 2012-01-21T15:45:59+01:00 (13 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r4783 r4837 166 166 <sysproperty key="josm.home" value="${test.dir}/config/unit-josm.home"/> 167 167 <sysproperty key="java.awt.headless" value="true"/> 168 <sysproperty key="suppressPermanentFailure" value="${suppressPermanentFailure}"/> 168 169 <classpath> 169 170 <path refid="test.classpath"/> -
trunk/src/org/openstreetmap/josm/tools/TaggingPresetNameTemplateList.java
r4431 r4837 31 31 32 32 private TaggingPresetNameTemplateList() { 33 for (TaggingPreset tp: TaggingPresetPreference.taggingPresets) { 34 if (tp.nameTemplate != null) { 35 presetsWithPattern.add(tp); 33 if (TaggingPresetPreference.taggingPresets != null) { 34 for (TaggingPreset tp: TaggingPresetPreference.taggingPresets) { 35 if (tp.nameTemplate != null) { 36 presetsWithPattern.add(tp); 37 } 36 38 } 37 39 } -
trunk/test/unit/org/openstreetmap/josm/data/projection/ProjectionTest.java
r3485 r4837 7 7 import org.junit.Assert; 8 8 import org.junit.Test; 9 10 9 import org.openstreetmap.josm.data.Bounds; 11 10 import org.openstreetmap.josm.data.coor.EastNorth; … … 59 58 60 59 } 61 UTM_France_DOM utmFr = new UTM_France_DOM(); 62 for (int zone=1; zone<=5; ++zone) { 63 utmFr.setPreferences(Collections.singletonList(Integer.toString(zone))); 64 testProj(utmFr); 60 61 if (!"yes".equals(System.getProperty("suppressPermanentFailure"))) { 62 UTM_France_DOM utmFr = new UTM_France_DOM(); 63 for (int zone=1; zone<=5; ++zone) { 64 utmFr.setPreferences(Collections.singletonList(Integer.toString(zone))); 65 testProj(utmFr); 66 } 65 67 } 66 68
Note:
See TracChangeset
for help on using the changeset viewer.