Changeset 5073 in josm for trunk/test/unit


Ignore:
Timestamp:
2012-03-11T21:19:59+01:00 (8 years ago)
Author:
bastiK
Message:

move ntv2 to datum (see #7494)

File:
1 edited

Legend:

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

    r5065 r5073  
    2424import java.util.Set;
    2525
     26import org.junit.BeforeClass;
    2627import org.junit.Test;
     28import org.openstreetmap.josm.Main;
    2729import org.openstreetmap.josm.data.Bounds;
     30import org.openstreetmap.josm.data.Preferences;
    2831import org.openstreetmap.josm.data.coor.EastNorth;
    2932import org.openstreetmap.josm.data.coor.LatLon;
     
    5457
    5558    public static void main(String[] args) throws IOException, FileNotFoundException {
     59        setUp();
    5660        Map<String, Projection> allCodes = new LinkedHashMap<String, Projection>();
    5761        List<Projection> projs = Projections.getProjections();
     
    144148    }
    145149
     150    @BeforeClass
     151    public static void setUp() {
     152        Main.pref = new Preferences();
     153    }
     154
    146155    @Test
    147156    public void regressionTest() throws IOException, FileNotFoundException {
Note: See TracChangeset for help on using the changeset viewer.