@Override @Before public void setUp() { BonitaStudioPreferencesPlugin.getDefault() .getPreferenceStore() .setValue( BonitaPreferenceConstants.CONSOLE_BROWSER_CHOICE, BonitaPreferenceConstants.INTERNAL_BROWSER); BonitaStudioPreferencesPlugin.getDefault() .getPreferenceStore() .setValue(BonitaPreferenceConstants.ASK_RENAME_ON_FIRST_SAVE, false); FileActionDialog.setDisablePopup(true); }
@AfterClass public static void tearDownAfterClass() { FileActionDialog.setDisablePopup(disablePopup); }
@BeforeClass public static void setUpBeforeClass() { disablePopup = FileActionDialog.getDisablePopup(); FileActionDialog.setDisablePopup(true); }
@AfterClass public static void resetdisablePopup() { FileActionDialog.setDisablePopup(disablepopup); }