2007-01-18 Sebastien Pouliot <sebastien@ximian.com>
authorSebastien Pouliot <sebastien@ximian.com>
Thu, 18 Jan 2007 18:04:33 +0000 (18:04 -0000)
committerSebastien Pouliot <sebastien@ximian.com>
Thu, 18 Jan 2007 18:04:33 +0000 (18:04 -0000)
* TestImage.cs: Test cases Stream_Unlock and Stream_Lock both fails
under MS 1.x with ArgumentNullException.

svn path=/trunk/mcs/; revision=71305

mcs/class/System.Drawing/Test/System.Drawing/ChangeLog
mcs/class/System.Drawing/Test/System.Drawing/TestImage.cs

index 268e3b4cb61b4e785c7a2630d5b74ca53507acfc..1f869b5e31e626b32ec22d9fa54a486b112be5ee 100644 (file)
@@ -1,9 +1,11 @@
-2007-01-18  Sebastien Pouliot  <sebastien@ximian.com> 
+2007-01-18  Sebastien Pouliot  <sebastien@ximian.com>
 
        * TestGraphics.cs: Fix the LoadIndexed test case as it's current 
        implementation leads to false conclusions. MS GDI+ upgrades the 
        indexed PNG images to 32bpp ARGB. BMP are kept indexed but it's not 
        possible to create a Graphics from them.
+       * TestImage.cs: Test cases Stream_Unlock and Stream_Lock both fails
+       under MS 1.x with ArgumentNullException.
 
 2007-01-16  Sebastien Pouliot  <sebastien@ximian.com> 
 
index 6349648ed558e4b11e4be0e1df87b2d37f12f2c7..ce129afdf96dc0344972c44717cdc2462e4612f7 100644 (file)
@@ -166,6 +166,9 @@ namespace MonoTests.System.Drawing{
                }
 
                [Test]
+#if !NET_2_0
+               [Category ("NotDotNet")] // MS 1.x throws an ArgumentNullException in this case
+#endif
                public void Stream_Unlocked ()
                {
                        try {
@@ -190,6 +193,9 @@ namespace MonoTests.System.Drawing{
                }
 
                [Test]
+#if !NET_2_0
+               [Category ("NotDotNet")] // MS 1.x throws an ArgumentNullException in this case
+#endif
                public void Stream_Locked ()
                {
                        Image img = null;