From 363d114806f4e82f4d8690ba01aa15e0dc0ec5e6 Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Wed, 10 Jun 2015 15:29:45 +0200 Subject: [PATCH] Closedown --- plugins/TestingList.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/plugins/TestingList.java b/plugins/TestingList.java index d8e3528..c5d9c91 100644 --- a/plugins/TestingList.java +++ b/plugins/TestingList.java @@ -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()); } } }