You've already forked linux-packaging-mono
Imported Upstream version 5.4.0.167
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
This commit is contained in:
parent
e49d6f06c0
commit
536cd135cc
@ -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");
|
||||
|
Reference in New Issue
Block a user