Files
VisualSapfor/src/Visual_DVM_2021/Passes/All/TestPass.java

21 lines
754 B
Java
Raw Normal View History

package Visual_DVM_2021.Passes.All;
2024-09-24 20:22:41 +03:00
import Common.Current;
import Repository.Server.ServerCode;
import Repository.Server.ServerExchangeUnit_2021;
import TestingSystem.SAPFOR.ServerSapfor.ServerSapfor;
import Visual_DVM_2021.Passes.Server.TestingSystemPass;
public class TestPass extends TestingSystemPass<ServerSapfor> {
@Override
2024-09-24 20:22:41 +03:00
protected boolean canStart(Object... args) throws Exception {
if (Current.Check(Log, Current.ServerSapfor)) {
target = Current.getServerSapfor();
return true;
}
return false;
}
@Override
protected void ServerAction() throws Exception {
Command(new ServerExchangeUnit_2021(ServerCode.PerformAutoSapforTesting, String.valueOf(target.id) ));
}
2023-09-17 22:13:42 +03:00
}