Closedown

This commit is contained in:
boccioli_m
2015-06-09 15:15:59 +02:00
parent 9b2327c3e8
commit 4dd72f74fc

View File

@@ -391,17 +391,21 @@ public class TestingList extends Panel {
for (File listOfTest : listOfTests) {
if (listOfTest.isDirectory()) {
this.jTextField1.append("\nTest: " + listOfTest.getPath());
InputStream ist = new FileInputStream(listOfTest.getPath());
propTest.load(is);
addToTable(propDevice.getProperty("name"),
propDevice.getProperty("description"),
propDevice.getProperty("tests"),
propTest.getProperty("name"));
this.jTextField1.append("\nProperties: ");
this.jTextField1.append(propDevice.getProperty("name"));
this.jTextField1.append(propDevice.getProperty("description"));
this.jTextField1.append(propDevice.getProperty("tests"));
this.jTextField1.append(propTest.getProperty("name"));
configFile = new File(listOfFile.getPath() + FilenameUtils.separatorsToSystem("/.config"));
if(configFile.exists() && !configFile.isDirectory()){
InputStream ist = new FileInputStream(configFile);
propTest.load(ist);
addToTable(propDevice.getProperty("name"),
propDevice.getProperty("description"),
propDevice.getProperty("tests"),
propTest.getProperty("name"));
this.jTextField1.append("\nProperties: ");
this.jTextField1.append(propDevice.getProperty("name"));
this.jTextField1.append(propDevice.getProperty("description"));
this.jTextField1.append(propDevice.getProperty("tests"));
this.jTextField1.append(propTest.getProperty("name"));
}
}
}
}