Closedown
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user