From f942ecf5eb94a80db0bc92f29f077ba3119bf40c Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Tue, 16 Jun 2015 14:20:59 +0200 Subject: [PATCH] Closedown --- plugins/TestingList.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/TestingList.java b/plugins/TestingList.java index 63088b0..cb62c6d 100644 --- a/plugins/TestingList.java +++ b/plugins/TestingList.java @@ -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();