protected void initTest() throws Exception {
   if (toSetupWorkspace()) {
     super.initTest();
     saveTestVariables();
   } else {
     initTestVariables();
   }
 }
 protected void tearDown() throws Exception {
   if (mdlClassPath != null) setProperty("mdlClassPath", mdlClassPath.toString());
   super.tearDown();
   if (toRunTests() && project.exists()) {
     Workbench.getInstance().getActiveWorkbenchWindow().getActivePage().closeAllEditors(true);
   }
   BaseTest.waitForJobs();
 }