mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
PY-15975 Interface introduced to prevent configurations from running under debug, hence tests rerun support debug now while rest not
This commit is contained in:
@@ -21,12 +21,13 @@ import com.intellij.openapi.util.InvalidDataException;
|
||||
import com.intellij.openapi.util.JDOMExternalizerUtil;
|
||||
import com.intellij.openapi.util.WriteExternalException;
|
||||
import com.jetbrains.python.run.AbstractPythonRunConfiguration;
|
||||
import com.jetbrains.python.run.DebugAwareConfiguration;
|
||||
import org.jdom.Element;
|
||||
|
||||
/**
|
||||
* User : catherine
|
||||
*/
|
||||
public abstract class RestRunConfiguration extends AbstractPythonRunConfiguration {
|
||||
public abstract class RestRunConfiguration extends AbstractPythonRunConfiguration implements DebugAwareConfiguration {
|
||||
private String myInputFile = "";
|
||||
private String myOutputFile = "";
|
||||
private String myParams = "";
|
||||
@@ -109,4 +110,9 @@ public abstract class RestRunConfiguration extends AbstractPythonRunConfiguratio
|
||||
public boolean canRunWithCoverage() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final boolean canRunUnderDebug() {
|
||||
return false; // Rest configuration can't be run under debug
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user