protected void tearDown() throws Exception {
   try {
     super.tearDown();
     ArrayBaseTest_Generics.tearDownActionData();
   } catch (RecognitionException re) {
     // do nothing
   } catch (TokenStreamException te) {
     // do nothing
   }
 }
示例#2
0
 @After
 public void tearDown() throws Exception {
   // undo paste
   if (pasteSuccessful) {
     if (!TransactionManager.getSingleton().getUndoStack().isEmpty()) {
       TransactionManager.getSingleton().getUndoAction().run();
     }
   }
   // undo RGO update
   if (rgoUpdateSuccessful) {
     if (!TransactionManager.getSingleton().getUndoStack().isEmpty()) {
       TransactionManager.getSingleton().getUndoAction().run();
     }
   }
   // undo cut
   if (cutSuccessful) {
     if (!TransactionManager.getSingleton().getUndoStack().isEmpty()) {
       TransactionManager.getSingleton().getUndoAction().run();
     }
   }
   rgoUpdateSuccessful = false;
   super.tearDown();
 }