Imported Upstream version 5.8.0.22

Former-commit-id: df344e34b07851d296efb3e6604c8db42b6f7aa3
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2017-10-19 20:04:20 +00:00
parent 5f4a27cc8a
commit 7d05485754
5020 changed files with 114082 additions and 186061 deletions

View File

@@ -714,11 +714,11 @@ namespace MonoTests.System.Diagnostics
byte [] buffer = new byte [200];
// start async Read operation
DateTime start = DateTime.Now;
var sw = Stopwatch.StartNew ();
IAsyncResult ar = stdout.BeginRead (buffer, 0, buffer.Length,
new AsyncCallback (Read), stdout);
Assert.IsTrue ((DateTime.Now - start).TotalMilliseconds < 1000, "#01 BeginRead was not async");
Assert.IsTrue (sw.ElapsedMilliseconds < 1000, "#01 BeginRead was not async");
p.WaitForExit ();
Assert.AreEqual (0, p.ExitCode, "#02 script failure");

View File

@@ -97,7 +97,6 @@ namespace MonoCasTests.System.Net.Sockets {
[Test]
[EnvironmentPermission (SecurityAction.Deny, Read = "USERNAME")]
[Category ("InetAccess")]
public void AsyncRead ()
{
message = "AsyncRead";
@@ -136,7 +135,6 @@ namespace MonoCasTests.System.Net.Sockets {
[Test]
[EnvironmentPermission (SecurityAction.Deny, Read = "USERNAME")]
[Category ("InetAccess")]
public void AsyncWrite ()
{
message = "AsyncWrite";

View File

@@ -78,7 +78,6 @@ namespace MonoCasTests.System.Net.Sockets {
[Test]
[EnvironmentPermission (SecurityAction.Deny, Read = "USERNAME")]
[Category ("InetAccess")]
public void AsyncAccept ()
{
IPEndPoint ep = new IPEndPoint (IPAddress.Loopback, 16279);
@@ -118,7 +117,6 @@ namespace MonoCasTests.System.Net.Sockets {
[Test]
[EnvironmentPermission (SecurityAction.Deny, Read = "USERNAME")]
[Category ("InetAccess")]
public void AsyncConnect ()
{
message = "AsyncConnect";
@@ -152,7 +150,6 @@ namespace MonoCasTests.System.Net.Sockets {
[Test]
[EnvironmentPermission (SecurityAction.Deny, Read = "USERNAME")]
[Category ("InetAccess")]
public void AsyncReceive ()
{
message = "AsyncReceive";
@@ -191,7 +188,6 @@ namespace MonoCasTests.System.Net.Sockets {
[Test]
[EnvironmentPermission (SecurityAction.Deny, Read = "USERNAME")]
[Category ("InetAccess")]
public void AsyncReceiveFrom ()
{
message = "AsyncReceiveFrom";
@@ -230,7 +226,6 @@ namespace MonoCasTests.System.Net.Sockets {
[Test]
[EnvironmentPermission (SecurityAction.Deny, Read = "USERNAME")]
[Category ("InetAccess")]
public void AsyncSend ()
{
message = "AsyncSend";
@@ -265,7 +260,6 @@ namespace MonoCasTests.System.Net.Sockets {
[Test]
[EnvironmentPermission (SecurityAction.Deny, Read = "USERNAME")]
[Category ("InetAccess")]
public void AsyncSendTo ()
{
message = "AsyncSendTo";

View File

@@ -1 +1 @@
6e80da7dc78d1035425e9a6208d4f5902b685a92
a6abbf59745f6290abaafc8709701260843a2813

View File

@@ -50,7 +50,6 @@ namespace MonoCasTests.System.Net.Sockets {
}
// async tests (for stack propagation)
/* Oops - not yet implemented in Mono
private void ConnectCallback (IAsyncResult ar)
{
TcpClient c = (TcpClient)ar.AsyncState;
@@ -71,7 +70,6 @@ namespace MonoCasTests.System.Net.Sockets {
[Test]
[EnvironmentPermission (SecurityAction.Deny, Read = "USERNAME")]
[Category ("InetAccess")]
public void AsyncConnect_StringIntAsyncCallbackObject ()
{
TcpClient s = new TcpClient ();
@@ -86,7 +84,6 @@ namespace MonoCasTests.System.Net.Sockets {
[Test]
[EnvironmentPermission (SecurityAction.Deny, Read = "USERNAME")]
[Category ("InetAccess")]
public void AsyncConnect_IPAddressIntAsyncCallbackObject ()
{
IPHostEntry host = Dns.Resolve ("www.google.com");
@@ -102,7 +99,6 @@ namespace MonoCasTests.System.Net.Sockets {
[Test]
[EnvironmentPermission (SecurityAction.Deny, Read = "USERNAME")]
[Category ("InetAccess")]
public void AsyncConnect_IPAddressArrayIntAsyncCallbackObject ()
{
IPHostEntry host = Dns.Resolve ("www.google.com");
@@ -115,6 +111,5 @@ namespace MonoCasTests.System.Net.Sockets {
Assert.Ignore ("Timeout");
Assert.IsNull (message, message);
}
*/
}
}

View File

@@ -155,7 +155,7 @@ namespace MonoTests.System.Net.Sockets
TcpClient client = new TcpClient ();
IPAddress[] ipAddresses = null;
client.Connect (ipAddresses, 1234);
client.Connect (ipAddresses, NetworkHelpers.FindFreePort ());
}
[Test]
@@ -170,7 +170,7 @@ namespace MonoTests.System.Net.Sockets
ipAddresses[0] = IPAddress.Any;
try {
client.Connect (ipAddresses, 1234);
client.Connect (ipAddresses, NetworkHelpers.FindFreePort ());
Assert.Fail ("ConnectMultiAny #1");
} catch (SocketException ex) {
Assert.AreEqual (10049, ex.ErrorCode, "ConnectMultiAny #2");
@@ -191,7 +191,7 @@ namespace MonoTests.System.Net.Sockets
ipAddresses[0] = IPAddress.Loopback;
try {
client.Connect (ipAddresses, 1234);
client.Connect (ipAddresses, NetworkHelpers.FindFreePort ());
Assert.Fail ("ConnectMultiRefused #1");
} catch (SocketException ex) {
Assert.AreEqual (10061, ex.ErrorCode, "ConnectMultiRefused #2");

View File

@@ -13,6 +13,8 @@ using System.Threading.Tasks;
using NUnit.Framework;
using MonoTests.Helpers;
namespace MonoTests.System.Net.Sockets {
[TestFixture]
public class UdpClientTest {
@@ -212,7 +214,7 @@ namespace MonoTests.System.Net.Sockets {
IPEndPoint localEP;
IPEndPoint clientEP;
clientEP = new IPEndPoint (IPAddress.Loopback, 8001);
clientEP = new IPEndPoint (IPAddress.Loopback, NetworkHelpers.FindFreePort ());
using (MyUdpClient client = new MyUdpClient (clientEP))
{
s = client.Client;
@@ -381,9 +383,7 @@ namespace MonoTests.System.Net.Sockets {
Socket s;
IPEndPoint localEP;
// Bug #5503
// UDP port 0 doesn't seem to be valid.
using (MyUdpClient client = new MyUdpClient ("127.0.0.1", 53))
using (MyUdpClient client = new MyUdpClient ("127.0.0.1", NetworkHelpers.FindFreePort ()))
{
s = client.Client;
Assert.IsNotNull (s, "#A:Client");
@@ -481,7 +481,7 @@ namespace MonoTests.System.Net.Sockets {
byte[] bytes = new byte[] {10, 11, 12, 13};
try {
client.Send (bytes, bytes.Length, new IPEndPoint (IPAddress.Broadcast, 1235));
client.Send (bytes, bytes.Length, new IPEndPoint (IPAddress.Broadcast, NetworkHelpers.FindFreePort ()));
} finally {
client.Close ();
}
@@ -495,7 +495,7 @@ namespace MonoTests.System.Net.Sockets {
{
IPAddress mcast_addr = IPAddress.Parse ("224.0.0.23");
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.Any, 1234))) {
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.Any, 0))) {
client.JoinMulticastGroup (mcast_addr);
}
}
@@ -511,7 +511,7 @@ namespace MonoTests.System.Net.Sockets {
IPAddress mcast_addr = IPAddress.Parse ("ff02::1");
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.IPv6Any, 1234))) {
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.IPv6Any, 0))) {
client.JoinMulticastGroup (mcast_addr);
}
}
@@ -522,7 +522,7 @@ namespace MonoTests.System.Net.Sockets {
#endif
public void JoinMulticastGroup1_MulticastAddr_Null ()
{
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.Loopback, 1234))) {
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.Loopback, 0))) {
try {
client.JoinMulticastGroup ((IPAddress) null);
Assert.Fail ("#1");
@@ -543,7 +543,7 @@ namespace MonoTests.System.Net.Sockets {
{
IPAddress mcast_addr = null;
UdpClient client = new UdpClient (new IPEndPoint (IPAddress.Loopback, 1234));
UdpClient client = new UdpClient (new IPEndPoint (IPAddress.Loopback, 0));
client.Close ();
try {
client.JoinMulticastGroup (mcast_addr);
@@ -578,7 +578,7 @@ namespace MonoTests.System.Net.Sockets {
{
IPAddress mcast_addr = IPAddress.Parse ("224.0.0.23");
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.Any, 1234))) {
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.Any, 0))) {
try {
client.JoinMulticastGroup (0, mcast_addr);
Assert.Fail ("#1");
@@ -606,7 +606,7 @@ namespace MonoTests.System.Net.Sockets {
IPAddress mcast_addr = IPAddress.Parse ("ff02::1");
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.IPv6Any, 1234))) {
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.IPv6Any, 0))) {
client.JoinMulticastGroup (0, mcast_addr);
}
}
@@ -617,7 +617,7 @@ namespace MonoTests.System.Net.Sockets {
#endif
public void JoinMulticastGroup2_MulticastAddr_Null ()
{
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.Loopback, 1234))) {
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.Loopback, 0))) {
try {
client.JoinMulticastGroup (0, (IPAddress) null);
Assert.Fail ("#1");
@@ -641,7 +641,7 @@ namespace MonoTests.System.Net.Sockets {
IPAddress mcast_addr = null;
UdpClient client = new UdpClient (new IPEndPoint (IPAddress.IPv6Any, 1234));
UdpClient client = new UdpClient (new IPEndPoint (IPAddress.IPv6Any, 0));
client.Close ();
try {
client.JoinMulticastGroup (0, mcast_addr);
@@ -676,11 +676,11 @@ namespace MonoTests.System.Net.Sockets {
{
IPAddress mcast_addr = IPAddress.Parse ("224.0.0.23");
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.Any, 1234))) {
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.Any, 0))) {
client.JoinMulticastGroup (mcast_addr, 0);
}
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.Any, 1234))) {
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.Any, 0))) {
client.JoinMulticastGroup (mcast_addr, 255);
}
}
@@ -696,11 +696,11 @@ namespace MonoTests.System.Net.Sockets {
IPAddress mcast_addr = IPAddress.Parse ("ff02::1");
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.IPv6Any, 1234))) {
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.IPv6Any, 0))) {
client.JoinMulticastGroup (mcast_addr, 0);
}
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.IPv6Any, 1234))) {
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.IPv6Any, 0))) {
client.JoinMulticastGroup (mcast_addr, 255);
}
}
@@ -711,7 +711,7 @@ namespace MonoTests.System.Net.Sockets {
#endif
public void JoinMulticastGroup3_MulticastAddr_Null ()
{
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.Loopback, 1234))) {
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.Loopback, 0))) {
try {
client.JoinMulticastGroup ((IPAddress) null, int.MaxValue);
Assert.Fail ("#1");
@@ -732,7 +732,7 @@ namespace MonoTests.System.Net.Sockets {
{
IPAddress mcast_addr = null;
UdpClient client = new UdpClient (new IPEndPoint (IPAddress.Any, 1234));
UdpClient client = new UdpClient (new IPEndPoint (IPAddress.Any, 0));
client.Close ();
try {
client.JoinMulticastGroup (mcast_addr, 0);
@@ -768,7 +768,7 @@ namespace MonoTests.System.Net.Sockets {
IPAddress mcast_addr = IPAddress.Parse ("224.0.0.23");
IPAddress local_addr = IPAddress.Any;
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.Any, 1234))) {
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.Any, 0))) {
client.JoinMulticastGroup (mcast_addr, local_addr);
}
}
@@ -785,7 +785,7 @@ namespace MonoTests.System.Net.Sockets {
IPAddress mcast_addr = IPAddress.Parse ("ff02::1");
IPAddress local_addr = IPAddress.IPv6Any;
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.IPv6Any, 1234))) {
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.IPv6Any, 0))) {
try {
client.JoinMulticastGroup (mcast_addr, local_addr);
Assert.Fail ("#1");
@@ -810,7 +810,7 @@ namespace MonoTests.System.Net.Sockets {
{
IPAddress mcast_addr = IPAddress.Parse ("224.0.0.23");
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.Loopback, 1234))) {
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.Loopback, 0))) {
try {
client.JoinMulticastGroup (mcast_addr, (IPAddress) null);
Assert.Fail ("#1");
@@ -829,7 +829,7 @@ namespace MonoTests.System.Net.Sockets {
#endif
public void JoinMulticastGroup4_MulticastAddr_Null ()
{
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.Loopback, 1234))) {
using (UdpClient client = new UdpClient (new IPEndPoint (IPAddress.Loopback, 0))) {
try {
client.JoinMulticastGroup ((IPAddress) null, IPAddress.Loopback);
Assert.Fail ("#1");
@@ -851,7 +851,7 @@ namespace MonoTests.System.Net.Sockets {
IPAddress mcast_addr = null;
IPAddress local_addr = null;
UdpClient client = new UdpClient (new IPEndPoint (IPAddress.Any, 1234));
UdpClient client = new UdpClient (new IPEndPoint (IPAddress.Any, 0));
client.Close ();
try {
client.JoinMulticastGroup (mcast_addr, local_addr);
@@ -885,18 +885,7 @@ namespace MonoTests.System.Net.Sockets {
#endif
public void CloseInReceive ()
{
UdpClient client = null;
var rnd = new Random ();
for (int i = 0, max = 5; i < max; i++) {
int port = rnd.Next (1025, 65534);
try {
client = new UdpClient (port);
break;
} catch (Exception) {
if (i == max - 1)
throw;
}
}
UdpClient client = new UdpClient (NetworkHelpers.FindFreePort ());
ManualResetEvent ready = new ManualResetEvent (false);
bool got_exc = false;
@@ -928,7 +917,7 @@ namespace MonoTests.System.Net.Sockets {
#endif
public void JoinMulticastGroupWithLocal ()
{
UdpClient client = new UdpClient (9001);
UdpClient client = new UdpClient (0);
IPAddress mcast_addr = IPAddress.Parse ("224.0.0.24");
IPAddress local_addr = IPAddress.Any;
@@ -995,7 +984,7 @@ namespace MonoTests.System.Net.Sockets {
IPEndPoint ep = null;
foreach (IPAddress a in addresses) {
if (a.AddressFamily == AddressFamily.InterNetwork) {
ep = new IPEndPoint (a, 1236);
ep = new IPEndPoint (a, NetworkHelpers.FindFreePort ());
break;
}
}
@@ -1035,13 +1024,14 @@ namespace MonoTests.System.Net.Sockets {
#endif
public void BeginReceive ()
{
UdpClient client = new UdpClient (1237);
var port = NetworkHelpers.FindFreePort ();
UdpClient client = new UdpClient (port);
BRCalledBack.Reset ();
client.BeginReceive (BRCallback, client);
IPEndPoint ep = new IPEndPoint (IPAddress.Loopback, 1237);
IPEndPoint ep = new IPEndPoint (IPAddress.Loopback, port);
byte[] send_bytes = new byte[] {10, 11, 12, 13};
client.Send (send_bytes, send_bytes.Length, ep);
@@ -1063,8 +1053,9 @@ namespace MonoTests.System.Net.Sockets {
#endif
public void Available ()
{
using (UdpClient client = new UdpClient (1238)) {
IPEndPoint ep = new IPEndPoint (IPAddress.Loopback, 1238);
var port = NetworkHelpers.FindFreePort ();
using (UdpClient client = new UdpClient (port)) {
IPEndPoint ep = new IPEndPoint (IPAddress.Loopback, port);
byte[] bytes = new byte[] {10, 11, 12, 13};
int res = client.Send (bytes, bytes.Length, ep);
@@ -1129,7 +1120,7 @@ namespace MonoTests.System.Net.Sockets {
[Category ("NotWorking")] // Not supported on Linux
public void ExclusiveAddressUseBound ()
{
UdpClient client = new UdpClient (1239);
UdpClient client = new UdpClient (0);
client.ExclusiveAddressUse = true;
@@ -1158,12 +1149,13 @@ namespace MonoTests.System.Net.Sockets {
if (!Socket.OSSupportsIPv6)
Assert.Ignore ("IPv6 not enabled.");
int PORT = 9997;
using(var udpClient = new UdpClient (PORT, AddressFamily.InterNetworkV6))
using(var udpClient2 = new UdpClient (PORT+1, AddressFamily.InterNetworkV6))
int port1 = NetworkHelpers.FindFreePort ();
int port2 = NetworkHelpers.FindFreePort ();
using(var udpClient = new UdpClient (port1, AddressFamily.InterNetworkV6))
using(var udpClient2 = new UdpClient (port2, AddressFamily.InterNetworkV6))
{
var dataSent = new byte [] {1,2,3};
udpClient2.SendAsync (dataSent, dataSent.Length, "::1", PORT);
udpClient2.SendAsync (dataSent, dataSent.Length, "::1", port1);
IPEndPoint endPoint = new IPEndPoint (IPAddress.IPv6Any, 0);
var data = udpClient.Receive (ref endPoint);

View File

@@ -31,6 +31,8 @@ using System.Net;
using NUnit.Framework;
using HLPC=System.Net.HttpListenerPrefixCollection;
using MonoTests.Helpers;
namespace MonoTests.System.Net {
[TestFixture]
public class HttpListenerPrefixCollectionTest {
@@ -68,10 +70,11 @@ namespace MonoTests.System.Net {
#endif
public void AddOne ()
{
var port = NetworkHelpers.FindFreePort ();
HttpListener listener = new HttpListener ();
HLPC coll = listener.Prefixes;
listener.Start ();
coll.Add ("http://127.0.0.1:8181/");
coll.Add ($"http://127.0.0.1:{port}/");
Assert.AreEqual (1, coll.Count, "Count");
Assert.IsFalse (coll.IsReadOnly, "IsReadOnly");
Assert.IsFalse (coll.IsSynchronized, "IsSynchronized");
@@ -84,10 +87,11 @@ namespace MonoTests.System.Net {
#endif
public void Duplicate ()
{
var port = NetworkHelpers.FindFreePort ();
HttpListener listener = new HttpListener ();
HLPC coll = listener.Prefixes;
coll.Add ("http://127.0.0.1:8181/");
coll.Add ("http://127.0.0.1:8181/");
coll.Add ($"http://127.0.0.1:{port}/");
coll.Add ($"http://127.0.0.1:{port}/");
listener.Start ();
Assert.AreEqual (1, coll.Count, "Count");
Assert.IsFalse (coll.IsReadOnly, "IsReadOnly");

View File

@@ -285,7 +285,22 @@ namespace MonoTests.System.Net
var request = (HttpWebRequest)WebRequest.Create (prefix);
var rsp = request.GetResponseAsync ();
Assert.IsFalse (rsp.Wait (1000), "Don't send on empty write");
}
[Test]
#if FEATURE_NO_BSD_SOCKETS
[ExpectedException (typeof (PlatformNotSupportedException))]
#endif
public void HttpRequestIgnoreBadCookies ()
{
var port = NetworkHelpers.FindFreePort ();
HttpListener listener = HttpListener2Test.CreateAndStartListener (
"http://127.0.0.1:" + port + "/HttpRequestIgnoreBadCookiesTest/");
NetworkStream ns = HttpListener2Test.CreateNS (port);
HttpListener2Test.Send (ns, "GET /HttpRequestIgnoreBadCookiesTest/?a=b HTTP/1.1\r\nHost: 127.0.0.1\r\nCookie: ELOQUA=GUID=5ca2346347357f4-f877-4eff-96aa-70fe0b677650; ELQSTATUS=OK; WRUID=609099666.123259461695; CommunityServer-UserCookie2101=lv=Thu, 26 Jul 2012 15:25:11 GMT&mra=Mon, 01 Oct 2012 17:40:05 GMT; PHPSESSID=1234dg3opfjb4qafp0oo645; __utma=9761706.1153317537.1357240270.1357240270.1357317902.2; __utmb=9761706.6.10.1357317902; __utmc=9761706; __utmz=9761706.1357240270.1.1.utmcsr=test.testdomain.com|utmccn=(referral)|utmcmd=referral|utmcct=/test/1234\r\n\r\n");
HttpListenerContext ctx = listener.GetContext ();
HttpListenerRequest request = ctx.Request;
Assert.AreEqual ("/HttpRequestIgnoreBadCookiesTest/?a=b", request.Url.PathAndQuery);
listener.Close ();
}
}

View File

@@ -1 +1 @@
80be0e4eb94d37e9482b76b02caba36592ba91b1
38359efd4dea398ec4208a18de96c46569ccbac1

View File

@@ -47,7 +47,7 @@ public class ServicePointManagerTest
}
[Test, ExpectedException (typeof (InvalidOperationException))]
[Category ("InetAccess")]
[Category ("NotWorking")]
public void MaxServicePointManagers ()
{
Assert.AreEqual (0, ServicePointManager.MaxServicePoints, "#1");

File diff suppressed because it is too large Load Diff

View File

@@ -43,7 +43,9 @@ namespace MonoTests.System.Net
}
[Test]
[Category ("InetAccess")]
#if FEATURE_NO_BSD_SOCKETS
[ExpectedException (typeof (WebException))] // Something catches the PlatformNotSupportedException and re-throws an WebException
#endif
public void DownloadTwice ()
{
WebClient wc = new WebClient();

View File

@@ -79,7 +79,9 @@ namespace MonoTests.System.Net
}
[Test]
[Category("InetAccess")]
#if FEATURE_NO_BSD_SOCKETS
[ExpectedException (typeof (AggregateException))] // Something catches the PlatformNotSupportedException and re-throws an AggregateException
#endif
public void DownloadFileTaskAsync ()
{
WebClient wc = new WebClient ();
@@ -93,8 +95,7 @@ namespace MonoTests.System.Net
}
[Test]
[Category("InetAccess")]
[Category ("AndroidNotWorking")] // Fails when ran as part of the entire BCL test suite. Works when only this fixture is ran
[Category ("NotWorking")] // Fails when ran as part of the entire BCL test suite. Works when only this fixture is ran
public void Cancellation ()
{
WebClient wc = new WebClient ();
@@ -121,8 +122,7 @@ namespace MonoTests.System.Net
}
[Test]
[Category("InetAccess")]
[Category ("AndroidNotWorking")] // Fails when ran as part of the entire BCL test suite. Works when only this fixture is ran
[Category ("NotWorking")] // Fails when ran as part of the entire BCL test suite. Works when only this fixture is ran
public void DownloadMultiple ()
{
WebClient wc = new WebClient ();
@@ -140,8 +140,7 @@ namespace MonoTests.System.Net
}
[Test]
[Category("InetAccess")]
[Category ("AndroidNotWorking")] // Fails when ran as part of the entire BCL test suite. Works when only this fixture is ran
[Category ("NotWorking")] // Fails when ran as part of the entire BCL test suite. Works when only this fixture is ran
public void DownloadMultiple2 ()
{
WebClient wc = new WebClient ();
@@ -153,8 +152,7 @@ namespace MonoTests.System.Net
}
[Test]
[Category("InetAccess")]
[Category ("AndroidNotWorking")] // Fails when ran as part of the entire BCL test suite. Works when only this fixture is ran
[Category ("NotWorking")] // Fails when ran as part of the entire BCL test suite. Works when only this fixture is ran
public void DownloadMultiple3 ()
{
WebClient wc = new WebClient ();

View File

@@ -205,7 +205,6 @@ namespace MonoTests.System.Security.Cryptography.X509Certificates {
}
[Test]
[Category ("InetAccess")]
public void Build_Cert1_X509RevocationMode_Online ()
{
X509Chain c = new X509Chain ();