Merge pull request #5194 from xmcclure/orbis-freeswept
[mono.git] / mcs / class / System / Test / System.Net / WebClientTestAsync.cs
index b23bb098217a6290775e0fe948805ca33d8d0999..205cb90a8dd7b3ece5cb9a7bb6d8998efeb32e2f 100644 (file)
@@ -26,7 +26,6 @@
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
-#if NET_4_5
 using System;
 using System.IO;
 using System.Collections.Generic;
@@ -43,6 +42,7 @@ namespace MonoTests.System.Net
        {
                [Test]
                [Category("Async")]
+               [Category("AndroidNotWorking")] // Attempts to access the test dll which won't work on Android
                public void DownloadData ()
                {
                        WebClient wc;
@@ -79,7 +79,6 @@ namespace MonoTests.System.Net
                }
 
                [Test]
-               [Category("InetAccess")]
                public void DownloadFileTaskAsync ()
                {
                        WebClient wc = new WebClient ();
@@ -93,7 +92,7 @@ namespace MonoTests.System.Net
                }
 
                [Test]
-               [Category("InetAccess")]
+               [Category ("NotWorking")] // Fails when ran as part of the entire BCL test suite. Works when only this fixture is ran
                public void Cancellation ()
                {
                        WebClient wc = new WebClient ();
@@ -120,7 +119,7 @@ namespace MonoTests.System.Net
                }
 
                [Test]
-               [Category("InetAccess")]
+               [Category ("NotWorking")] // Fails when ran as part of the entire BCL test suite. Works when only this fixture is ran
                public void DownloadMultiple ()
                {
                        WebClient wc = new WebClient ();
@@ -138,7 +137,7 @@ namespace MonoTests.System.Net
                }
 
                [Test]
-               [Category("InetAccess")]
+               [Category ("NotWorking")] // Fails when ran as part of the entire BCL test suite. Works when only this fixture is ran
                public void DownloadMultiple2 ()
                {
                        WebClient wc = new WebClient ();
@@ -150,7 +149,7 @@ namespace MonoTests.System.Net
                }
 
                [Test]
-               [Category("InetAccess")]
+               [Category ("NotWorking")] // Fails when ran as part of the entire BCL test suite. Works when only this fixture is ran
                public void DownloadMultiple3 ()
                {
                        WebClient wc = new WebClient ();
@@ -271,4 +270,3 @@ namespace MonoTests.System.Net
                }
        }
 }
-#endif