[Mono-dev] [PATCH] System.ArraySegment.cs

Jensen Somers jensen.somers at gmail.com
Sun Jan 14 10:19:31 EST 2007


Hi,
On Sun, 2007-01-14 at 15:26 +0100, Robert Jordan wrote:

> Hi,
> 
> Jensen Somers wrote:
> >  [TestFixture]
> > -public class ArraySegmentTest
> > +public class ArraySegmentTest : Assertion
> 
> Inheriting from Assertion is deprecated. Please use the members of
> the Assert class for you assertions, like exercised by the other
> tests in this file.
> 
> Robert
> 

My bad.
I added those things because I found them in another unit test. Since I
couldn't get the NET_2_0 classes to compile I figured it was somehow
related.
I reworked the unit test, hope it's OK now.

Regards,
Jensen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070114/63750b3b/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arraysegment_fixed.patch
Type: text/x-patch
Size: 3553 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070114/63750b3b/attachment.bin 


More information about the Mono-devel-list mailing list