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
{
Assertion.AssertEquals ("#04", true, object.ReferenceEquals (one, two));
}
}
-
+#if !TARGET_JVM //NotWorking
[Test]
public void SslClientBlock ()
{
ServicePointManager.CertificatePolicy = null;
}
}
-
+#endif
[Test]
+#if TARGET_JVM
+ [Category("NotWorking")]
+#endif
public void Missing_ContentEncoding ()
{
ServicePointManager.CertificatePolicy = new AcceptAllPolicy ();
}
}
- [Test]
+ [Test]\r
+#if TARGET_JVM\r
+ [Category ("NotWorking")]
+#endif
public void BadServer_ChunkedClose ()
{
// The server will send a chunked response without a 'last-chunked' mark
get { return error; }
}
- protected abstract void Run ();
- }
-
+ protected abstract void Run ();\r
+ }\r
+\r
+#if !TARGET_JVM
class SslHttpServer : HttpServer {
X509Certificate _certificate;
238, 60, 227, 77, 217, 93, 117, 122, 111, 46, 173, 113,
};
}
+#endif\r
}
}