Closedown

This commit is contained in:
boccioli_m
2017-08-30 15:24:38 +02:00
parent a9254a0605
commit f792b3d5cb
3 changed files with 7 additions and 7 deletions

View File

@@ -1952,7 +1952,7 @@ public class TestingList extends Panel {
String sTestPath = jTable1.getValueAt(row, COL.TESTPATH.ordinal()).toString().replace("\\", File.separator);
// HashMap mParameters = buildParametersMap(String.valueOf(jTable1.getValueAt(row, COL.TESTPARAMS.ordinal())));
//get the parameters directly frm he config file
System.out.println("sTestPath: " + sTestPath);
// System.out.println("sTestPath: " + sTestPath);
HashMap mParameters = getTestParameters(sTestPath);
HashMap testArgs = new HashMap();
//args.put("ret", "");
@@ -2015,7 +2015,7 @@ System.out.println("sTestPath: " + sTestPath);
* @return return value: 0 means ok, <0 means problem
*/
private int executeParallelTestsGroup(int[] rowsToExecute) throws InterruptedException {
System.out.println("Rows = " + Convert.arrayToString(rowsToExecute, " - " , 10));
// System.out.println("Rows = " + Convert.arrayToString(rowsToExecute, " - " , 10));
hTests = new HashMap();
int iRet = -1;
HashMap args2 = new HashMap(); //this is the global map that will contain one map per test.
@@ -2061,7 +2061,7 @@ System.out.println("Rows = " + Convert.arrayToString(rowsToExecute, " - " , 10))
setToStopped();
}
}
System.out.println(hTests);
// System.out.println(hTests);
try {
int iLastExecutedTestIndex = -1;
final String sParallelizeBegin = "(run,(str('";
@@ -2233,7 +2233,7 @@ System.out.println(hTests);
DefaultTableModel model = (DefaultTableModel) jTable1.getModel();
//String testPath = FilenameUtils.separatorsToSystem(TESTS_TESTS_DEFAULT_DIR + testSuite + "/" + testName + "/" + testName + ".py");
String testPath = Paths.get(TESTS_TESTS_DEFAULT_DIR.toString(), testSuite, testName, testName + ".py").toString();
System.out.println("PAth = " + testPath);
System.out.println("Path = " + testPath);
Object rowData[] = new Object[]{false, "", sDate, deviceName, deviceDescription, testSuite, testName, testPath, testParams, testDescription, testHelp, "", "Pending", icon};
//vedify that this test is not already in the table
int totalRows = model.getRowCount();