コード例 #1
0
		public ITestRunner CreateTestDebugger()
		{
			NUnitTestDebugger testDebugger = 
				new NUnitTestDebugger(debuggerService, messageService, testResultsMonitor, options);
			testDebuggersCreated.Add(testDebugger);
			return testDebugger;
		}
コード例 #2
0
		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);
		}
コード例 #3
0
		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;
		}