protected DebuggerTestFixture(string exe_file, string src_file, params string[] args) { ExeFileName = Path.GetFullPath (Path.Combine (BuildDirectory, exe_file)); FileName = Path.GetFullPath (Path.Combine (SourceDirectory, src_file)); config = new DebuggerConfiguration (); config.RedirectOutput = true; config.SetupCLI (); options = CreateOptions (ExeFileName, args); inferior_stdout = new LineReader (); inferior_stderr = new LineReader (); }
internal NUnitInterpreter(DebuggerConfiguration config, DebuggerOptions options, LineReader inferior_stdout, LineReader inferior_stderr) : base(false, config, options) { this.inferior_stdout = inferior_stdout; this.inferior_stderr = inferior_stderr; config.FollowFork = true; queue = Queue.Synchronized (new Queue ()); wait_event = new ST.ManualResetEvent (false); Style = style_nunit = new StyleNUnit (this); style_nunit.TargetEventEvent += delegate (Thread thread, TargetEventArgs args) { if (IgnoreThreadCreation && (args.Type == TargetEventType.TargetExited)) return; AddEvent (new DebuggerEvent (DebuggerEventType.TargetEvent, thread, args)); }; ST.Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture; ObjectFormatter.WrapLines = false; }