projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #3626 from lateralusX/jlorenss/win-api-family-support-eglib
[mono.git]
/
mcs
/
class
/
System
/
Test
/
System.Net
/
HttpListenerRequestTest.cs
diff --git
a/mcs/class/System/Test/System.Net/HttpListenerRequestTest.cs
b/mcs/class/System/Test/System.Net/HttpListenerRequestTest.cs
index c9227fd5b39dc09c6ce53f618c084c05d56b6b7f..d782103f33e33709321e1c7f2211d2b4fccf8a90 100644
(file)
--- a/
mcs/class/System/Test/System.Net/HttpListenerRequestTest.cs
+++ b/
mcs/class/System/Test/System.Net/HttpListenerRequestTest.cs
@@
-42,7
+42,6
@@
using MonoTests.Helpers;
namespace MonoTests.System.Net
{
[TestFixture]
namespace MonoTests.System.Net
{
[TestFixture]
- [Category ("RequiresBSDSockets")]
public class HttpListenerRequestTest
{
[Test]
public class HttpListenerRequestTest
{
[Test]
@@
-151,6
+150,9
@@
namespace MonoTests.System.Net
}
[Test]
}
[Test]
+#if FEATURE_NO_BSD_SOCKETS
+ [ExpectedException (typeof (PlatformNotSupportedException))]
+#endif
public void HttpMethod ()
{
var port = NetworkHelpers.FindFreePort ();
public void HttpMethod ()
{
var port = NetworkHelpers.FindFreePort ();
@@
-165,6
+167,9
@@
namespace MonoTests.System.Net
}
[Test]
}
[Test]
+#if FEATURE_NO_BSD_SOCKETS
+ [ExpectedException (typeof (PlatformNotSupportedException))]
+#endif
public void HttpBasicAuthScheme ()
{
var port = NetworkHelpers.FindFreePort ();
public void HttpBasicAuthScheme ()
{
var port = NetworkHelpers.FindFreePort ();
@@
-180,6
+185,9
@@
namespace MonoTests.System.Net
}
[Test]
}
[Test]
+#if FEATURE_NO_BSD_SOCKETS
+ [ExpectedException (typeof (PlatformNotSupportedException))]
+#endif
public void HttpRequestUriIsNotDecoded ()
{
var port = NetworkHelpers.FindFreePort ();
public void HttpRequestUriIsNotDecoded ()
{
var port = NetworkHelpers.FindFreePort ();
@@
-194,6
+202,9
@@
namespace MonoTests.System.Net
}
[Test]
}
[Test]
+#if FEATURE_NO_BSD_SOCKETS
+ [ExpectedException (typeof (PlatformNotSupportedException))]
+#endif
public void HttpRequestIsLocal ()
{
var port = NetworkHelpers.FindFreePort ();
public void HttpRequestIsLocal ()
{
var port = NetworkHelpers.FindFreePort ();
@@
-221,6
+232,9
@@
namespace MonoTests.System.Net
}
[Test] // #29927
}
[Test] // #29927
+#if FEATURE_NO_BSD_SOCKETS
+ [ExpectedException (typeof (PlatformNotSupportedException))]
+#endif
public void HttpRequestUriUnescape ()
{
var prefix = "http://localhost:" + NetworkHelpers.FindFreePort () + "/";
public void HttpRequestUriUnescape ()
{
var prefix = "http://localhost:" + NetworkHelpers.FindFreePort () + "/";