Changeset 9133 in josm for trunk/test
- Timestamp:
- 2015-12-15T15:45:37+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/projection/ProjectionRegressionTest.java
r9130 r9133 28 28 import org.openstreetmap.josm.data.coor.EastNorth; 29 29 import org.openstreetmap.josm.data.coor.LatLon; 30 import org.openstreetmap.josm.gui.preferences.projection.ProjectionChoice;31 import org.openstreetmap.josm.gui.preferences.projection.ProjectionPreference;32 30 import org.openstreetmap.josm.tools.Pair; 33 31 … … 111 109 } 112 110 } 111 System.out.println("Update successful."); 113 112 } 114 113 … … 166 165 StringBuilder fail = new StringBuilder(); 167 166 168 for (ProjectionChoice pc : ProjectionPreference.getProjectionChoices()) { 169 for (String code : pc.allCodes()) { 170 if (!dataCodes.contains(code)) { 171 fail.append("Did not find projection "+code+" in test data!\n"); 172 } 173 } 167 for (String code : Projections.getAllProjectionCodes()) { 168 if (!dataCodes.contains(code)) { 169 fail.append("Did not find projection "+code+" in test data!\n"); 170 } 174 171 } 175 172
Note:
See TracChangeset
for help on using the changeset viewer.