public void Init() { string tempFileName = "temp.tmp"; MockScriptingFileService fileService = new MockScriptingFileService(); fileService.SetTempFileName(tempFileName); fileService.SetTextWriter(new StringWriter()); Properties properties = new Properties(); options = new RubyAddInOptions(properties); AddInPathHelper helper = new AddInPathHelper("RubyBinding"); AddIn addin = helper.CreateDummyAddInInsideAddInTree(); addin.FileName = @"c:\rubybinding\rubybinding.addin"; string testResultsFileName = "results.txt"; testRunner = new RubyTestRunnerApplication(testResultsFileName, options, fileService); }
void CreateTestRunnerApplication() { testRunnerApplication = new RubyTestRunnerApplication(base.TestResultsMonitor.FileName, options, fileService); }