From 2e2d8af2e8363aecee1eab9fac309b91d6be026b Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Tue, 16 Jun 2015 16:26:53 +0200 Subject: [PATCH] Closedown --- plugins/TestingList.java | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/plugins/TestingList.java b/plugins/TestingList.java index 1e33e4d..cdd8057 100644 --- a/plugins/TestingList.java +++ b/plugins/TestingList.java @@ -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(); - } } } }