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

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

Location:
trunk/test/unit/org/openstreetmap/josm/gui/preferences/advanced
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/preferences/advanced/ExportProfileActionTest.java

    r14052 r14081  
    77import org.junit.Test;
    88import org.openstreetmap.josm.Main;
     9import org.openstreetmap.josm.TestUtils;
    910import org.openstreetmap.josm.testutils.JOSMTestRules;
    1011import org.openstreetmap.josm.testutils.mockers.JOptionPaneSimpleMocker;
     
    3031    @Test
    3132    public void testAction() {
     33        TestUtils.assumeWorkingJMockit();
    3234        new JOptionPaneSimpleMocker(ImmutableMap.of(
    3335            "All the preferences of this group are default, nothing to save", JOptionPane.OK_OPTION
  • trunk/test/unit/org/openstreetmap/josm/gui/preferences/advanced/PreferencesTableTest.java

    r14052 r14081  
    1313import org.junit.Rule;
    1414import org.junit.Test;
     15import org.openstreetmap.josm.TestUtils;
    1516import org.openstreetmap.josm.gui.ExtendedDialog;
    1617import org.openstreetmap.josm.gui.preferences.advanced.PreferencesTable.AllSettingsTableModel;
     
    5051    @Test
    5152    public void testPreferencesTable() {
     53        TestUtils.assumeWorkingJMockit();
    5254        new JOptionPaneSimpleMocker(ImmutableMap.of(
    5355            "Please select the row to edit.", JOptionPane.OK_OPTION,
Note: See TracChangeset for help on using the changeset viewer.