()
| 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() { |
nothing calls this directly
no test coverage detected