Closedown

This commit is contained in:
boccioli_m
2015-06-09 15:42:52 +02:00
parent ffeed0d7b2
commit 40b7da796c
2 changed files with 11 additions and 1 deletions

View File

@@ -79,7 +79,7 @@ public class TestingList extends Panel {
//these paths are converted to unix or win path according to host OS
private String TESTS_DEVICES_DEFAULT_DIR = new java.io.File( "." ).getCanonicalPath()+ FilenameUtils.separatorsToSystem("/home/script/tests/production/");
private String TESTS_TESTS_DEFAULT_DIR = new java.io.File( "." ).getCanonicalPath()+ FilenameUtils.separatorsToSystem("/home/script/tests/tests/");
private String TESTS_LOG_DEFAULT_DIR = new java.io.File( "." ).getCanonicalPath()+ FilenameUtils.separatorsToSystem("/home/script/tests/log/TestsLog"+getNow()+".txt");
private String TESTS_LOG_DEFAULT_DIR = new java.io.File( "." ).getCanonicalPath()+ FilenameUtils.separatorsToSystem("/home/script/tests/log/TestsLog"+getnow()+".txt");
//table1 columns indexes
private int COL_CHECK = 0;
private int COL_TIME = 1;
@@ -392,6 +392,12 @@ public class TestingList extends Panel {
Date date = new Date();
return dateFormat.format(date);
}
public String getnow(){
DateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
Date date = new Date();
return dateFormat.format(date);
}
public void loadTests() throws FileNotFoundException, IOException{