Ignore:
Timestamp:
2018-08-04T01:59:46+02:00 (6 years ago)
Author:
Don-vip
Message:

see #16010 - Ignore tests using JMockit on Java 11+, workaround to https://github.com/jmockit/jmockit1/issues/534

File:
1 edited

Legend:

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

    r14052 r14081  
    77import org.junit.Test;
    88import org.junit.contrib.java.lang.system.ExpectedSystemExit;
     9import org.openstreetmap.josm.TestUtils;
    910import org.openstreetmap.josm.gui.MainApplication;
    1011import org.openstreetmap.josm.gui.progress.swing.ProgressMonitorExecutor;
     
    1213import org.openstreetmap.josm.tools.ImageProvider;
    1314
     15import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
    1416import mockit.Invocation;
    1517import mockit.Mock;
    1618import mockit.MockUp;
    17 
    18 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
    1919
    2020/**
     
    2828    @Rule
    2929    @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
    30     public JOSMTestRules test = new JOSMTestRules().platform();
     30    public JOSMTestRules test = new JOSMTestRules().platform().main();
    3131
    3232    /**
     
    4141    @Test
    4242    public void testActionPerformed() {
     43        TestUtils.assumeWorkingJMockit();
    4344        exit.expectSystemExitWithStatus(0);
    4445
Note: See TracChangeset for help on using the changeset viewer.