Imported Upstream version 5.10.0.47

Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-01-24 17:04:36 +00:00
parent 88ff76fe28
commit e46a49ecf1
5927 changed files with 226314 additions and 129848 deletions

View File

@ -19,6 +19,7 @@ using NUnit.Framework;
namespace MonoTests.System.Net
{
[TestFixture]
[Category ("InetAccess")]
public class DnsTest
{
private String site1Name = "google-public-dns-a.google.com",

View File

@ -389,6 +389,9 @@ namespace MonoTests.System.Net
#endif
public void DownloadFile2_v6 ()
{
if (!Socket.OSSupportsIPv6)
Assert.Ignore ("IPv6 not supported.");
// Some embedded FTP servers in Industrial Automation Hardware report
// the PWD using backslashes, but allow forward slashes for CWD.
DownloadFile (new ServerDownload (@"\Users\someuser", "/Users/someuser/", null, true));

View File

@ -1 +1 @@
38359efd4dea398ec4208a18de96c46569ccbac1
4cabb0ca84eac14cc074c0d4c57ee60a33f65cad

View File

@ -1220,6 +1220,7 @@ namespace MonoTests.System.Net
[Test]
[Category ("StaticLinkedAotNotWorking")] // Native MPH loading issues
#if FEATURE_NO_BSD_SOCKETS
[ExpectedException (typeof (PlatformNotSupportedException))]
#endif

View File

@ -48,6 +48,7 @@ public class ServicePointManagerTest
[Test, ExpectedException (typeof (InvalidOperationException))]
[Category ("NotWorking")]
[Category ("InetAccess")]
public void MaxServicePointManagers ()
{
Assert.AreEqual (0, ServicePointManager.MaxServicePoints, "#1");
@ -85,7 +86,8 @@ public class ServicePointManagerTest
//WriteServicePoint (sp);
}
[Test]
[Test]
[Category ("InetAccess")]
#if FEATURE_NO_BSD_SOCKETS
[ExpectedException (typeof (PlatformNotSupportedException))]
#endif

View File

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

View File

@ -82,6 +82,7 @@ namespace MonoTests.System.Net
#if FEATURE_NO_BSD_SOCKETS
[ExpectedException (typeof (AggregateException))] // Something catches the PlatformNotSupportedException and re-throws an AggregateException
#endif
[Category("InetAccess")]
public void DownloadFileTaskAsync ()
{
WebClient wc = new WebClient ();
@ -96,6 +97,7 @@ namespace MonoTests.System.Net
[Test]
[Category ("NotWorking")] // Fails when ran as part of the entire BCL test suite. Works when only this fixture is ran
[Category("InetAccess")]
public void Cancellation ()
{
WebClient wc = new WebClient ();
@ -123,6 +125,7 @@ namespace MonoTests.System.Net
[Test]
[Category ("NotWorking")] // Fails when ran as part of the entire BCL test suite. Works when only this fixture is ran
[Category("InetAccess")]
public void DownloadMultiple ()
{
WebClient wc = new WebClient ();
@ -140,6 +143,7 @@ namespace MonoTests.System.Net
}
[Test]
[Category ("InetAccess")]
[Category ("NotWorking")] // Fails when ran as part of the entire BCL test suite. Works when only this fixture is ran
public void DownloadMultiple2 ()
{
@ -152,6 +156,7 @@ namespace MonoTests.System.Net
}
[Test]
[Category ("InetAccess")]
[Category ("NotWorking")] // Fails when ran as part of the entire BCL test suite. Works when only this fixture is ran
public void DownloadMultiple3 ()
{