diff --git a/plugins/TestingList.java b/plugins/TestingList.java index b43f4b2..33919f1 100644 --- a/plugins/TestingList.java +++ b/plugins/TestingList.java @@ -73,14 +73,15 @@ public class TestingList extends Panel { // SwingUtils.showException(getComponent(), ex); String ret = "Could not start test script"; String sSuccess = "Failed"; - String[] deviceName = testingList.getTestinProgress(); + String[] deviceName = testingList.getTestInProgress(); iCurrentTestPos = testingList.showResult(deviceName[0], fileName, ret, sSuccess); //start next test if(iCurrentTestPos>0) { testingList.executeTest(iCurrentTestPos+1); - } + } + SwingUtils.showMessage(getComponent(), "", ex.toString() + deviceName[0]); } } @@ -332,13 +333,11 @@ public class TestingList extends Panel { return rowD; } //find the test currently in progress - public String[] getTestinProgress() { - int rowD = -1, colT = -1; - String[] dsTestProperties = null; + public String[] getTestInProgress() { + String[] dsTestProperties = null; //search for device name in table for (int row = 0; row <= jTable1.getRowCount() - 1; row++) { if ("Running".equals(jTable1.getValueAt(row, COL_STATUS))) { - rowD = row; dsTestProperties[0] = jTable1.getValueAt(row, COL_DEVICENAME).toString(); dsTestProperties[1] = jTable1.getValueAt(row, COL_TESTNAME).toString(); break;