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/gui/preferences/plugin/PluginPreferenceHighLevelTest.java

    r14062 r14081  
    3939
    4040import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
     41import mockit.MockUp;
    4142
    4243/**
     
    393394    @Test
    394395    public void testUpdateOnlySelectedPlugin() throws Exception {
     396        TestUtils.assumeWorkingJMockit();
    395397        final PluginServer pluginServer = new PluginServer(
    396398            new PluginServer.RemotePlugin(this.referenceDummyJarNew),
     
    586588    @Test
    587589    public void testUpdateWithNoAvailableUpdates() throws Exception {
     590        TestUtils.assumeWorkingJMockit();
    588591        final PluginServer pluginServer = new PluginServer(
    589592            new PluginServer.RemotePlugin(this.referenceDummyJarOld),
     
    724727    @Test
    725728    public void testInstallWithoutRestartRequired() throws Exception {
     729        TestUtils.assumeWorkingJMockit();
    726730        final boolean[] loadPluginsCalled = new boolean[] {false};
    727         new mockit.MockUp<PluginHandler>() {
     731        new MockUp<PluginHandler>() {
    728732            @mockit.Mock
    729733            private void loadPlugins(
Note: See TracChangeset for help on using the changeset viewer.