use of com.python.pydev.analysis.AnalysisPreferencesStub in project Pydev by fabioz.
the class UndefinedVariableFixParticipantTest method setUp.
@Override
public void setUp() throws Exception {
super.setUp();
participant = new UndefinedVariableFixParticipant();
super.restorePythonPath(false);
prefs = new AnalysisPreferencesStub();
props = new ArrayList<ICompletionProposalHandle>();
}
use of com.python.pydev.analysis.AnalysisPreferencesStub in project Pydev by fabioz.
the class IgnoreErrorFixParticipantTest method setUp.
@Override
public void setUp() throws Exception {
super.setUp();
format = new FormatStd();
format.spacesBeforeComment = 2;
participant = new IgnoreErrorParticipant(format);
prefs = new AnalysisPreferencesStub();
props = new ArrayList<ICompletionProposalHandle>();
CompletionProposalFactory.set(new DefaultCompletionProposalFactory());
}
Aggregations