mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Interface instead of class.
This commit is contained in:
@@ -36,6 +36,7 @@ import com.intellij.openapi.util.Getter;
|
||||
import com.intellij.openapi.util.text.StringUtil;
|
||||
import com.intellij.openapi.vfs.LocalFileSystem;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
import com.jetbrains.python.PythonHelper;
|
||||
import com.jetbrains.python.PythonHelpersLocator;
|
||||
import com.jetbrains.python.console.PythonDebugLanguageConsoleView;
|
||||
import com.jetbrains.python.run.AbstractPythonRunConfiguration;
|
||||
@@ -172,6 +173,6 @@ public abstract class PythonTestCommandLineStateBase extends PythonCommandLineSt
|
||||
envs.put("PYCHARM_HELPERS_DIR", PythonHelpersLocator.getHelperPath("pycharm"));
|
||||
}
|
||||
|
||||
protected abstract PythonHelpersLocator getRunner();
|
||||
protected abstract PythonHelper getRunner();
|
||||
protected abstract List<String> getTestSpecs();
|
||||
}
|
||||
|
||||
@@ -24,6 +24,7 @@ import com.intellij.execution.runners.ExecutionEnvironment;
|
||||
import com.intellij.execution.ui.ConsoleView;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.util.text.StringUtil;
|
||||
import com.jetbrains.python.PythonHelper;
|
||||
import com.jetbrains.python.PythonHelpersLocator;
|
||||
import com.jetbrains.python.testing.PythonTestCommandLineStateBase;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
@@ -50,7 +51,7 @@ public class PyTestCommandLineState extends PythonTestCommandLineStateBase {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected PythonHelpersLocator getRunner() {
|
||||
protected PythonHelper getRunner() {
|
||||
return PythonHelpersLocator.PYTEST;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user