BackgroundWorker problems
"Lisle, Ron" <[email protected]>
| Newsgroups | gmane.comp.windows.dotnet.nunit.user |
|---|---|
| Message-ID | <[email protected]> |
I am trying to run NUnit tests against a form which includes the System.ComponentModel.BackgroundWorker control. This control exposes 3 events: DoWork, ProgressChanged, and RunWorkerCompleted. During my NUnit tests, I setup a handler for each, and set a flag to indicate that the event was called correctly. However, I appear to only get calls into the DoWork handler, not the other 2. This same code works correctly in my product. I've found via google searching a couple similar questions posted to forums, but no response to those. I've verified that I don't have try/catch statements along any of test paths or event handlers. Any ideas? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nunit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nunit-users