Ignore:
Timestamp:
2014-05-09T04:49:54+02:00 (12 years ago)
Author:
Don-vip
Message:

fixes for unit tests

File:
1 edited

Legend:

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

    r7030 r7081  
    2323import org.junit.BeforeClass;
    2424import org.junit.Test;
    25 import org.openstreetmap.josm.Main;
     25import org.openstreetmap.josm.JOSMFixture;
    2626import org.openstreetmap.josm.data.Bounds;
    2727import org.openstreetmap.josm.data.coor.EastNorth;
     
    120120                }
    121121                TestData next = new TestData();
    122    
     122
    123123                Pair<Double,Double> ll = readLine("ll", in.readLine());
    124124                Pair<Double,Double> en = readLine("en", in.readLine());
    125125                Pair<Double,Double> ll2 = readLine("ll2", in.readLine());
    126    
     126
    127127                next.code = line;
    128128                next.ll = new LatLon(ll.a, ll.b);
    129129                next.en = new EastNorth(en.a, en.b);
    130130                next.ll2 = new LatLon(ll2.a, ll2.b);
    131    
     131
    132132                result.add(next);
    133133            }
     
    150150    @BeforeClass
    151151    public static void setUp() {
    152         Main.initApplicationPreferences();
     152        JOSMFixture.createUnitTestFixture().init();
    153153    }
    154154
Note: See TracChangeset for help on using the changeset viewer.