New test.
[mono.git] / mcs / class / System.Drawing / Test / System.Drawing.Imaging / TestImageCodecInfo.cs
index 39ef67ef733e641f1625be1e06cb427b7581f3b1..9bcf3d5e1c3a3616edb031bcab95716aa835f4d5 100644 (file)
@@ -2,14 +2,10 @@
 // ImageCodecInfo class testing unit
 //
 // Author:
-//
-//      Jordi Mas i Hernàndez (jordi@ximian.com)
+//      Jordi Mas i Hernàndez (jordi@ximian.com)
 //
 // (C) 2004 Ximian, Inc.  http://www.ximian.com
-//
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004-2006 Novell, Inc (http://www.novell.com)
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
@@ -30,6 +26,7 @@
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
+
 using System;
 using System.Drawing;
 using System.Drawing.Imaging;
@@ -38,13 +35,12 @@ using System.Collections;
 using System.Security.Permissions;
 using System.Text.RegularExpressions;
 
-namespace MonoTests.System.Drawing
-{
+namespace MonoTests.System.Drawing.Imaging {
 
        [TestFixture]
        [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
-       public class TestImageCodecInfo 
-       {
+       public class ImageCodecInfoTest {
+
                Hashtable decoders;
                Hashtable encoders;
 
@@ -132,6 +128,9 @@ namespace MonoTests.System.Drawing
                }
 
                [Test]
+#if TARGET_JVM
+               [Category ("NotWorking")]
+#endif
                public void BMPCodec()
                {
                        Guid g = new Guid ("557cf400-1a04-11d3-9a73-0000f81ef32e");
@@ -142,6 +141,9 @@ namespace MonoTests.System.Drawing
                }
 
                [Test]
+#if TARGET_JVM
+               [Category ("NotWorking")]
+#endif
                public void GifCodec()
                {
                        Guid g = new Guid ("557cf402-1a04-11d3-9a73-0000f81ef32e");
@@ -152,6 +154,9 @@ namespace MonoTests.System.Drawing
                }
                
                [Test]
+#if TARGET_JVM
+               [Category ("NotWorking")]
+#endif
                public void JpegCodec()
                {
                        Guid g = new Guid ("557cf401-1a04-11d3-9a73-0000f81ef32e");
@@ -162,6 +167,9 @@ namespace MonoTests.System.Drawing
                }
 
                [Test]
+#if TARGET_JVM
+               [Category ("NotWorking")]
+#endif
                public void PngCodec()
                {
                        Guid g = new Guid ("557cf406-1a04-11d3-9a73-0000f81ef32e");