Closedown

This commit is contained in:
boccioli_m
2015-07-02 14:17:36 +02:00
parent efca88167d
commit c41ce07c69
4 changed files with 16 additions and 21 deletions

View File

@@ -817,7 +817,7 @@ public class TestingList extends Panel {
public class RunTest implements Runnable {
private HashMap mParameters;
private HashMap<String,Object> args;
//private HashMap<String,Object> args;
private HashMap<String,HashMap> hTests;
public RunTest() {
@@ -888,7 +888,7 @@ public class TestingList extends Panel {
//start all the tests in the rowsToExecute
private int executeParallelTestsGroup(int[] rowsToExecute) {
int iRet = -1;
HashMap args = new HashMap(); //this is the global map that will contain one map per test.
HashMap args2 = new HashMap(); //this is the global map that will contain one map per test.
HashMap testArgs; //this is the map for a test.
RunTest runTest;
String sTestName="", sDeviceName="", sTestPath="";
@@ -916,9 +916,9 @@ public class TestingList extends Panel {
System.out.println("Running test '" + sTestName + "'. No parameters found.");
}
args.put(sTestPath,testArgs);
args2.put(sTestPath,testArgs);
hTests = args;
hTests = args2;
iRet = 0;
} catch (Exception ex) {
SwingUtils.showMessage(TestingList.this.getComponent(), "executeTest()", ex.toString());
@@ -938,7 +938,7 @@ public class TestingList extends Panel {
int i = 0;
int iTotalEntries = hTests.entrySet().size();
for(Map.Entry<String, HashMap> hTest : hTests.entrySet()){
setGlobalsVars(hTest.getValue());
//setGlobalsVars(hTest.getValue()); //set global variables that can be read by all test scripts
sTestPath = hTest.getKey().toString();
sTestPath = sTestPath.replace("\\","\\\\");
//System.out.println(hTest.getValue().get("test"));