Example #1
0
 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);
 }
		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);
		}
Example #3
0
 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()
		{
			debuggerService = new MockDebuggerService();
			debugger = debuggerService.CurrentDebugger as MockDebugger;
		}