Closedown

This commit is contained in:
boccioli_m
2015-06-10 14:52:25 +02:00
parent 060cf5a2c0
commit f90023b134

View File

@@ -59,6 +59,7 @@ public class TestingList extends Panel {
Object deviceName = eval("DEVICE");
String sStatus = (status == true) ? "Success" : "Failed";
if (ret != "" ) {
//SwingUtils.showMessage(getComponent(), "", ret.toString() + " - " + ret.getClass().getName());
iCurrentTestPos = testingList.showResult(deviceName.toString(), fileName, ret.toString(), sStatus);
@@ -68,7 +69,7 @@ public class TestingList extends Panel {
testingList.executeTest(iCurrentTestPos+1);
}
}
else{
else{ // ret empty means that either the test script does not have variable ret, or that the script could not be started at all
ret = "Could not start test script";
sStatus = "Failed";
String[] dsDeviceName = testingList.getTestInProgress();
@@ -456,6 +457,7 @@ public class TestingList extends Panel {
jTable1.getColumnModel().getColumn(COL_CHECK).setMaxWidth(27);
jTable1.getColumnModel().getColumn(COL_DEVICENAME).setPreferredWidth(30);
jTable1.getColumnModel().getColumn(COL_STATUS).setPreferredWidth(30);
jTable1.setAutoCreateRowSorter(true);
updateStatus();
}