Closedown

This commit is contained in:
boccioli_m
2015-06-16 16:26:53 +02:00
parent 4a918b93dc
commit 2e2d8af2e8

View File

@@ -70,13 +70,10 @@ public class TestingList extends Panel {
//SwingUtils.showMessage(getComponent(), "", ret.toString() + " - " + ret.getClass().getName());
iCurrentTestPos = testingList.showResult(deviceName.toString(), fileName, ret.toString(), sStatus);
//start next test
if(iCurrentTestPos>=0 && testingList.isTestRunAllowed())
if(testingList.isTestRunAllowed())
{
testingList.executeTest(iCurrentTestPos+1);
}
else{
testingList.setButtonToStop();
}
}
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";
@@ -86,13 +83,10 @@ public class TestingList extends Panel {
if(dsDeviceName[0] != ""){
iCurrentTestPos = testingList.showResult(dsDeviceName[0], fileName, ret.toString(), sStatus);
//start next test
if(iCurrentTestPos>=0 && testingList.isTestRunAllowed())
if(testingList.isTestRunAllowed())
{
testingList.executeTest(iCurrentTestPos+1);
}
else{
testingList.setButtonToStop();
}
}
}
} catch (Exception ex) {
@@ -104,13 +98,10 @@ public class TestingList extends Panel {
if(dsDeviceName[0] != ""){
iCurrentTestPos = testingList.showResult(dsDeviceName[0], fileName, ret, sStatus);
//start next test
if(iCurrentTestPos>=0 && testingList.isTestRunAllowed() )
if(testingList.isTestRunAllowed() )
{
testingList.executeTest(iCurrentTestPos+1);
}
else{
testingList.setButtonToStop();
}
}
}
}