コード例 #1
0
 @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);
 }
コード例 #2
0
 @AfterClass
 public static void tearDownAfterClass() {
   FileActionDialog.setDisablePopup(disablePopup);
 }
コード例 #3
0
 @BeforeClass
 public static void setUpBeforeClass() {
   disablePopup = FileActionDialog.getDisablePopup();
   FileActionDialog.setDisablePopup(true);
 }
 @AfterClass
 public static void resetdisablePopup() {
   FileActionDialog.setDisablePopup(disablepopup);
 }