Closedown

This commit is contained in:
boccioli_m
2015-06-10 11:17:42 +02:00
parent 5af48bb615
commit 73e10da8de

View File

@@ -73,12 +73,12 @@ public class TestingList extends Panel {
String ret = "Could not start test script";
String sSuccess = "Failed";
String[] deviceName = testingList.getTestInProgress();
SwingUtils.showException(getComponent(), ex );
//SwingUtils.showException(getComponent(), ex );
SwingUtils.showMessage(getComponent(), "", ex.toString() + deviceName[0]);
if(deviceName != null){
if(deviceName[0] != ""){
iCurrentTestPos = testingList.showResult(deviceName[0], fileName, ret, sSuccess);
//start next test
if(iCurrentTestPos>0)
if(iCurrentTestPos>=0)
{
testingList.executeTest(iCurrentTestPos+1);
}
@@ -266,10 +266,10 @@ public class TestingList extends Panel {
private void jButtonOpenLogActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonOpenLogActionPerformed
// TODO add your handling code here:
jTable1.setValueAt("Running",0,7);
/* jTable1.setValueAt("Running",0,7);
String[] deviceName = testingList.getTestInProgress();
SwingUtils.showMessage(this, "", deviceName[0]);
/* if (System.getProperty("os.name").toLowerCase().contains("windows")) {
*/ if (System.getProperty("os.name").toLowerCase().contains("windows")) {
String cmd;
cmd = "notepad.exe " + TESTS_LOG_DEFAULT_DIR;
try {
@@ -285,7 +285,6 @@ public class TestingList extends Panel {
Logger.getLogger(TestingList.class.getName()).log(Level.SEVERE, null, ex);
}
}
*/
}//GEN-LAST:event_jButtonOpenLogActionPerformed
// Variables declaration - do not modify//GEN-BEGIN:variables