Interface instead of class.

This commit is contained in:
Dmitry Trofimov
2015-08-04 18:34:08 +02:00
parent 5eb99fc881
commit c8c56743c5
2 changed files with 4 additions and 2 deletions
@@ -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;
}