Closedown

This commit is contained in:
boccioli_m
2015-09-04 11:49:10 +02:00
parent 6371d9c202
commit ea22b6e80b
9 changed files with 265 additions and 59 deletions

View File

@@ -960,6 +960,7 @@ public class TestingList extends Panel {
} else {
filterTests("");
}
//if only enabled tests are visible, disable the move buttons
this.jButtonMoveUp.setEnabled(!show);
this.jButtonMoveDown.setEnabled(!show);
}
@@ -1593,18 +1594,21 @@ public class TestingList extends Panel {
if (!sDeviceName.isEmpty()) {
showResult(sDeviceName, sTestPath, ccex.toString(), TestStatus.FAILURE.toString());
}
} catch (InterruptedException intEx) {
Logger.getLogger(TestingList.class.getName()).log(Level.SEVERE, null, intEx);
System.out.println(String.valueOf(intEx));
showResult(sDeviceName, sTestPath, "User interrupted test", TestStatus.FAILURE.toString());
} catch (Exception ex) {
Logger.getLogger(TestingList.class.getName()).log(Level.SEVERE, null, ex);
SwingUtils.showMessage(TestingList.this, "executeParallelTestsGroup()", ex.toString());
System.out.println(String.valueOf(ex));
showResult(sDeviceName, sTestPath, ex.toString(), TestStatus.FAILURE.toString());
}
}
} catch (Exception ex) {
SwingUtils.showMessage(TestingList.this, "executeParallelTestsGroup(), run thread", ex.toString());
logger.log(Level.SEVERE, ex.toString());
setToStopped();
}
}
return iRet;
}
}