Closedown

This commit is contained in:
boccioli_m
2017-08-31 17:21:05 +02:00
parent 90ebd701f5
commit 290dd1e4da
3 changed files with 9 additions and 9 deletions

View File

@@ -380,7 +380,7 @@ public class TestingList extends Panel {
try {
if (!configFile.isFile()) configFile.createNewFile();
FileReader reader = new FileReader(configFile);
//System.out.println("save property: "+ key + " = " + val);
System.out.println("save property: "+ key + " = " + val);
properties.setProperty(key, val);
Properties props = properties;
@@ -2476,10 +2476,13 @@ public class TestingList extends Panel {
/**
* get the parameters from the test config file
* get the parameters from the test and device config file.
* the test config params are default params. if the same param name
* is also in the device config, it will override the test param.
*
* @param sTestPath directory where the test files are (directory with the
* test name)
* @param sdevicePath device config file path
* @return HashMap of the test parameters. See buildParametersMap() for
* details.
*/
@@ -2504,9 +2507,7 @@ public class TestingList extends Panel {
System.out.println(pair.getKey() + " = " + pair.getValue());
// add parameter only if not already on device parameters
params.putIfAbsent(pair.getKey(), pair.getValue());
}
}
return params;
}