Changeset 12125 in josm for trunk/test/unit


Ignore:
Timestamp:
2017-05-12T01:28:59+02:00 (3 years ago)
Author:
Don-vip
Message:

see #14741 - rework initialization of Main.Panel so that it is done after PlatformHook.preStartupHook, as any other Swing code

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

Legend:

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

    r12070 r12125  
    152152            new MainApplication().initialize();
    153153        } else {
    154             Main.mainPanel.reAddListeners();
     154            Main.main.panel.reAddListeners();
    155155        }
    156156        // Add a test layer to the layer manager to get the MapFrame
  • trunk/test/unit/org/openstreetmap/josm/MainTest.java

    r12011 r12125  
    4646    @Rule
    4747    @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
    48     public JOSMTestRules test = new JOSMTestRules().platform().devAPI();
     48    public JOSMTestRules test = new JOSMTestRules().platform().devAPI().commands();
    4949
    5050    /**
Note: See TracChangeset for help on using the changeset viewer.