public void Bug694908() { Application.ThreadException += CrashingForm.HandleThreadException; using (var form = new CrashingForm()) { form.Show(); Application.DoEvents(); } // with bug 694908 we don't come here. Instead NUnit exits. Assert.IsTrue(CrashingForm.HasHandledException); }
public void Bug694908 () { Application.ThreadException += CrashingForm.HandleThreadException; using (var form = new CrashingForm ()) { form.Show (); Application.DoEvents (); } // with bug 694908 we don't come here. Instead NUnit exits. Assert.IsTrue (CrashingForm.HasHandledException); }