return PydevPlugin.getJythonInterpreterManager();
}
@Override
protected void setInterpreterManager(String path) {
AbstractInterpreterManager interpreterManager = new JythonInterpreterManager(this.getPreferences());
InterpreterInfo info;
info = (InterpreterInfo) interpreterManager.createInterpreterInfo(TestDependent.JYTHON_JAR_LOCATION,
new NullProgressMonitor(), false);
if (!info.executableOrJar.equals(TestDependent.JYTHON_JAR_LOCATION)) {
throw new RuntimeException("expected same");
}
if (path != null) {
info = new InterpreterInfo(info.getVersion(), TestDependent.JYTHON_JAR_LOCATION,
PythonPathHelper.parsePythonPathFromStr(path, new ArrayList<String>()));
}
interpreterManager.setInfos(new IInterpreterInfo[] { info }, null, null);
PydevPlugin.setJythonInterpreterManager(interpreterManager);
}