Closedown
This commit is contained in:
@@ -89,7 +89,7 @@ public class TestingList extends Panel {
|
||||
String sStatus = "Failed";
|
||||
String[] dsDeviceName = testingList.getTestInProgress();
|
||||
//SwingUtils.showException(getComponent(), ex );
|
||||
SwingUtils.showMessage(getComponent(), "", ex.toString() + dsDeviceName[0]);
|
||||
SwingUtils.showMessage(getComponent(), "onExecutedFile()", ex.toString() + dsDeviceName[0]);
|
||||
if(dsDeviceName[0] != ""){
|
||||
iCurrentTestPos = testingList.showResult(dsDeviceName[0], fileName, ret, sStatus);
|
||||
//start next test
|
||||
@@ -132,9 +132,9 @@ public class TestingList extends Panel {
|
||||
fh.setFormatter(formatter);
|
||||
logger.log(Level.INFO, "New Testing Session");
|
||||
} catch (SecurityException e) {
|
||||
SwingUtils.showMessage(this, "", "initLogger() "+e.toString());
|
||||
SwingUtils.showMessage(this, "initLogger()", "initLogger() "+e.toString());
|
||||
} catch (IOException e) {
|
||||
SwingUtils.showMessage(this, "", "initLogger() "+ e.toString());
|
||||
SwingUtils.showMessage(this, "initLogger()", "initLogger() "+ e.toString());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -299,7 +299,7 @@ public class TestingList extends Panel {
|
||||
try {
|
||||
Runtime.getRuntime().exec(cmd);
|
||||
} catch (IOException ex) {
|
||||
SwingUtils.showMessage(this, "", "jButtonOpenLogActionPerformed() "+ ex.toString() + " \nPlease open the file manually. \nFile dir: "+TESTS_LOG_DEFAULT_DIR);
|
||||
SwingUtils.showMessage(this, "jButtonOpenLogActionPerformed()", "jButtonOpenLogActionPerformed() "+ ex.toString() + " \nPlease open the file manually. \nFile dir: "+TESTS_LOG_DEFAULT_DIR);
|
||||
Logger.getLogger(TestingList.class.getName()).log(Level.SEVERE, null, ex);
|
||||
}
|
||||
} else {
|
||||
@@ -307,7 +307,7 @@ public class TestingList extends Panel {
|
||||
try {
|
||||
Desktop.getDesktop().edit(log);
|
||||
} catch (IOException ex) {
|
||||
SwingUtils.showMessage(this, "", "jButtonOpenLogActionPerformed() "+ ex.toString() + " \nPlease open the file manually. \nFile dir: "+TESTS_LOG_DEFAULT_DIR);
|
||||
SwingUtils.showMessage(this, "jButtonOpenLogActionPerformed()", "jButtonOpenLogActionPerformed() "+ ex.toString() + " \nPlease open the file manually. \nFile dir: "+TESTS_LOG_DEFAULT_DIR);
|
||||
Logger.getLogger(TestingList.class.getName()).log(Level.SEVERE, null, ex);
|
||||
}
|
||||
}
|
||||
@@ -380,7 +380,7 @@ public class TestingList extends Panel {
|
||||
}
|
||||
}
|
||||
catch (Exception ex) {
|
||||
SwingUtils.showMessage(this, "", ex.toString());
|
||||
SwingUtils.showMessage(this, "getTestInProgress()", ex.toString());
|
||||
}
|
||||
finally{
|
||||
return dsTestProperties;
|
||||
@@ -454,7 +454,7 @@ public class TestingList extends Panel {
|
||||
args.put("status", false);
|
||||
run(sTestName, args);
|
||||
} catch (Exception ex) {
|
||||
SwingUtils.showMessage(this, "", ex.toString());
|
||||
SwingUtils.showMessage(this, "getTestInProgress()", ex.toString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user