Closedown

This commit is contained in:
boccioli_m
2015-06-16 14:20:59 +02:00
parent 4d23865102
commit f942ecf5eb

View File

@@ -81,7 +81,7 @@ public class TestingList extends Panel {
String[] dsDeviceName = testingList.getTestInProgress();
//SwingUtils.showException(getComponent(), ex );
//SwingUtils.showMessage(getComponent(), "", ex.toString() + deviceName[0]);
if(dsDeviceName[0] != ""){
if(dsDeviceName[0] != "" && testingList.isTestRunAllowed()){
iCurrentTestPos = testingList.showResult(dsDeviceName[0], fileName, ret.toString(), sStatus);
//start next test
if(iCurrentTestPos>=0 && testingList.isTestRunAllowed())
@@ -96,7 +96,7 @@ public class TestingList extends Panel {
String[] dsDeviceName = testingList.getTestInProgress();
//SwingUtils.showException(getComponent(), ex );
SwingUtils.showMessage(getComponent(), "onExecutedFile()", ex.toString() + dsDeviceName[0]);
if(dsDeviceName[0] != ""){
if(dsDeviceName[0] != "" && testingList.isTestRunAllowed() ){
iCurrentTestPos = testingList.showResult(dsDeviceName[0], fileName, ret, sStatus);
//start next test
if(iCurrentTestPos>=0 && testingList.isTestRunAllowed())
@@ -555,6 +555,7 @@ public class TestingList extends Panel {
if(bSelected) break;
}
if (bSelected) {
//build the .py test file path
sDeviceName = jTable1.getValueAt(row, COL.DEVICENAME.ordinal()).toString();
sTestName = jTable1.getValueAt(row, COL.TESTNAME.ordinal()).toString();
sTestCaseName = jTable1.getValueAt(row, COL.TESTSUITE.ordinal()).toString();