Closedown
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user