[Mono-dev] [PATCH] - System.IO.FileSystemWatcher Unit Tests for Events
Alan McGovern
alan.mcgovern at gmail.com
Wed Apr 18 19:19:31 EDT 2007
Hi,
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
deletes it.
Other than that, it looks good.
Alan.
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
> >wrong.
>
> Bump. Can someone review this?
>
> Thanks,
>
> Louis
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070419/93adcd60/attachment.html
More information about the Mono-devel-list
mailing list