2007-02-16 Sebastien Pouliot <sebastien@ximian.com>
authorSebastien Pouliot <sebastien@ximian.com>
Fri, 16 Feb 2007 14:15:16 +0000 (14:15 -0000)
committerSebastien Pouliot <sebastien@ximian.com>
Fri, 16 Feb 2007 14:15:16 +0000 (14:15 -0000)
* TestImageCodecInfo.cs: Add missing test case for TIFF codec;

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

mcs/class/System.Drawing/Test/System.Drawing.Imaging/ChangeLog
mcs/class/System.Drawing/Test/System.Drawing.Imaging/TestImageCodecInfo.cs

index 5efcff3ea0740819de75dc8937ce058f3c239512..a1d2e560a3e5cd38ae5e5cc07dff6809f5921795 100644 (file)
@@ -1,3 +1,7 @@
+2007-02-16  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * TestImageCodecInfo.cs: Add missing test case for TIFF codec;
+
 2007-02-08  Sebastien Pouliot  <sebastien@ximian.com>
 
        * TestBmpCodec.cs: Add test case for non-inverted bitmaps #80751
index 58a2cabbf4b7a236a8d054528c6807d61d96cb2a..c5159e65c4d050f045bdc2b60bb50555578f80c5 100644 (file)
@@ -222,6 +222,19 @@ namespace MonoTests.System.Drawing.Imaging {
                                "PNG", "image/png", 1, 1, "FF-FF-FF-FF-FF-FF-FF-FF", "89-50-4E-47-0D-0A-1A-0A", null);
                }
 
+               [Test]
+#if TARGET_JVM
+               [Category ("NotWorking")]
+#endif
+               public void TiffCodec ()
+               {
+                       Guid g = new Guid ("557cf405-1a04-11d3-9a73-0000f81ef32e");
+                       Check (GetEncoder (g), GetDecoder (g), ImageFormat.Tiff.Guid,
+                               "TIFF", null, "*.TIF;*.TIFF",
+                               ImageCodecFlags.Builtin | ImageCodecFlags.Encoder | ImageCodecFlags.Decoder | ImageCodecFlags.SupportBitmap,
+                               "TIFF", "image/tiff", 1, 2, "FF-FF", "49-49", "4D-4D");
+               }
+
                [Test]
 #if TARGET_JVM
                [Category ("NotWorking")]