2009-07-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
authorCarlos Alberto Cortez <calberto.cortez@gmail.com>
Wed, 8 Jul 2009 23:40:55 +0000 (23:40 -0000)
committerCarlos Alberto Cortez <calberto.cortez@gmail.com>
Wed, 8 Jul 2009 23:40:55 +0000 (23:40 -0000)
* PageSourceTest.cs:
* PaperSizeTest.cs: Include the new tests in NET_2_0 define, to fix
the 1.1 build.

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

mcs/class/System.Drawing/Test/System.Drawing.Printing/ChangeLog
mcs/class/System.Drawing/Test/System.Drawing.Printing/PageSourceTest.cs
mcs/class/System.Drawing/Test/System.Drawing.Printing/PaperSizeTest.cs

index d61087136c0030cf593e66026c5122ea1299c93d..92c9a8ef6f7f3cdc9eb89abe50c4af8f8dae609e 100644 (file)
@@ -1,3 +1,9 @@
+2009-07-09  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * PageSourceTest.cs:
+       * PaperSizeTest.cs: Include the new tests in NET_2_0 define, to fix
+       the 1.1 build.
+
 2009-07-08  Carlos Alberto Cortez <calberto.cortez@gmail.com> 
 
        * PageSourceTest.cs: New file, by Andy Hume <andyhume32@yahoo.co.uk>
index ccfab50dc95b14c44f780a544969a3318cd6db79..d1e3ce78106465ed6b30e7ff1f70e9a4b92053f0 100644 (file)
@@ -34,6 +34,7 @@ namespace MonoTests.System.Drawing.Printing
        [TestFixture]
        public class PaperSourceTest
        {
+#if NET_2_0
                [Test]
                public void KindTest ()
                {
@@ -90,6 +91,7 @@ namespace MonoTests.System.Drawing.Printing
                        Assert.AreEqual ((PaperSourceKind)(int.MinValue), ps.Kind, "Kind #7");
                        Assert.AreEqual (int.MinValue, ps.RawKind, "RawKind #7");
                }
+#endif
 
        }
 
index 78420984b62087b8f8626023d5c95851d7adb605..5fe9db578687a5af6904397b552055977a0053d6 100644 (file)
@@ -34,6 +34,7 @@ namespace MonoTests.System.Drawing.Printing
        [TestFixture]
        public class PaperSizeTest
        {
+#if NET_2_0
                [Test]
                public void PaperSizeKindTest()
                {
@@ -130,6 +131,7 @@ namespace MonoTests.System.Drawing.Printing
                                Assert.Fail ("should not have thrown #1b");
                        }
                }
+#endif
        
        }
 }