Closedown
This commit is contained in:
@@ -396,13 +396,14 @@ public class TestingList extends Panel {
|
||||
sTestName = new java.io.File( "." ).getCanonicalPath()+ TESTS_TESTS_DEFAULT_DIR + prop.getProperty("tests");
|
||||
//config of device was loaded. now load the config of each test belonging to the device
|
||||
testsFolder = new File(sTestName);
|
||||
File[] listOfTests = testsFolder.listFiles();
|
||||
for (File listOfTest : listOfTests) {
|
||||
if (listOfTest.isDirectory()) {
|
||||
this.jTextField1.append("\nTest " + listOfTest.getName());
|
||||
if(testsFolder.exists() && testsFolder.isDirectory()){
|
||||
File[] listOfTests = testsFolder.listFiles();
|
||||
for (File listOfTest : listOfTests) {
|
||||
if (listOfTest.isDirectory()) {
|
||||
this.jTextField1.append("\nTest " + listOfTest.getName());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
addToTable(prop.getProperty("name"), prop.getProperty("description"), prop.getProperty("tests"));
|
||||
this.jTextField1.append(prop.getProperty("name"));
|
||||
this.jTextField1.append(prop.getProperty("description"));
|
||||
|
||||
Reference in New Issue
Block a user