Files
VisualSapfor/src/_VisualDVM/Passes/All/RefreshDVMTests.java
2025-02-05 01:14:41 +03:00

23 lines
1.0 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package _VisualDVM.Passes.All;
import _VisualDVM.Global;
import _VisualDVM.Passes.PassCode;
import _VisualDVM.Passes.Server.TestingServerPass;
import _VisualDVM.Repository.Server.ServerCode;
public class RefreshDVMTests extends TestingServerPass<Object> {
@Override
public String getIconPath() {
return "/icons/DownloadAll.png";
}
@Override
protected boolean canStart(Object... args) throws Exception {
return SendRequest(ServerCode.RefreshDVMTests);
}
@Override
protected void performFinish() throws Exception {
super.performFinish();
Global.mainModule.getPass(PassCode.SynchronizeTests).Do();
}
//todo будет реализован когда наладится запуск сапфора на сервере тестирования.
//todo тогда все процедуры с репозиторием и созданием групп и тестов, и определением сапфором их размерности будут на стороне сервера.
}