mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
junit/testng: use common configuration
This commit is contained in:
@@ -38,7 +38,7 @@ import java.io.IOException;
|
||||
import java.net.InetAddress;
|
||||
import java.net.ServerSocket;
|
||||
|
||||
public abstract class JavaTestFrameworkRunnableState extends JavaCommandLineState {
|
||||
public abstract class JavaTestFrameworkRunnableState<T extends ModuleBasedConfiguration<JavaRunConfigurationModule> & CommonJavaRunConfigurationParameters> extends JavaCommandLineState {
|
||||
private static final Logger LOG = Logger.getInstance("#" + JavaTestFrameworkRunnableState.class.getName());
|
||||
protected ServerSocket myServerSocket;
|
||||
protected File myTempFile;
|
||||
@@ -55,6 +55,8 @@ public abstract class JavaTestFrameworkRunnableState extends JavaCommandLineStat
|
||||
|
||||
@NotNull protected abstract AbstractRerunFailedTestsAction createRerunFailedTestsAction(TestConsoleProperties testConsoleProperties, ConsoleView consoleView);
|
||||
|
||||
@NotNull protected abstract T getConfiguration();
|
||||
|
||||
protected ExecutionResult startSMRunner(Executor executor,
|
||||
OSProcessHandler handler,
|
||||
RunConfigurationBase configuration,
|
||||
|
||||
Reference in New Issue
Block a user