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