|
|
|
|
@@ -442,6 +442,7 @@ namespace MonoTests.System.Net
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
[Category ("MobileNotWorking")]
|
|
|
|
|
public void OpenReadTaskAsyncOnFile ()
|
|
|
|
|
{
|
|
|
|
|
var tmp = Path.GetTempFileName ();
|
|
|
|
|
@@ -449,6 +450,7 @@ namespace MonoTests.System.Net
|
|
|
|
|
|
|
|
|
|
var client = new WebClient ();
|
|
|
|
|
var task = client.OpenReadTaskAsync (url);
|
|
|
|
|
|
|
|
|
|
Assert.IsTrue (task.Wait (2000));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -1431,7 +1433,7 @@ namespace MonoTests.System.Net
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
[Category ("AndroidNotWorking")] // Fails when ran as part of the entire BCL test suite. Works when only this fixture is ran
|
|
|
|
|
[Category ("MobileNotWorking")] // Fails when ran as part of the entire BCL test suite. Works when only this fixture is ran
|
|
|
|
|
#if FEATURE_NO_BSD_SOCKETS
|
|
|
|
|
[ExpectedException (typeof (PlatformNotSupportedException))]
|
|
|
|
|
#endif
|
|
|
|
|
@@ -1805,7 +1807,7 @@ namespace MonoTests.System.Net
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
[Category ("AndroidNotWorking")] // Fails when ran as part of the entire BCL test suite. Works when only this fixture is ran
|
|
|
|
|
[Category ("MobileNotWorking")] // Fails when ran as part of the entire BCL test suite. Works when only this fixture is ran
|
|
|
|
|
#if FEATURE_NO_BSD_SOCKETS
|
|
|
|
|
[ExpectedException (typeof (PlatformNotSupportedException))]
|
|
|
|
|
#endif
|
|
|
|
|
@@ -1825,7 +1827,7 @@ namespace MonoTests.System.Net
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
[Category ("AndroidNotWorking")] // Fails when ran as part of the entire BCL test suite. Works when only this fixture is ran
|
|
|
|
|
[Category ("MobileNotWorking")] // Fails when ran as part of the entire BCL test suite. Works when only this fixture is ran
|
|
|
|
|
#if FEATURE_NO_BSD_SOCKETS
|
|
|
|
|
[ExpectedException (typeof (PlatformNotSupportedException))]
|
|
|
|
|
#endif
|
|
|
|
|
@@ -1844,7 +1846,7 @@ namespace MonoTests.System.Net
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
[Category ("AndroidNotWorking")] // Fails when ran as part of the entire BCL test suite. Works when only this fixture is ran
|
|
|
|
|
[Category ("MobileNotWorking")] // Fails when ran as part of the entire BCL test suite. Works when only this fixture is ran
|
|
|
|
|
#if FEATURE_NO_BSD_SOCKETS
|
|
|
|
|
[ExpectedException (typeof (PlatformNotSupportedException))]
|
|
|
|
|
#endif
|
|
|
|
|
@@ -1863,7 +1865,7 @@ namespace MonoTests.System.Net
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
[Category ("AndroidNotWorking")] // Fails when ran as part of the entire BCL test suite. Works when only this fixture is ran
|
|
|
|
|
[Category ("MobileNotWorking")] // Fails when ran as part of the entire BCL test suite. Works when only this fixture is ran
|
|
|
|
|
#if FEATURE_NO_BSD_SOCKETS
|
|
|
|
|
[ExpectedException (typeof (PlatformNotSupportedException))]
|
|
|
|
|
#endif
|
|
|
|
|
@@ -1885,7 +1887,7 @@ namespace MonoTests.System.Net
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
[Category ("AndroidNotWorking")] // Test suite hangs if the tests runs as part of the entire BCL suite. Works when only this fixture is ran
|
|
|
|
|
[Category ("MobileNotWorking")] // Test suite hangs if the tests runs as part of the entire BCL suite. Works when only this fixture is ran
|
|
|
|
|
#if FEATURE_NO_BSD_SOCKETS
|
|
|
|
|
[ExpectedException (typeof (PlatformNotSupportedException))]
|
|
|
|
|
#endif
|
|
|
|
|
|