[Mono-dev] [PATCH] - System.IO.FileSystemWatcher Unit Tests for Events
alan.mcgovern at gmail.com
Wed Apr 18 19:19:31 EDT 2007
One thing you should do is make sure your temp files and directories are
cleaned up when your tests finish running. The best way to do this would be
to use [TestFixtureSetup] and [TestFixtureTeardown] to create a setup and
cleanup method. The first one creates your temp directory, the second one
Other than that, it looks good.
On 4/18/07, Louis R. Marascio <louis at fitnr.com> wrote:
> Louis R. Marascio <louis at fitnr.com> wrote:
> >Attached is a patch that adds several unit tests for FileSystemWatcher.
> >These tests focus on verifying that the Created, Deleted, and Changed
> >events work properly. This work was driven from my trying to track down
> >bug #80564 wherein the Changed events don't fire properly on OS X.
> >I tested this patch on gentoo with the a mono build from svn, revision
> >75497. All new tests pass on Linux. As expected, one test is failing on
> >OS X due to bug #80564. I did not run the new tests on Windows.
> >This is my first patch so please let me know if I've done anything
> Bump. Can someone review this?
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list