MCPcopy
hub / github.com/arduino/Arduino / startUpTheIDE

Method startUpTheIDE

app/test/processing/app/AbstractGUITest.java:46–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44 protected ArduinoFrameFixture window;
45
46 @Before
47 public void startUpTheIDE() throws Exception {
48 // This relies on AbstractWithPreferencesTest to set up the
49 // non-gui-specific stuff.
50
51 System.setProperty("mrj.version", "whynot"); //makes sense only on osx. See https://github.com/alexruiz/fest-swing-1.x/issues/2#issuecomment-86532042
52
53 FailOnThreadViolationRepaintManager.install();
54
55 JPopupMenu.setDefaultLightWeightPopupEnabled(false);
56 BaseNoGui.getPlatform().setLookAndFeel();
57
58 window = GuiActionRunner.execute(new GuiQuery<ArduinoFrameFixture>() {
59 @Override
60 protected ArduinoFrameFixture executeInEDT() throws Throwable {
61 return new ArduinoFrameFixture(createBase().editors.get(0));
62 }
63 });
64 }
65
66 @After
67 public void stopTheIDE() {

Callers

nothing calls this directly

Calls 3

getPlatformMethod · 0.95
installMethod · 0.45
setLookAndFeelMethod · 0.45

Tested by

no test coverage detected