Ignore:
Timestamp:
2017-08-03T23:24:56+02:00 (7 years ago)
Author:
Don-vip
Message:

fix unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/TableCellRendererTest.java

    r10937 r12564  
    1414
    1515import org.junit.Assert;
    16 import org.junit.BeforeClass;
     16import org.junit.Rule;
    1717import org.junit.Test;
    18 import org.openstreetmap.josm.JOSMFixture;
     18import org.openstreetmap.josm.testutils.JOSMTestRules;
    1919import org.openstreetmap.josm.tools.Utils;
    2020import org.reflections.Reflections;
     21
     22import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
    2123
    2224/**
     
    4749     * Setup test.
    4850     */
    49     @BeforeClass
    50     public static void setUp() {
    51         JOSMFixture.createFunctionalTestFixture().init(true);
    52     }
     51    @Rule
     52    @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
     53    public JOSMTestRules test = new JOSMTestRules().platform().mainMenu();
    5354
    5455    /**
Note: See TracChangeset for help on using the changeset viewer.