SPAM-LOW: RE: SPAM-LOW: Re: [Mono-dev] NUnit 2.2.6 Portability Bug
Charlie Poole
charlie at nunit.com
Tue Jan 31 03:30:49 EST 2006
I added Jon's patch and rewrote Canonicalize() - the use of Path.GetFullPath
doesn't work for the cases where NUnit needs to have a canonical relative
path. I've parameterized the tests so they run in both Windows and Unix
modes.
I'm not quite ready to do a full release but you can get the fixed source at
http://nunit.com/downloads/nunit-2.2.6.1-src.zip - sorry, no ftp access at
this site.
Charlie
> -----Original Message-----
> From: mono-devel-list-bounces at lists.ximian.com
> [mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf
> Of Jonathan Pryor
> Sent: Sunday, January 29, 2006 7:11 AM
> To: Charlie Poole
> Cc: mono-devel-list at lists.ximian.com
> Subject: SPAM-LOW: RE: SPAM-LOW: Re: [Mono-dev] NUnit 2.2.6
> Portability Bug
>
> On Sat, 2006-01-28 at 18:15 -0800, Charlie Poole wrote:
> > Hi Jonathan,
> > I'll write a test. :-)
> >
> > > PathRelativePathTo: this variation on your PathUtils.RelativePath
> > > works for me (minimally tested):
> >
> > This looks too simple to work, but I'll try it. ;-)
>
> Attached is a better version, complete with test cases. The
> previous function was Unix-native -- it didn't care about
> drives or other such things that I found in PathUtilTests.cs.
> The attached version is a little smarter, though it means we
> can't use the same input strings on both Unix and Windows for
> testing -- we need platform-specific tests. :-(
>
> - Jon
>
>
>
More information about the Mono-devel-list
mailing list