чистка лишних импортов.и фикс бага с сохранением тестов
This commit is contained in:
@@ -13,6 +13,19 @@ public class TestFile extends projectFile_ {
|
||||
public int id;
|
||||
public int test_id = CommonConstants.Nan;
|
||||
public String name; //имя относительно корневой папки проекта. не ключ.
|
||||
public TestFile() {
|
||||
}
|
||||
public TestFile(Test test) {
|
||||
test_id = test.id;
|
||||
}
|
||||
public TestFile(File file_in) {
|
||||
super(file_in);
|
||||
name = file_in.getName();
|
||||
}
|
||||
public TestFile(Test test, File file_in) {
|
||||
this(file_in);
|
||||
test_id = test.id;
|
||||
}
|
||||
@Override
|
||||
public Object getPK() {
|
||||
return id;
|
||||
@@ -29,17 +42,4 @@ public class TestFile extends projectFile_ {
|
||||
test_id = src_.test_id;
|
||||
name = src_.name;
|
||||
}
|
||||
public TestFile() {
|
||||
}
|
||||
public TestFile(Test test) {
|
||||
test_id = test.id;
|
||||
}
|
||||
public TestFile(File file_in){
|
||||
super(file_in);
|
||||
name = file_in.getName();
|
||||
}
|
||||
public TestFile(Test test, File file_in){
|
||||
this(file_in);
|
||||
test_id = test.id;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user