Author: andrews
Date: 2006-11-15 11:26:52 -0500 (Wed, 15 Nov 2006)
New Revision: 67935

Modified:
   trunk/mcs/class/System/Test/System.Net/HttpWebRequestTest.cs
Log:
exclude stuff for TARGET_JVM

Modified: trunk/mcs/class/System/Test/System.Net/HttpWebRequestTest.cs
===================================================================
--- trunk/mcs/class/System/Test/System.Net/HttpWebRequestTest.cs        
2006-11-15 16:20:42 UTC (rev 67934)
+++ trunk/mcs/class/System/Test/System.Net/HttpWebRequestTest.cs        
2006-11-15 16:26:52 UTC (rev 67935)
@@ -20,9 +20,10 @@
 using System.Security.Cryptography.X509Certificates;
 using System.Text;
 using System.Threading;
-
+#if !TARGET_JVM
 using Mono.Security.Authenticode;
 using Mono.Security.Protocol.Tls;
+#endif
 
 namespace MonoTests.System.Net
 {
@@ -91,7 +92,7 @@
                                Assertion.AssertEquals ("#04", true, 
object.ReferenceEquals (one, two));
                        }
                }
-
+#if !TARGET_JVM //NotWorking
                [Test]
                public void SslClientBlock ()
                {
@@ -123,8 +124,11 @@
                                ServicePointManager.CertificatePolicy = null;
                        }
                }
-
+#endif
                [Test]
+#if TARGET_JVM
+               [Category("NotWorking")]
+#endif
                public void Missing_ContentEncoding ()
                {
                        ServicePointManager.CertificatePolicy = new 
AcceptAllPolicy ();
@@ -146,7 +150,10 @@
                        }
                }
 
-               [Test]
+               [Test]
+#if TARGET_JVM
+               [Category ("NotWorking")]
+#endif
                public void BadServer_ChunkedClose ()
                {
                        // The server will send a chunked response without a 
'last-chunked' mark
@@ -240,9 +247,10 @@
                                get { return error; }
                        }
 
-                       protected abstract void Run ();
-               }
-
+                       protected abstract void Run ();
+               }
+
+#if !TARGET_JVM
                class SslHttpServer : HttpServer {
                        X509Certificate _certificate;
 
@@ -375,6 +383,7 @@
                                238, 60, 227, 77, 217, 93, 117, 122, 111, 46, 
173, 113, 
                        };
                }
+#endif
        }
 }
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to