void CreateTestDebugger() { debuggerService = new MockDebuggerService(); debugger = debuggerService.MockDebugger; messageService = new MockMessageService(); testResultsMonitor = new MockTestResultsMonitor(); testResultsMonitor.InitialFilePosition = 3; options = new RubyAddInOptions(new Properties()); options.RubyFileName = @"c:\ironruby\ir.exe"; fileService = new MockScriptingFileService(); testDebugger = new RubyTestDebugger(debuggerService, messageService, testResultsMonitor, options, fileService); }
void CreateTestDebugger() { debuggerService = new MockDebuggerService(); debugger = debuggerService.MockDebugger; messageService = new MockMessageService(); testResultsMonitor = new MockTestResultsMonitor(); options = new PythonAddInOptions(new Properties()); options.PythonFileName = @"c:\ironpython\ipy.exe"; standardLibraryPath = new PythonStandardLibraryPath(@"c:\python\lib"); fileService = new MockScriptingFileService(); testDebugger = new PythonTestDebugger(debuggerService, messageService, testResultsMonitor, options, standardLibraryPath, fileService); }
public void Init() { selectedTests = SelectedTestsHelper.CreateSelectedTestMember(); FileUtility.ApplicationRootPath = @"C:\SharpDevelop"; messageService = new MockMessageService(); debuggerService = new MockDebuggerService(); debugger = debuggerService.MockDebugger; testResultsMonitor = new MockTestResultsMonitor(); testResultsMonitor.FileName = @"c:\temp\tmp66.tmp"; options = new UnitTestingOptions(new Properties()); options.NoShadow = true; testDebugger = new NUnitTestDebugger(debuggerService, messageService, testResultsMonitor, options); }
public void Init() { context = new MockRunTestCommandContext(); processRunner = new MockProcessRunner(); debuggerService = new MockDebuggerService(); testFramework = new MockNUnitTestFramework(debuggerService, processRunner, context.MockTestResultsMonitor, context.UnitTestingOptions, context.MessageService); testRunner = testFramework.CreateTestRunner() as NUnitTestRunner; testDebugger = testFramework.CreateTestDebugger() as NUnitTestDebugger; }
public void InitBase() { project = new MockCSharpProject(); buildProject = new MockBuildProjectBeforeTestRun(); context = new MockRunTestCommandContext(); context.MockUnitTestsPad.AddProject(project); context.MockBuildProjectFactory.AddBuildProjectBeforeTestRun(buildProject); debuggerService = new MockDebuggerService(); testFramework = new MockNUnitTestFramework(debuggerService, context.MockTestResultsMonitor, context.UnitTestingOptions, context.MessageService); context.MockRegisteredTestFrameworks.AddTestFrameworkForProject(project, testFramework); runCommand = new DerivedRunTestWithDebuggerCommand(context); }
public void Init() { debuggerService = new MockDebuggerService(); debugger = debuggerService.CurrentDebugger as MockDebugger; }