Closedown
This commit is contained in:
@@ -336,7 +336,7 @@ public class TestingList extends Panel {
|
||||
return dateFormat.format(date);
|
||||
}
|
||||
|
||||
public void loadTestsfail() throws FileNotFoundException, IOException{
|
||||
/* public void loadTestsfail() throws FileNotFoundException, IOException{
|
||||
Properties prop = new Properties();
|
||||
FileInputStream fc = null;
|
||||
try{
|
||||
@@ -368,17 +368,17 @@ public class TestingList extends Panel {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
public void loadTests() throws FileNotFoundException, IOException{
|
||||
Properties prop = new Properties();
|
||||
ClassLoader classLoader = getClass().getClassLoader();
|
||||
String fileName = classLoader.getResource("../script/tests/devices/LS/.config").getPath();
|
||||
//String fileName = classLoader.getResource("../script/tests/devices/LS/.config").getPath();
|
||||
//InputStream is = new FileInputStream(fileName);
|
||||
|
||||
//prop.load(is);
|
||||
|
||||
addToTable(prop.getProperty("name"), prop.getProperty("description"));
|
||||
//addToTable(prop.getProperty("name"), prop.getProperty("description"));
|
||||
}
|
||||
|
||||
public void selectFile(){
|
||||
|
||||
Reference in New Issue
Block a user