[prev in list] [next in list] [prev in thread] [next in thread]
List: mono-devel-list
Subject: RE: SPAM-LOW: RE: SPAM-LOW: Re: [Mono-dev] NUnit 2.2.6 Portability Bug
From: "Charlie Poole" <charlie () nunit ! com>
Date: 2006-01-31 8:30:49
Message-ID: 000c01c62640$a596e550$6500a8c0 () FERRARI
[Download RAW message or body]
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@lists.ximian.com
> [mailto:mono-devel-list-bounces@lists.ximian.com] On Behalf
> Of Jonathan Pryor
> Sent: Sunday, January 29, 2006 7:11 AM
> To: Charlie Poole
> Cc: mono-devel-list@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
>
>
>
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic