X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem%2FTest%2FSystem.Net%2FHttpListenerBasicIdentityTest.cs;h=f998592aad737a2a7ea47fc7fa32ec4d73401a3c;hb=8724ace98a8b9781eee5437e5a6c49ea5796db82;hp=4d8985a262d52550c6fe148b185ad247b7677cfc;hpb=4ea31227587b9df3a244d9c32a5a87a7afa70436;p=mono.git diff --git a/mcs/class/System/Test/System.Net/HttpListenerBasicIdentityTest.cs b/mcs/class/System/Test/System.Net/HttpListenerBasicIdentityTest.cs index 4d8985a262d..f998592aad7 100644 --- a/mcs/class/System/Test/System.Net/HttpListenerBasicIdentityTest.cs +++ b/mcs/class/System/Test/System.Net/HttpListenerBasicIdentityTest.cs @@ -37,12 +37,18 @@ namespace MonoTests.System.Net { [ExpectedException (typeof (ArgumentNullException))] public void Basic1 () { +#if MONOTOUCH_WATCH || __WATCHOS__ + Assert.Ignore ("HttpListenerBasicIdentity is not supported on watchOS"); +#endif HttpListenerBasicIdentity bi = new HttpListenerBasicIdentity (null, null); } [Test] public void Basic2 () { +#if MONOTOUCH_WATCH || __WATCHOS__ + Assert.Ignore ("HttpListenerBasicIdentity is not supported on watchOS"); +#endif HttpListenerBasicIdentity bi = new HttpListenerBasicIdentity ("", null); Assert.AreEqual ("Basic", bi.AuthenticationType, "#01"); Assert.AreEqual ("", bi.Name, "#02"); @@ -53,6 +59,9 @@ namespace MonoTests.System.Net { [Test] public void Basic3 () { +#if MONOTOUCH_WATCH || __WATCHOS__ + Assert.Ignore ("HttpListenerBasicIdentity is not supported on watchOS"); +#endif HttpListenerBasicIdentity bi = new HttpListenerBasicIdentity ("hey", null); Assert.AreEqual ("Basic", bi.AuthenticationType, "#01"); Assert.AreEqual ("hey", bi.Name, "#02"); @@ -63,6 +72,9 @@ namespace MonoTests.System.Net { [Test] public void Basic4 () { +#if MONOTOUCH_WATCH || __WATCHOS__ + Assert.Ignore ("HttpListenerBasicIdentity is not supported on watchOS"); +#endif HttpListenerBasicIdentity bi = new HttpListenerBasicIdentity ("hey", "pass"); Assert.AreEqual ("Basic", bi.AuthenticationType, "#01"); Assert.AreEqual ("hey", bi.Name, "#02");