Imported Upstream version 6.12.0.86

Former-commit-id: 7a84ce7d08c42c458ac8e74b27186ca863315d79
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2020-07-10 08:44:59 +00:00
parent 92747312ea
commit 0b380204a4
812 changed files with 26901 additions and 9053 deletions

View File

@@ -93,7 +93,7 @@ namespace MonoTests.System.Net.Sockets
}
[Test]
#if FEATURE_NO_BSD_SOCKETS
#if FEATURE_NO_BSD_SOCKETS && !WASM
[ExpectedException (typeof (PlatformNotSupportedException))]
#else
[ExpectedException (typeof (ArgumentNullException))]
@@ -104,7 +104,7 @@ namespace MonoTests.System.Net.Sockets
}
[Test]
#if FEATURE_NO_BSD_SOCKETS
#if FEATURE_NO_BSD_SOCKETS && !WASM
[ExpectedException (typeof (PlatformNotSupportedException))]
#else
[ExpectedException (typeof (ArgumentNullException))]
@@ -115,7 +115,7 @@ namespace MonoTests.System.Net.Sockets
}
[Test]
#if FEATURE_NO_BSD_SOCKETS
#if FEATURE_NO_BSD_SOCKETS && !WASM
[ExpectedException (typeof (PlatformNotSupportedException))]
#else
[ExpectedException (typeof (ArgumentOutOfRangeException))]

View File

@@ -95,7 +95,7 @@ namespace MonoTests.System.Net.Sockets {
}
[Test] // .ctor (AddressFamily)
#if FEATURE_NO_BSD_SOCKETS
#if FEATURE_NO_BSD_SOCKETS && !WASM
[ExpectedException (typeof (PlatformNotSupportedException))]
#endif
public void Constructor2_Family_Invalid ()
@@ -176,7 +176,7 @@ namespace MonoTests.System.Net.Sockets {
}
[Test] // .ctor (Int32)
#if FEATURE_NO_BSD_SOCKETS
#if FEATURE_NO_BSD_SOCKETS && !WASM
[ExpectedException (typeof (PlatformNotSupportedException))]
#endif
public void Constructor3_Port_OutOfRange ()
@@ -240,7 +240,7 @@ namespace MonoTests.System.Net.Sockets {
}
[Test] // .ctor (IPEndPoint)
#if FEATURE_NO_BSD_SOCKETS
#if FEATURE_NO_BSD_SOCKETS && !WASM
[ExpectedException (typeof (PlatformNotSupportedException))]
#endif
public void Constructor4_LocalEP_Null ()
@@ -313,7 +313,7 @@ namespace MonoTests.System.Net.Sockets {
}
[Test] // .ctor (Int32, AddressFamily)
#if FEATURE_NO_BSD_SOCKETS
#if FEATURE_NO_BSD_SOCKETS && !WASM
[ExpectedException (typeof (PlatformNotSupportedException))]
#endif
public void Constructor5_Family_Invalid ()
@@ -346,7 +346,7 @@ namespace MonoTests.System.Net.Sockets {
}
[Test] // .ctor (Int32, AddressFamily)
#if FEATURE_NO_BSD_SOCKETS
#if FEATURE_NO_BSD_SOCKETS && !WASM
[ExpectedException (typeof (PlatformNotSupportedException))]
#endif
public void Constructor5_Port_OutOfRange ()
@@ -426,7 +426,7 @@ namespace MonoTests.System.Net.Sockets {
}
[Test] // .ctor (String, Int32)
#if FEATURE_NO_BSD_SOCKETS
#if FEATURE_NO_BSD_SOCKETS && !WASM
[ExpectedException (typeof (PlatformNotSupportedException))]
#endif
public void Constructor6_HostName_Null ()
@@ -443,7 +443,7 @@ namespace MonoTests.System.Net.Sockets {
}
[Test] // .ctor (String, Int32)
#if FEATURE_NO_BSD_SOCKETS
#if FEATURE_NO_BSD_SOCKETS && !WASM
[ExpectedException (typeof (PlatformNotSupportedException))]
#endif
public void Constructor6_Port_OutOfRange ()