v++
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package Visual_DVM_2021.Passes.All;
|
||||
import Common.Current;
|
||||
import Visual_DVM_2021.Passes.PassCode_2021;
|
||||
public class CreateTestFromCurrentProject extends CreateTestFromDirectory {
|
||||
@Override
|
||||
public String getIconPath() {
|
||||
return "/icons/RedAdd.png";
|
||||
}
|
||||
@Override
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
if (Current.Check(Log, Current.Group, Current.Project)) {
|
||||
return super.canStart(Current.getProject().Home, Current.getGroup());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
@Override
|
||||
protected void performDone() throws Exception {
|
||||
passes.get(PassCode_2021.PublishTest).Do(target);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user