public PythonTestRunner(PythonTestRunnerContext context) : base(context) { this.options = context.Options; this.pythonStandardLibraryPath = context.PythonStandardLibraryPath; this.fileService = context.ScriptingFileService; }
void CreateTestRunner() { processRunner = new MockProcessRunner(); testResultsMonitor = new MockTestResultsMonitor(); options = new PythonAddInOptions(new Properties()); options.PythonFileName = @"c:\ironpython\ipy.exe"; fileService = new MockScriptingFileService(); messageService = new MockMessageService(); standardLibraryPath = new PythonStandardLibraryPath(@"c:\python\lib"); PythonTestRunnerContext context = new PythonTestRunnerContext(processRunner, testResultsMonitor, messageService, options, standardLibraryPath, fileService); testRunner = new PythonTestRunner(context); }