Changeset 12110 in josm for trunk/test


Ignore:
Timestamp:
2017-05-11T00:45:03+02:00 (7 years ago)
Author:
michael2402
Message:

AlignInLineActionTest: Reset test environment before every single test. Fixes tests that were failing because action was not enabled.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/actions/AlignInLineActionTest.java

    r10758 r12110  
    55import static org.junit.Assert.assertNotNull;
    66
    7 import org.junit.BeforeClass;
     7import org.junit.Before;
    88import org.junit.Test;
    99import org.openstreetmap.josm.JOSMFixture;
     
    2929     * Setup test.
    3030     */
    31     @BeforeClass
    32     public static void setUp() {
     31    @Before
     32    public void setUp() {
    3333        JOSMFixture.createUnitTestFixture().init(true);
    3434
Note: See TracChangeset for help on using the changeset viewer.