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

fixes for unit tests

Location:
trunk/test/unit/org/openstreetmap/josm/gui/conflict/tags
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/conflict/tags/TagMergeItemTest.java

    r7005 r7081  
    88import org.junit.BeforeClass;
    99import org.junit.Test;
    10 import org.openstreetmap.josm.Main;
     10import org.openstreetmap.josm.JOSMFixture;
    1111import org.openstreetmap.josm.data.osm.Node;
    1212import org.openstreetmap.josm.gui.conflict.pair.MergeDecisionType;
     
    1717    @BeforeClass
    1818    public static void init() {
    19         Main.initApplicationPreferences();
     19        JOSMFixture.createUnitTestFixture().init();
    2020    }
    2121
  • trunk/test/unit/org/openstreetmap/josm/gui/conflict/tags/TagMergeModelTest.java

    r7005 r7081  
    1212import org.junit.BeforeClass;
    1313import org.junit.Test;
    14 import org.openstreetmap.josm.Main;
     14import org.openstreetmap.josm.JOSMFixture;
    1515import org.openstreetmap.josm.data.osm.Node;
    1616import org.openstreetmap.josm.gui.conflict.pair.MergeDecisionType;
     
    2323    @BeforeClass
    2424    public static void init() {
    25         Main.initApplicationPreferences();
     25        JOSMFixture.createUnitTestFixture().init();
    2626    }
    2727
Note: See TracChangeset for help on using the changeset viewer.