Esempio n. 1
0
 private void startRunAndTear() throws Throwable {
   setUp();
   try {
     ourAssertionsInTestDetected = true;
     runTest();
     ourAssertionsInTestDetected = false;
   } finally {
     // try{
     tearDown();
     // }
     // catch(Throwable th){
     //  noinspection CallToPrintStackTrace
     // th.printStackTrace();
     // }
   }
 }
 @Override
 protected void setUp() throws Exception {
   super.setUp();
   documentManager = (PsiDocumentManagerImpl) PsiDocumentManager.getInstance(getProject());
   synchronizer = documentManager.getSynchronizer();
 }