Changeset 9140 in josm for trunk/test


Ignore:
Timestamp:
2015-12-19T23:49:39+01:00 (5 years ago)
Author:
bastiK
Message:

see #12186 - actually test what is intended to be tested

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/projection/ProjectionTest.java

    r8510 r9140  
    22package org.openstreetmap.josm.data.projection;
    33
     4import java.util.Arrays;
    45import java.util.Random;
    56
     
    4445
    4546        if (!"yes".equals(System.getProperty("suppressPermanentFailure"))) {
    46             for (int i = 0; i <= 4; ++i) {
    47                 testProj(Projections.getProjectionByCode("EPSG:"+Integer.toString(2969+i))); // UTM France DOM
     47            for (String c : Arrays.asList("2969", "2970", "2972", "2973")) {
     48                testProj(Projections.getProjectionByCode("EPSG:"+c)); // UTM France DOM
    4849            }
    4950        }
Note: See TracChangeset for help on using the changeset viewer.