diff --git a/python/src/com/jetbrains/python/run/AbstractPythonRunConfiguration.java b/python/src/com/jetbrains/python/run/AbstractPythonRunConfiguration.java index 69f329ecae37..8e4a4bc51466 100644 --- a/python/src/com/jetbrains/python/run/AbstractPythonRunConfiguration.java +++ b/python/src/com/jetbrains/python/run/AbstractPythonRunConfiguration.java @@ -60,7 +60,7 @@ import java.util.Map; /** * @author Leonid Shalupov */ -public abstract class AbstractPythonRunConfiguration extends AbstractRunConfiguration +public abstract class AbstractPythonRunConfiguration> extends AbstractRunConfiguration implements LocatableConfiguration, AbstractPythonRunConfigurationParams, CommandLinePatcher { /** * When passing path to test to runners, you should join parts with this char. diff --git a/python/src/com/jetbrains/python/run/AbstractServerPythonRunConfiguration.java b/python/src/com/jetbrains/python/run/AbstractServerPythonRunConfiguration.java index 491466f75a5f..fe487581b18d 100644 --- a/python/src/com/jetbrains/python/run/AbstractServerPythonRunConfiguration.java +++ b/python/src/com/jetbrains/python/run/AbstractServerPythonRunConfiguration.java @@ -26,7 +26,7 @@ import org.jetbrains.annotations.NonNls; /** * @author traff */ -abstract public class AbstractServerPythonRunConfiguration extends AbstractPythonRunConfiguration{ +abstract public class AbstractServerPythonRunConfiguration> extends AbstractPythonRunConfiguration{ @NonNls private static final String LAUNCH_JAVASCRIPT_DEBUGGER = "launchJavascriptDebuger"; private boolean myLaunchJavascriptDebugger; diff --git a/python/src/com/jetbrains/python/testing/AbstractPythonTestRunConfiguration.java b/python/src/com/jetbrains/python/testing/AbstractPythonTestRunConfiguration.java index 97d45a8568a5..58fe5bab6c1b 100644 --- a/python/src/com/jetbrains/python/testing/AbstractPythonTestRunConfiguration.java +++ b/python/src/com/jetbrains/python/testing/AbstractPythonTestRunConfiguration.java @@ -50,7 +50,7 @@ import java.io.File; /** * User: catherine */ -public abstract class AbstractPythonTestRunConfiguration extends AbstractPythonRunConfiguration +public abstract class AbstractPythonTestRunConfiguration> extends AbstractPythonRunConfiguration implements AbstractPythonRunConfigurationParams, AbstractPythonTestRunConfigurationParams, RefactoringListenerProvider { diff --git a/python/src/com/jetbrains/python/testing/PythonTestConfigurationProducer.java b/python/src/com/jetbrains/python/testing/PythonTestConfigurationProducer.java index 9ee9b3caa70e..bcf8510ee49a 100644 --- a/python/src/com/jetbrains/python/testing/PythonTestConfigurationProducer.java +++ b/python/src/com/jetbrains/python/testing/PythonTestConfigurationProducer.java @@ -39,6 +39,7 @@ import com.jetbrains.python.PythonModuleTypeBase; import com.jetbrains.python.facet.PythonFacetSettings; import com.jetbrains.python.psi.*; import com.jetbrains.python.psi.types.TypeEvalContext; +import com.jetbrains.python.run.AbstractPythonRunConfiguration; import com.jetbrains.python.run.PythonRunConfigurationProducer; import com.jetbrains.python.testing.unittest.PythonUnitTestRunConfiguration; import org.jetbrains.annotations.NonNls; @@ -53,7 +54,7 @@ import java.util.List; /** * User: ktisha */ -abstract public class PythonTestConfigurationProducer extends RunConfigurationProducer { +abstract public class PythonTestConfigurationProducer> extends RunConfigurationProducer> { public PythonTestConfigurationProducer(final ConfigurationFactory configurationFactory) { super(configurationFactory); @@ -109,7 +110,7 @@ abstract public class PythonTestConfigurationProducer extends RunConfigurationPr } @Override - protected boolean setupConfigurationFromContext(AbstractPythonTestRunConfiguration configuration, + protected boolean setupConfigurationFromContext(AbstractPythonTestRunConfiguration configuration, ConfigurationContext context, Ref sourceElement) { if (context == null) return false; diff --git a/python/src/com/jetbrains/python/testing/attest/PythonAtTestRunConfiguration.java b/python/src/com/jetbrains/python/testing/attest/PythonAtTestRunConfiguration.java index 2ecdc552ceda..54a6836b7f40 100644 --- a/python/src/com/jetbrains/python/testing/attest/PythonAtTestRunConfiguration.java +++ b/python/src/com/jetbrains/python/testing/attest/PythonAtTestRunConfiguration.java @@ -34,7 +34,7 @@ import org.jetbrains.annotations.NotNull; /** * User: catherine */ -public class PythonAtTestRunConfiguration extends AbstractPythonTestRunConfiguration +public class PythonAtTestRunConfiguration extends AbstractPythonTestRunConfiguration implements PythonAtTestRunConfigurationParams { protected String myTitle = "Attest"; protected String myPluralTitle = "Attests"; @@ -44,7 +44,7 @@ public class PythonAtTestRunConfiguration extends AbstractPythonTestRunConfigura } @Override - protected SettingsEditor createConfigurationEditor() { + protected SettingsEditor createConfigurationEditor() { return new PythonAtTestRunConfigurationEditor(getProject(), this); } diff --git a/python/src/com/jetbrains/python/testing/doctest/PythonDocTestRunConfiguration.java b/python/src/com/jetbrains/python/testing/doctest/PythonDocTestRunConfiguration.java index 7796e6974e77..9b689888c53e 100644 --- a/python/src/com/jetbrains/python/testing/doctest/PythonDocTestRunConfiguration.java +++ b/python/src/com/jetbrains/python/testing/doctest/PythonDocTestRunConfiguration.java @@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull; /** * User: catherine */ -public class PythonDocTestRunConfiguration extends AbstractPythonTestRunConfiguration +public class PythonDocTestRunConfiguration extends AbstractPythonTestRunConfiguration implements PythonDocTestRunConfigurationParams { protected String myPluralTitle = "Doctests"; protected String myTitle = "Doctest"; @@ -40,7 +40,7 @@ public class PythonDocTestRunConfiguration extends AbstractPythonTestRunConfigur } @Override - protected SettingsEditor createConfigurationEditor() { + protected SettingsEditor createConfigurationEditor() { return new PythonDocTestRunConfigurationEditor(getProject(), this); } diff --git a/python/src/com/jetbrains/python/testing/nosetest/PythonNoseTestRunConfiguration.java b/python/src/com/jetbrains/python/testing/nosetest/PythonNoseTestRunConfiguration.java index f2c1155bcada..70cd7c4d4479 100644 --- a/python/src/com/jetbrains/python/testing/nosetest/PythonNoseTestRunConfiguration.java +++ b/python/src/com/jetbrains/python/testing/nosetest/PythonNoseTestRunConfiguration.java @@ -34,7 +34,7 @@ import org.jetbrains.annotations.NotNull; /** * User: catherine */ -public class PythonNoseTestRunConfiguration extends AbstractPythonTestRunConfiguration +public class PythonNoseTestRunConfiguration extends AbstractPythonTestRunConfiguration implements PythonNoseTestRunConfigurationParams { private String myParams = ""; // parameters for nosetests protected String myTitle = "Nosetest"; @@ -47,7 +47,7 @@ public class PythonNoseTestRunConfiguration extends AbstractPythonTestRunConfigu } @Override - protected SettingsEditor createConfigurationEditor() { + protected SettingsEditor createConfigurationEditor() { return new PythonNoseTestRunConfigurationEditor(getProject(), this); } diff --git a/python/src/com/jetbrains/python/testing/pytest/PyTestConfigurationProducer.java b/python/src/com/jetbrains/python/testing/pytest/PyTestConfigurationProducer.java index 69fa292538c8..502421091823 100644 --- a/python/src/com/jetbrains/python/testing/pytest/PyTestConfigurationProducer.java +++ b/python/src/com/jetbrains/python/testing/pytest/PyTestConfigurationProducer.java @@ -44,14 +44,14 @@ import org.jetbrains.annotations.Nullable; import java.io.File; import java.util.List; -public class PyTestConfigurationProducer extends PythonTestConfigurationProducer { +public class PyTestConfigurationProducer extends PythonTestConfigurationProducer { public PyTestConfigurationProducer() { super(PythonTestConfigurationType.getInstance().PY_PYTEST_FACTORY); } @Override - protected boolean setupConfigurationFromContext(AbstractPythonTestRunConfiguration configuration, + protected boolean setupConfigurationFromContext(AbstractPythonTestRunConfiguration configuration, ConfigurationContext context, Ref sourceElement) { final PsiElement element = sourceElement.get(); diff --git a/python/src/com/jetbrains/python/testing/pytest/PyTestRunConfiguration.java b/python/src/com/jetbrains/python/testing/pytest/PyTestRunConfiguration.java index 3243fc0bab8d..1a7b826f4d31 100644 --- a/python/src/com/jetbrains/python/testing/pytest/PyTestRunConfiguration.java +++ b/python/src/com/jetbrains/python/testing/pytest/PyTestRunConfiguration.java @@ -45,7 +45,7 @@ import java.util.List; /** * @author yole */ -public class PyTestRunConfiguration extends AbstractPythonTestRunConfiguration implements PyTestRunConfigurationParams { +public class PyTestRunConfiguration extends AbstractPythonTestRunConfiguration implements PyTestRunConfigurationParams { private String myTestToRun = ""; private String myKeywords = ""; private String myParams = ""; @@ -64,7 +64,7 @@ public class PyTestRunConfiguration extends AbstractPythonTestRunConfiguration i super(project, factory); } - protected SettingsEditor createConfigurationEditor() { + protected SettingsEditor createConfigurationEditor() { return new PyTestConfigurationEditor(getProject(), this); } diff --git a/python/src/com/jetbrains/python/testing/unittest/PythonUnitTestRunConfiguration.java b/python/src/com/jetbrains/python/testing/unittest/PythonUnitTestRunConfiguration.java index 4353a43ca237..a3a7cf248f47 100644 --- a/python/src/com/jetbrains/python/testing/unittest/PythonUnitTestRunConfiguration.java +++ b/python/src/com/jetbrains/python/testing/unittest/PythonUnitTestRunConfiguration.java @@ -33,7 +33,7 @@ import org.jetbrains.annotations.NotNull; * @author Leonid Shalupov */ public class PythonUnitTestRunConfiguration extends - AbstractPythonTestRunConfiguration + AbstractPythonTestRunConfiguration implements PythonUnitTestRunConfigurationParams { private boolean myIsPureUnittest = true; protected String myTitle = "Unittest"; @@ -48,7 +48,7 @@ public class PythonUnitTestRunConfiguration extends } @Override - protected SettingsEditor createConfigurationEditor() { + protected SettingsEditor createConfigurationEditor() { return new PythonUnitTestRunConfigurationEditor(getProject(), this); }